1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 #[cfg(feature = "UI_Xaml_Media_Animation")] 3 pub mod Animation; 4 #[cfg(feature = "UI_Xaml_Media_Imaging")] 5 pub mod Imaging; 6 #[cfg(feature = "UI_Xaml_Media_Media3D")] 7 pub mod Media3D; 8 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 9 #[repr(transparent)] 10 pub struct AcrylicBackgroundSource(pub i32); 11 impl AcrylicBackgroundSource { 12 pub const HostBackdrop: AcrylicBackgroundSource = AcrylicBackgroundSource(0i32); 13 pub const Backdrop: AcrylicBackgroundSource = AcrylicBackgroundSource(1i32); 14 } 15 impl ::std::convert::From<i32> for AcrylicBackgroundSource { from(value: i32) -> Self16 fn from(value: i32) -> Self { 17 Self(value) 18 } 19 } 20 unsafe impl ::windows::runtime::Abi for AcrylicBackgroundSource { 21 type Abi = Self; 22 type DefaultType = Self; 23 } 24 unsafe impl ::windows::runtime::RuntimeType for AcrylicBackgroundSource { 25 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.AcrylicBackgroundSource;i4)"); 26 } 27 #[repr(transparent)] 28 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 29 pub struct AcrylicBrush(::windows::runtime::IInspectable); 30 impl AcrylicBrush { BackgroundSource(&self) -> ::windows::runtime::Result<AcrylicBackgroundSource>31 pub fn BackgroundSource(&self) -> ::windows::runtime::Result<AcrylicBackgroundSource> { 32 let this = self; 33 unsafe { 34 let mut result__: AcrylicBackgroundSource = ::std::mem::zeroed(); 35 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<AcrylicBackgroundSource>(result__) 36 } 37 } SetBackgroundSource(&self, value: AcrylicBackgroundSource) -> ::windows::runtime::Result<()>38 pub fn SetBackgroundSource(&self, value: AcrylicBackgroundSource) -> ::windows::runtime::Result<()> { 39 let this = self; 40 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 41 } TintColor(&self) -> ::windows::runtime::Result<super::super::Color>42 pub fn TintColor(&self) -> ::windows::runtime::Result<super::super::Color> { 43 let this = self; 44 unsafe { 45 let mut result__: super::super::Color = ::std::mem::zeroed(); 46 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Color>(result__) 47 } 48 } SetTintColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()>49 pub fn SetTintColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 50 let this = self; 51 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 52 } TintOpacity(&self) -> ::windows::runtime::Result<f64>53 pub fn TintOpacity(&self) -> ::windows::runtime::Result<f64> { 54 let this = self; 55 unsafe { 56 let mut result__: f64 = ::std::mem::zeroed(); 57 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 58 } 59 } SetTintOpacity(&self, value: f64) -> ::windows::runtime::Result<()>60 pub fn SetTintOpacity(&self, value: f64) -> ::windows::runtime::Result<()> { 61 let this = self; 62 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value).ok() } 63 } 64 #[cfg(feature = "Foundation")] TintTransitionDuration(&self) -> ::windows::runtime::Result<super::super::super::Foundation::TimeSpan>65 pub fn TintTransitionDuration(&self) -> ::windows::runtime::Result<super::super::super::Foundation::TimeSpan> { 66 let this = self; 67 unsafe { 68 let mut result__: super::super::super::Foundation::TimeSpan = ::std::mem::zeroed(); 69 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::TimeSpan>(result__) 70 } 71 } 72 #[cfg(feature = "Foundation")] SetTintTransitionDuration<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TimeSpan>>(&self, value: Param0) -> ::windows::runtime::Result<()>73 pub fn SetTintTransitionDuration<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::TimeSpan>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 74 let this = self; 75 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 76 } AlwaysUseFallback(&self) -> ::windows::runtime::Result<bool>77 pub fn AlwaysUseFallback(&self) -> ::windows::runtime::Result<bool> { 78 let this = self; 79 unsafe { 80 let mut result__: bool = ::std::mem::zeroed(); 81 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 82 } 83 } SetAlwaysUseFallback(&self, value: bool) -> ::windows::runtime::Result<()>84 pub fn SetAlwaysUseFallback(&self, value: bool) -> ::windows::runtime::Result<()> { 85 let this = self; 86 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), value).ok() } 87 } BackgroundSourceProperty() -> ::windows::runtime::Result<super::DependencyProperty>88 pub fn BackgroundSourceProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 89 Self::IAcrylicBrushStatics(|this| unsafe { 90 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 91 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 92 }) 93 } TintColorProperty() -> ::windows::runtime::Result<super::DependencyProperty>94 pub fn TintColorProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 95 Self::IAcrylicBrushStatics(|this| unsafe { 96 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 97 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 98 }) 99 } TintOpacityProperty() -> ::windows::runtime::Result<super::DependencyProperty>100 pub fn TintOpacityProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 101 Self::IAcrylicBrushStatics(|this| unsafe { 102 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 103 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 104 }) 105 } TintTransitionDurationProperty() -> ::windows::runtime::Result<super::DependencyProperty>106 pub fn TintTransitionDurationProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 107 Self::IAcrylicBrushStatics(|this| unsafe { 108 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 109 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 110 }) 111 } AlwaysUseFallbackProperty() -> ::windows::runtime::Result<super::DependencyProperty>112 pub fn AlwaysUseFallbackProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 113 Self::IAcrylicBrushStatics(|this| unsafe { 114 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 115 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 116 }) 117 } new() -> ::windows::runtime::Result<AcrylicBrush>118 pub fn new() -> ::windows::runtime::Result<AcrylicBrush> { 119 Self::IAcrylicBrushFactory(|this| unsafe { 120 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 121 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), ::std::ptr::null_mut(), &mut ::std::option::Option::<::windows::runtime::IInspectable>::None as *mut _ as _, &mut result__).from_abi::<AcrylicBrush>(result__) 122 }) 123 } 124 #[cfg(feature = "Foundation")] TintLuminosityOpacity(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IReference<f64>>125 pub fn TintLuminosityOpacity(&self) -> ::windows::runtime::Result<super::super::super::Foundation::IReference<f64>> { 126 let this = &::windows::runtime::Interface::cast::<IAcrylicBrush2>(self)?; 127 unsafe { 128 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 129 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::IReference<f64>>(result__) 130 } 131 } 132 #[cfg(feature = "Foundation")] SetTintLuminosityOpacity<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::IReference<f64>>>(&self, value: Param0) -> ::windows::runtime::Result<()>133 pub fn SetTintLuminosityOpacity<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::IReference<f64>>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 134 let this = &::windows::runtime::Interface::cast::<IAcrylicBrush2>(self)?; 135 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 136 } TintLuminosityOpacityProperty() -> ::windows::runtime::Result<super::DependencyProperty>137 pub fn TintLuminosityOpacityProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 138 Self::IAcrylicBrushStatics2(|this| unsafe { 139 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 140 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 141 }) 142 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>143 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 144 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 145 unsafe { 146 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 147 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 148 } 149 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>150 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 151 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 152 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 153 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>154 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 155 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 156 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 157 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>158 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 159 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 160 unsafe { 161 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 162 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 163 } 164 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>165 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 166 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 167 unsafe { 168 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 169 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 170 } 171 } 172 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>173 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 174 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 175 unsafe { 176 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 177 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 178 } 179 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>180 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 181 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 182 unsafe { 183 let mut result__: i64 = ::std::mem::zeroed(); 184 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 185 } 186 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>187 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 188 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 189 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 190 } Opacity(&self) -> ::windows::runtime::Result<f64>191 pub fn Opacity(&self) -> ::windows::runtime::Result<f64> { 192 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 193 unsafe { 194 let mut result__: f64 = ::std::mem::zeroed(); 195 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 196 } 197 } SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()>198 pub fn SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()> { 199 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 200 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 201 } Transform(&self) -> ::windows::runtime::Result<Transform>202 pub fn Transform(&self) -> ::windows::runtime::Result<Transform> { 203 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 204 unsafe { 205 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 206 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 207 } 208 } SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>209 pub fn SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 210 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 211 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 212 } RelativeTransform(&self) -> ::windows::runtime::Result<Transform>213 pub fn RelativeTransform(&self) -> ::windows::runtime::Result<Transform> { 214 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 215 unsafe { 216 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 217 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 218 } 219 } SetRelativeTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>220 pub fn SetRelativeTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 221 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 222 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 223 } FallbackColor(&self) -> ::windows::runtime::Result<super::super::Color>224 pub fn FallbackColor(&self) -> ::windows::runtime::Result<super::super::Color> { 225 let this = &::windows::runtime::Interface::cast::<IXamlCompositionBrushBase>(self)?; 226 unsafe { 227 let mut result__: super::super::Color = ::std::mem::zeroed(); 228 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Color>(result__) 229 } 230 } SetFallbackColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()>231 pub fn SetFallbackColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 232 let this = &::windows::runtime::Interface::cast::<IXamlCompositionBrushBase>(self)?; 233 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 234 } 235 #[cfg(feature = "UI_Composition")] CompositionBrush(&self) -> ::windows::runtime::Result<super::super::Composition::CompositionBrush>236 pub fn CompositionBrush(&self) -> ::windows::runtime::Result<super::super::Composition::CompositionBrush> { 237 let this = &::windows::runtime::Interface::cast::<IXamlCompositionBrushBaseProtected>(self)?; 238 unsafe { 239 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 240 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Composition::CompositionBrush>(result__) 241 } 242 } 243 #[cfg(feature = "UI_Composition")] SetCompositionBrush<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Composition::CompositionBrush>>(&self, value: Param0) -> ::windows::runtime::Result<()>244 pub fn SetCompositionBrush<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Composition::CompositionBrush>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 245 let this = &::windows::runtime::Interface::cast::<IXamlCompositionBrushBaseProtected>(self)?; 246 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 247 } OnConnected(&self) -> ::windows::runtime::Result<()>248 pub fn OnConnected(&self) -> ::windows::runtime::Result<()> { 249 let this = &::windows::runtime::Interface::cast::<IXamlCompositionBrushBaseOverrides>(self)?; 250 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this)).ok() } 251 } OnDisconnected(&self) -> ::windows::runtime::Result<()>252 pub fn OnDisconnected(&self) -> ::windows::runtime::Result<()> { 253 let this = &::windows::runtime::Interface::cast::<IXamlCompositionBrushBaseOverrides>(self)?; 254 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this)).ok() } 255 } 256 #[cfg(feature = "UI_Composition")] PopulatePropertyInfo<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, propertyinfo: Param1) -> ::windows::runtime::Result<()>257 pub fn PopulatePropertyInfo<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, propertyinfo: Param1) -> ::windows::runtime::Result<()> { 258 let this = &::windows::runtime::Interface::cast::<super::super::Composition::IAnimationObject>(self)?; 259 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), propertyname.into_param().abi(), propertyinfo.into_param().abi()).ok() } 260 } 261 #[cfg(feature = "UI_Composition")] PopulatePropertyInfoOverride<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, animationpropertyinfo: Param1) -> ::windows::runtime::Result<()>262 pub fn PopulatePropertyInfoOverride<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, animationpropertyinfo: Param1) -> ::windows::runtime::Result<()> { 263 let this = &::windows::runtime::Interface::cast::<IBrushOverrides2>(self)?; 264 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), propertyname.into_param().abi(), animationpropertyinfo.into_param().abi()).ok() } 265 } IAcrylicBrushStatics<R, F: FnOnce(&IAcrylicBrushStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>266 pub fn IAcrylicBrushStatics<R, F: FnOnce(&IAcrylicBrushStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 267 static mut SHARED: ::windows::runtime::FactoryCache<AcrylicBrush, IAcrylicBrushStatics> = ::windows::runtime::FactoryCache::new(); 268 unsafe { SHARED.call(callback) } 269 } IAcrylicBrushFactory<R, F: FnOnce(&IAcrylicBrushFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>270 pub fn IAcrylicBrushFactory<R, F: FnOnce(&IAcrylicBrushFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 271 static mut SHARED: ::windows::runtime::FactoryCache<AcrylicBrush, IAcrylicBrushFactory> = ::windows::runtime::FactoryCache::new(); 272 unsafe { SHARED.call(callback) } 273 } IAcrylicBrushStatics2<R, F: FnOnce(&IAcrylicBrushStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>274 pub fn IAcrylicBrushStatics2<R, F: FnOnce(&IAcrylicBrushStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 275 static mut SHARED: ::windows::runtime::FactoryCache<AcrylicBrush, IAcrylicBrushStatics2> = ::windows::runtime::FactoryCache::new(); 276 unsafe { SHARED.call(callback) } 277 } 278 } 279 unsafe impl ::windows::runtime::RuntimeType for AcrylicBrush { 280 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.AcrylicBrush;{79bbcf4e-cd66-4f1b-a8b6-cd6d2977c18d})"); 281 } 282 unsafe impl ::windows::runtime::Interface for AcrylicBrush { 283 type Vtable = IAcrylicBrush_abi; 284 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2042351438, 52582, 20251, [168, 182, 205, 109, 41, 119, 193, 141]); 285 } 286 impl ::windows::runtime::RuntimeName for AcrylicBrush { 287 const NAME: &'static str = "Windows.UI.Xaml.Media.AcrylicBrush"; 288 } 289 impl ::std::convert::From<AcrylicBrush> for ::windows::runtime::IUnknown { from(value: AcrylicBrush) -> Self290 fn from(value: AcrylicBrush) -> Self { 291 unsafe { ::std::mem::transmute(value) } 292 } 293 } 294 impl ::std::convert::From<&AcrylicBrush> for ::windows::runtime::IUnknown { from(value: &AcrylicBrush) -> Self295 fn from(value: &AcrylicBrush) -> Self { 296 ::std::convert::From::from(::std::clone::Clone::clone(value)) 297 } 298 } 299 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>300 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 301 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 302 } 303 } 304 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>305 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 306 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 307 } 308 } 309 impl ::std::convert::From<AcrylicBrush> for ::windows::runtime::IInspectable { from(value: AcrylicBrush) -> Self310 fn from(value: AcrylicBrush) -> Self { 311 value.0 312 } 313 } 314 impl ::std::convert::From<&AcrylicBrush> for ::windows::runtime::IInspectable { from(value: &AcrylicBrush) -> Self315 fn from(value: &AcrylicBrush) -> Self { 316 value.0.clone() 317 } 318 } 319 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>320 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 321 ::windows::runtime::Param::Owned(self.0) 322 } 323 } 324 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>325 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 326 ::windows::runtime::Param::Borrowed(&self.0) 327 } 328 } 329 #[cfg(feature = "UI_Composition")] 330 impl ::std::convert::TryFrom<AcrylicBrush> for super::super::Composition::IAnimationObject { 331 type Error = ::windows::runtime::Error; try_from(value: AcrylicBrush) -> ::windows::runtime::Result<Self>332 fn try_from(value: AcrylicBrush) -> ::windows::runtime::Result<Self> { 333 ::std::convert::TryFrom::try_from(&value) 334 } 335 } 336 #[cfg(feature = "UI_Composition")] 337 impl ::std::convert::TryFrom<&AcrylicBrush> for super::super::Composition::IAnimationObject { 338 type Error = ::windows::runtime::Error; try_from(value: &AcrylicBrush) -> ::windows::runtime::Result<Self>339 fn try_from(value: &AcrylicBrush) -> ::windows::runtime::Result<Self> { 340 ::windows::runtime::Interface::cast(value) 341 } 342 } 343 #[cfg(feature = "UI_Composition")] 344 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Composition::IAnimationObject> for AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject>345 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject> { 346 ::windows::runtime::IntoParam::into_param(&self) 347 } 348 } 349 #[cfg(feature = "UI_Composition")] 350 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Composition::IAnimationObject> for &AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject>351 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject> { 352 ::std::convert::TryInto::<super::super::Composition::IAnimationObject>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 353 } 354 } 355 impl ::std::convert::From<AcrylicBrush> for XamlCompositionBrushBase { from(value: AcrylicBrush) -> Self356 fn from(value: AcrylicBrush) -> Self { 357 ::std::convert::Into::<XamlCompositionBrushBase>::into(&value) 358 } 359 } 360 impl ::std::convert::From<&AcrylicBrush> for XamlCompositionBrushBase { from(value: &AcrylicBrush) -> Self361 fn from(value: &AcrylicBrush) -> Self { 362 ::windows::runtime::Interface::cast(value).unwrap() 363 } 364 } 365 impl<'a> ::windows::runtime::IntoParam<'a, XamlCompositionBrushBase> for AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, XamlCompositionBrushBase>366 fn into_param(self) -> ::windows::runtime::Param<'a, XamlCompositionBrushBase> { 367 ::windows::runtime::Param::Owned(::std::convert::Into::<XamlCompositionBrushBase>::into(self)) 368 } 369 } 370 impl<'a> ::windows::runtime::IntoParam<'a, XamlCompositionBrushBase> for &AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, XamlCompositionBrushBase>371 fn into_param(self) -> ::windows::runtime::Param<'a, XamlCompositionBrushBase> { 372 ::windows::runtime::Param::Owned(::std::convert::Into::<XamlCompositionBrushBase>::into(::std::clone::Clone::clone(self))) 373 } 374 } 375 impl ::std::convert::From<AcrylicBrush> for Brush { from(value: AcrylicBrush) -> Self376 fn from(value: AcrylicBrush) -> Self { 377 ::std::convert::Into::<Brush>::into(&value) 378 } 379 } 380 impl ::std::convert::From<&AcrylicBrush> for Brush { from(value: &AcrylicBrush) -> Self381 fn from(value: &AcrylicBrush) -> Self { 382 ::windows::runtime::Interface::cast(value).unwrap() 383 } 384 } 385 impl<'a> ::windows::runtime::IntoParam<'a, Brush> for AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, Brush>386 fn into_param(self) -> ::windows::runtime::Param<'a, Brush> { 387 ::windows::runtime::Param::Owned(::std::convert::Into::<Brush>::into(self)) 388 } 389 } 390 impl<'a> ::windows::runtime::IntoParam<'a, Brush> for &AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, Brush>391 fn into_param(self) -> ::windows::runtime::Param<'a, Brush> { 392 ::windows::runtime::Param::Owned(::std::convert::Into::<Brush>::into(::std::clone::Clone::clone(self))) 393 } 394 } 395 impl ::std::convert::From<AcrylicBrush> for super::DependencyObject { from(value: AcrylicBrush) -> Self396 fn from(value: AcrylicBrush) -> Self { 397 ::std::convert::Into::<super::DependencyObject>::into(&value) 398 } 399 } 400 impl ::std::convert::From<&AcrylicBrush> for super::DependencyObject { from(value: &AcrylicBrush) -> Self401 fn from(value: &AcrylicBrush) -> Self { 402 ::windows::runtime::Interface::cast(value).unwrap() 403 } 404 } 405 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>406 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 407 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 408 } 409 } 410 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &AcrylicBrush { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>411 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 412 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 413 } 414 } 415 unsafe impl ::std::marker::Send for AcrylicBrush {} 416 unsafe impl ::std::marker::Sync for AcrylicBrush {} 417 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 418 #[repr(transparent)] 419 pub struct AlignmentX(pub i32); 420 impl AlignmentX { 421 pub const Left: AlignmentX = AlignmentX(0i32); 422 pub const Center: AlignmentX = AlignmentX(1i32); 423 pub const Right: AlignmentX = AlignmentX(2i32); 424 } 425 impl ::std::convert::From<i32> for AlignmentX { from(value: i32) -> Self426 fn from(value: i32) -> Self { 427 Self(value) 428 } 429 } 430 unsafe impl ::windows::runtime::Abi for AlignmentX { 431 type Abi = Self; 432 type DefaultType = Self; 433 } 434 unsafe impl ::windows::runtime::RuntimeType for AlignmentX { 435 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.AlignmentX;i4)"); 436 } 437 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 438 #[repr(transparent)] 439 pub struct AlignmentY(pub i32); 440 impl AlignmentY { 441 pub const Top: AlignmentY = AlignmentY(0i32); 442 pub const Center: AlignmentY = AlignmentY(1i32); 443 pub const Bottom: AlignmentY = AlignmentY(2i32); 444 } 445 impl ::std::convert::From<i32> for AlignmentY { from(value: i32) -> Self446 fn from(value: i32) -> Self { 447 Self(value) 448 } 449 } 450 unsafe impl ::windows::runtime::Abi for AlignmentY { 451 type Abi = Self; 452 type DefaultType = Self; 453 } 454 unsafe impl ::windows::runtime::RuntimeType for AlignmentY { 455 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.AlignmentY;i4)"); 456 } 457 #[repr(transparent)] 458 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 459 pub struct ArcSegment(::windows::runtime::IInspectable); 460 impl ArcSegment { new() -> ::windows::runtime::Result<Self>461 pub fn new() -> ::windows::runtime::Result<Self> { 462 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 463 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>464 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 465 static mut SHARED: ::windows::runtime::FactoryCache<ArcSegment, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 466 unsafe { SHARED.call(callback) } 467 } 468 #[cfg(feature = "Foundation")] Point(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point>469 pub fn Point(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point> { 470 let this = self; 471 unsafe { 472 let mut result__: super::super::super::Foundation::Point = ::std::mem::zeroed(); 473 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Point>(result__) 474 } 475 } 476 #[cfg(feature = "Foundation")] SetPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()>477 pub fn SetPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 478 let this = self; 479 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 480 } 481 #[cfg(feature = "Foundation")] Size(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Size>482 pub fn Size(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Size> { 483 let this = self; 484 unsafe { 485 let mut result__: super::super::super::Foundation::Size = ::std::mem::zeroed(); 486 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Size>(result__) 487 } 488 } 489 #[cfg(feature = "Foundation")] SetSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Size>>(&self, value: Param0) -> ::windows::runtime::Result<()>490 pub fn SetSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Size>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 491 let this = self; 492 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 493 } RotationAngle(&self) -> ::windows::runtime::Result<f64>494 pub fn RotationAngle(&self) -> ::windows::runtime::Result<f64> { 495 let this = self; 496 unsafe { 497 let mut result__: f64 = ::std::mem::zeroed(); 498 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 499 } 500 } SetRotationAngle(&self, value: f64) -> ::windows::runtime::Result<()>501 pub fn SetRotationAngle(&self, value: f64) -> ::windows::runtime::Result<()> { 502 let this = self; 503 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value).ok() } 504 } IsLargeArc(&self) -> ::windows::runtime::Result<bool>505 pub fn IsLargeArc(&self) -> ::windows::runtime::Result<bool> { 506 let this = self; 507 unsafe { 508 let mut result__: bool = ::std::mem::zeroed(); 509 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<bool>(result__) 510 } 511 } SetIsLargeArc(&self, value: bool) -> ::windows::runtime::Result<()>512 pub fn SetIsLargeArc(&self, value: bool) -> ::windows::runtime::Result<()> { 513 let this = self; 514 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value).ok() } 515 } SweepDirection(&self) -> ::windows::runtime::Result<SweepDirection>516 pub fn SweepDirection(&self) -> ::windows::runtime::Result<SweepDirection> { 517 let this = self; 518 unsafe { 519 let mut result__: SweepDirection = ::std::mem::zeroed(); 520 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<SweepDirection>(result__) 521 } 522 } SetSweepDirection(&self, value: SweepDirection) -> ::windows::runtime::Result<()>523 pub fn SetSweepDirection(&self, value: SweepDirection) -> ::windows::runtime::Result<()> { 524 let this = self; 525 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), value).ok() } 526 } PointProperty() -> ::windows::runtime::Result<super::DependencyProperty>527 pub fn PointProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 528 Self::IArcSegmentStatics(|this| unsafe { 529 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 530 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 531 }) 532 } SizeProperty() -> ::windows::runtime::Result<super::DependencyProperty>533 pub fn SizeProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 534 Self::IArcSegmentStatics(|this| unsafe { 535 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 536 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 537 }) 538 } RotationAngleProperty() -> ::windows::runtime::Result<super::DependencyProperty>539 pub fn RotationAngleProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 540 Self::IArcSegmentStatics(|this| unsafe { 541 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 542 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 543 }) 544 } IsLargeArcProperty() -> ::windows::runtime::Result<super::DependencyProperty>545 pub fn IsLargeArcProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 546 Self::IArcSegmentStatics(|this| unsafe { 547 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 548 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 549 }) 550 } SweepDirectionProperty() -> ::windows::runtime::Result<super::DependencyProperty>551 pub fn SweepDirectionProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 552 Self::IArcSegmentStatics(|this| unsafe { 553 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 554 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 555 }) 556 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>557 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 558 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 559 unsafe { 560 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 561 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 562 } 563 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>564 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 565 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 566 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 567 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>568 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 569 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 570 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 571 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>572 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 573 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 574 unsafe { 575 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 576 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 577 } 578 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>579 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 580 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 581 unsafe { 582 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 583 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 584 } 585 } 586 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>587 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 588 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 589 unsafe { 590 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 591 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 592 } 593 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>594 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 595 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 596 unsafe { 597 let mut result__: i64 = ::std::mem::zeroed(); 598 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 599 } 600 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>601 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 602 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 603 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 604 } IArcSegmentStatics<R, F: FnOnce(&IArcSegmentStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>605 pub fn IArcSegmentStatics<R, F: FnOnce(&IArcSegmentStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 606 static mut SHARED: ::windows::runtime::FactoryCache<ArcSegment, IArcSegmentStatics> = ::windows::runtime::FactoryCache::new(); 607 unsafe { SHARED.call(callback) } 608 } 609 } 610 unsafe impl ::windows::runtime::RuntimeType for ArcSegment { 611 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.ArcSegment;{07940c5f-63fb-4469-91be-f1097c168052})"); 612 } 613 unsafe impl ::windows::runtime::Interface for ArcSegment { 614 type Vtable = IArcSegment_abi; 615 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(127143007, 25595, 17513, [145, 190, 241, 9, 124, 22, 128, 82]); 616 } 617 impl ::windows::runtime::RuntimeName for ArcSegment { 618 const NAME: &'static str = "Windows.UI.Xaml.Media.ArcSegment"; 619 } 620 impl ::std::convert::From<ArcSegment> for ::windows::runtime::IUnknown { from(value: ArcSegment) -> Self621 fn from(value: ArcSegment) -> Self { 622 unsafe { ::std::mem::transmute(value) } 623 } 624 } 625 impl ::std::convert::From<&ArcSegment> for ::windows::runtime::IUnknown { from(value: &ArcSegment) -> Self626 fn from(value: &ArcSegment) -> Self { 627 ::std::convert::From::from(::std::clone::Clone::clone(value)) 628 } 629 } 630 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>631 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 632 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 633 } 634 } 635 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>636 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 637 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 638 } 639 } 640 impl ::std::convert::From<ArcSegment> for ::windows::runtime::IInspectable { from(value: ArcSegment) -> Self641 fn from(value: ArcSegment) -> Self { 642 value.0 643 } 644 } 645 impl ::std::convert::From<&ArcSegment> for ::windows::runtime::IInspectable { from(value: &ArcSegment) -> Self646 fn from(value: &ArcSegment) -> Self { 647 value.0.clone() 648 } 649 } 650 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>651 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 652 ::windows::runtime::Param::Owned(self.0) 653 } 654 } 655 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>656 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 657 ::windows::runtime::Param::Borrowed(&self.0) 658 } 659 } 660 impl ::std::convert::From<ArcSegment> for PathSegment { from(value: ArcSegment) -> Self661 fn from(value: ArcSegment) -> Self { 662 ::std::convert::Into::<PathSegment>::into(&value) 663 } 664 } 665 impl ::std::convert::From<&ArcSegment> for PathSegment { from(value: &ArcSegment) -> Self666 fn from(value: &ArcSegment) -> Self { 667 ::windows::runtime::Interface::cast(value).unwrap() 668 } 669 } 670 impl<'a> ::windows::runtime::IntoParam<'a, PathSegment> for ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, PathSegment>671 fn into_param(self) -> ::windows::runtime::Param<'a, PathSegment> { 672 ::windows::runtime::Param::Owned(::std::convert::Into::<PathSegment>::into(self)) 673 } 674 } 675 impl<'a> ::windows::runtime::IntoParam<'a, PathSegment> for &ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, PathSegment>676 fn into_param(self) -> ::windows::runtime::Param<'a, PathSegment> { 677 ::windows::runtime::Param::Owned(::std::convert::Into::<PathSegment>::into(::std::clone::Clone::clone(self))) 678 } 679 } 680 impl ::std::convert::From<ArcSegment> for super::DependencyObject { from(value: ArcSegment) -> Self681 fn from(value: ArcSegment) -> Self { 682 ::std::convert::Into::<super::DependencyObject>::into(&value) 683 } 684 } 685 impl ::std::convert::From<&ArcSegment> for super::DependencyObject { from(value: &ArcSegment) -> Self686 fn from(value: &ArcSegment) -> Self { 687 ::windows::runtime::Interface::cast(value).unwrap() 688 } 689 } 690 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>691 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 692 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 693 } 694 } 695 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &ArcSegment { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>696 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 697 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 698 } 699 } 700 unsafe impl ::std::marker::Send for ArcSegment {} 701 unsafe impl ::std::marker::Sync for ArcSegment {} 702 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 703 #[repr(transparent)] 704 pub struct AudioCategory(pub i32); 705 impl AudioCategory { 706 pub const Other: AudioCategory = AudioCategory(0i32); 707 pub const ForegroundOnlyMedia: AudioCategory = AudioCategory(1i32); 708 pub const BackgroundCapableMedia: AudioCategory = AudioCategory(2i32); 709 pub const Communications: AudioCategory = AudioCategory(3i32); 710 pub const Alerts: AudioCategory = AudioCategory(4i32); 711 pub const SoundEffects: AudioCategory = AudioCategory(5i32); 712 pub const GameEffects: AudioCategory = AudioCategory(6i32); 713 pub const GameMedia: AudioCategory = AudioCategory(7i32); 714 pub const GameChat: AudioCategory = AudioCategory(8i32); 715 pub const Speech: AudioCategory = AudioCategory(9i32); 716 pub const Movie: AudioCategory = AudioCategory(10i32); 717 pub const Media: AudioCategory = AudioCategory(11i32); 718 } 719 impl ::std::convert::From<i32> for AudioCategory { from(value: i32) -> Self720 fn from(value: i32) -> Self { 721 Self(value) 722 } 723 } 724 unsafe impl ::windows::runtime::Abi for AudioCategory { 725 type Abi = Self; 726 type DefaultType = Self; 727 } 728 unsafe impl ::windows::runtime::RuntimeType for AudioCategory { 729 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.AudioCategory;i4)"); 730 } 731 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 732 #[repr(transparent)] 733 pub struct AudioDeviceType(pub i32); 734 impl AudioDeviceType { 735 pub const Console: AudioDeviceType = AudioDeviceType(0i32); 736 pub const Multimedia: AudioDeviceType = AudioDeviceType(1i32); 737 pub const Communications: AudioDeviceType = AudioDeviceType(2i32); 738 } 739 impl ::std::convert::From<i32> for AudioDeviceType { from(value: i32) -> Self740 fn from(value: i32) -> Self { 741 Self(value) 742 } 743 } 744 unsafe impl ::windows::runtime::Abi for AudioDeviceType { 745 type Abi = Self; 746 type DefaultType = Self; 747 } 748 unsafe impl ::windows::runtime::RuntimeType for AudioDeviceType { 749 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.AudioDeviceType;i4)"); 750 } 751 #[repr(transparent)] 752 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 753 pub struct BezierSegment(::windows::runtime::IInspectable); 754 impl BezierSegment { new() -> ::windows::runtime::Result<Self>755 pub fn new() -> ::windows::runtime::Result<Self> { 756 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 757 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>758 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 759 static mut SHARED: ::windows::runtime::FactoryCache<BezierSegment, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 760 unsafe { SHARED.call(callback) } 761 } 762 #[cfg(feature = "Foundation")] Point1(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point>763 pub fn Point1(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point> { 764 let this = self; 765 unsafe { 766 let mut result__: super::super::super::Foundation::Point = ::std::mem::zeroed(); 767 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Point>(result__) 768 } 769 } 770 #[cfg(feature = "Foundation")] SetPoint1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()>771 pub fn SetPoint1<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 772 let this = self; 773 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 774 } 775 #[cfg(feature = "Foundation")] Point2(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point>776 pub fn Point2(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point> { 777 let this = self; 778 unsafe { 779 let mut result__: super::super::super::Foundation::Point = ::std::mem::zeroed(); 780 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Point>(result__) 781 } 782 } 783 #[cfg(feature = "Foundation")] SetPoint2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()>784 pub fn SetPoint2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 785 let this = self; 786 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 787 } 788 #[cfg(feature = "Foundation")] Point3(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point>789 pub fn Point3(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point> { 790 let this = self; 791 unsafe { 792 let mut result__: super::super::super::Foundation::Point = ::std::mem::zeroed(); 793 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Point>(result__) 794 } 795 } 796 #[cfg(feature = "Foundation")] SetPoint3<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()>797 pub fn SetPoint3<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 798 let this = self; 799 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 800 } Point1Property() -> ::windows::runtime::Result<super::DependencyProperty>801 pub fn Point1Property() -> ::windows::runtime::Result<super::DependencyProperty> { 802 Self::IBezierSegmentStatics(|this| unsafe { 803 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 804 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 805 }) 806 } Point2Property() -> ::windows::runtime::Result<super::DependencyProperty>807 pub fn Point2Property() -> ::windows::runtime::Result<super::DependencyProperty> { 808 Self::IBezierSegmentStatics(|this| unsafe { 809 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 810 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 811 }) 812 } Point3Property() -> ::windows::runtime::Result<super::DependencyProperty>813 pub fn Point3Property() -> ::windows::runtime::Result<super::DependencyProperty> { 814 Self::IBezierSegmentStatics(|this| unsafe { 815 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 816 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 817 }) 818 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>819 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 820 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 821 unsafe { 822 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 823 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 824 } 825 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>826 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 827 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 828 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 829 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>830 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 831 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 832 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 833 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>834 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 835 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 836 unsafe { 837 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 838 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 839 } 840 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>841 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 842 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 843 unsafe { 844 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 845 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 846 } 847 } 848 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>849 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 850 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 851 unsafe { 852 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 853 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 854 } 855 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>856 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 857 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 858 unsafe { 859 let mut result__: i64 = ::std::mem::zeroed(); 860 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 861 } 862 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>863 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 864 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 865 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 866 } IBezierSegmentStatics<R, F: FnOnce(&IBezierSegmentStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>867 pub fn IBezierSegmentStatics<R, F: FnOnce(&IBezierSegmentStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 868 static mut SHARED: ::windows::runtime::FactoryCache<BezierSegment, IBezierSegmentStatics> = ::windows::runtime::FactoryCache::new(); 869 unsafe { SHARED.call(callback) } 870 } 871 } 872 unsafe impl ::windows::runtime::RuntimeType for BezierSegment { 873 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.BezierSegment;{af4bb9ee-8984-49b7-81df-3f35994b95eb})"); 874 } 875 unsafe impl ::windows::runtime::Interface for BezierSegment { 876 type Vtable = IBezierSegment_abi; 877 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2940975598, 35204, 18871, [129, 223, 63, 53, 153, 75, 149, 235]); 878 } 879 impl ::windows::runtime::RuntimeName for BezierSegment { 880 const NAME: &'static str = "Windows.UI.Xaml.Media.BezierSegment"; 881 } 882 impl ::std::convert::From<BezierSegment> for ::windows::runtime::IUnknown { from(value: BezierSegment) -> Self883 fn from(value: BezierSegment) -> Self { 884 unsafe { ::std::mem::transmute(value) } 885 } 886 } 887 impl ::std::convert::From<&BezierSegment> for ::windows::runtime::IUnknown { from(value: &BezierSegment) -> Self888 fn from(value: &BezierSegment) -> Self { 889 ::std::convert::From::from(::std::clone::Clone::clone(value)) 890 } 891 } 892 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>893 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 894 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 895 } 896 } 897 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>898 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 899 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 900 } 901 } 902 impl ::std::convert::From<BezierSegment> for ::windows::runtime::IInspectable { from(value: BezierSegment) -> Self903 fn from(value: BezierSegment) -> Self { 904 value.0 905 } 906 } 907 impl ::std::convert::From<&BezierSegment> for ::windows::runtime::IInspectable { from(value: &BezierSegment) -> Self908 fn from(value: &BezierSegment) -> Self { 909 value.0.clone() 910 } 911 } 912 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>913 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 914 ::windows::runtime::Param::Owned(self.0) 915 } 916 } 917 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>918 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 919 ::windows::runtime::Param::Borrowed(&self.0) 920 } 921 } 922 impl ::std::convert::From<BezierSegment> for PathSegment { from(value: BezierSegment) -> Self923 fn from(value: BezierSegment) -> Self { 924 ::std::convert::Into::<PathSegment>::into(&value) 925 } 926 } 927 impl ::std::convert::From<&BezierSegment> for PathSegment { from(value: &BezierSegment) -> Self928 fn from(value: &BezierSegment) -> Self { 929 ::windows::runtime::Interface::cast(value).unwrap() 930 } 931 } 932 impl<'a> ::windows::runtime::IntoParam<'a, PathSegment> for BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, PathSegment>933 fn into_param(self) -> ::windows::runtime::Param<'a, PathSegment> { 934 ::windows::runtime::Param::Owned(::std::convert::Into::<PathSegment>::into(self)) 935 } 936 } 937 impl<'a> ::windows::runtime::IntoParam<'a, PathSegment> for &BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, PathSegment>938 fn into_param(self) -> ::windows::runtime::Param<'a, PathSegment> { 939 ::windows::runtime::Param::Owned(::std::convert::Into::<PathSegment>::into(::std::clone::Clone::clone(self))) 940 } 941 } 942 impl ::std::convert::From<BezierSegment> for super::DependencyObject { from(value: BezierSegment) -> Self943 fn from(value: BezierSegment) -> Self { 944 ::std::convert::Into::<super::DependencyObject>::into(&value) 945 } 946 } 947 impl ::std::convert::From<&BezierSegment> for super::DependencyObject { from(value: &BezierSegment) -> Self948 fn from(value: &BezierSegment) -> Self { 949 ::windows::runtime::Interface::cast(value).unwrap() 950 } 951 } 952 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>953 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 954 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 955 } 956 } 957 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &BezierSegment { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>958 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 959 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 960 } 961 } 962 unsafe impl ::std::marker::Send for BezierSegment {} 963 unsafe impl ::std::marker::Sync for BezierSegment {} 964 #[repr(transparent)] 965 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 966 pub struct BitmapCache(::windows::runtime::IInspectable); 967 impl BitmapCache { new() -> ::windows::runtime::Result<Self>968 pub fn new() -> ::windows::runtime::Result<Self> { 969 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 970 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>971 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 972 static mut SHARED: ::windows::runtime::FactoryCache<BitmapCache, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 973 unsafe { SHARED.call(callback) } 974 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>975 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 976 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 977 unsafe { 978 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 979 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 980 } 981 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>982 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 983 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 984 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 985 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>986 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 987 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 988 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 989 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>990 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 991 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 992 unsafe { 993 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 994 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 995 } 996 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>997 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 998 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 999 unsafe { 1000 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1001 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1002 } 1003 } 1004 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>1005 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 1006 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1007 unsafe { 1008 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1009 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 1010 } 1011 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>1012 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 1013 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1014 unsafe { 1015 let mut result__: i64 = ::std::mem::zeroed(); 1016 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 1017 } 1018 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>1019 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 1020 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1021 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 1022 } 1023 } 1024 unsafe impl ::windows::runtime::RuntimeType for BitmapCache { 1025 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.BitmapCache;{79c2219e-44d2-4610-9735-9bec83809ecf})"); 1026 } 1027 unsafe impl ::windows::runtime::Interface for BitmapCache { 1028 type Vtable = IBitmapCache_abi; 1029 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2042765726, 17618, 17936, [151, 53, 155, 236, 131, 128, 158, 207]); 1030 } 1031 impl ::windows::runtime::RuntimeName for BitmapCache { 1032 const NAME: &'static str = "Windows.UI.Xaml.Media.BitmapCache"; 1033 } 1034 impl ::std::convert::From<BitmapCache> for ::windows::runtime::IUnknown { from(value: BitmapCache) -> Self1035 fn from(value: BitmapCache) -> Self { 1036 unsafe { ::std::mem::transmute(value) } 1037 } 1038 } 1039 impl ::std::convert::From<&BitmapCache> for ::windows::runtime::IUnknown { from(value: &BitmapCache) -> Self1040 fn from(value: &BitmapCache) -> Self { 1041 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1042 } 1043 } 1044 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1045 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1046 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1047 } 1048 } 1049 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1050 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1051 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1052 } 1053 } 1054 impl ::std::convert::From<BitmapCache> for ::windows::runtime::IInspectable { from(value: BitmapCache) -> Self1055 fn from(value: BitmapCache) -> Self { 1056 value.0 1057 } 1058 } 1059 impl ::std::convert::From<&BitmapCache> for ::windows::runtime::IInspectable { from(value: &BitmapCache) -> Self1060 fn from(value: &BitmapCache) -> Self { 1061 value.0.clone() 1062 } 1063 } 1064 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1065 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1066 ::windows::runtime::Param::Owned(self.0) 1067 } 1068 } 1069 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1070 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1071 ::windows::runtime::Param::Borrowed(&self.0) 1072 } 1073 } 1074 impl ::std::convert::From<BitmapCache> for CacheMode { from(value: BitmapCache) -> Self1075 fn from(value: BitmapCache) -> Self { 1076 ::std::convert::Into::<CacheMode>::into(&value) 1077 } 1078 } 1079 impl ::std::convert::From<&BitmapCache> for CacheMode { from(value: &BitmapCache) -> Self1080 fn from(value: &BitmapCache) -> Self { 1081 ::windows::runtime::Interface::cast(value).unwrap() 1082 } 1083 } 1084 impl<'a> ::windows::runtime::IntoParam<'a, CacheMode> for BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, CacheMode>1085 fn into_param(self) -> ::windows::runtime::Param<'a, CacheMode> { 1086 ::windows::runtime::Param::Owned(::std::convert::Into::<CacheMode>::into(self)) 1087 } 1088 } 1089 impl<'a> ::windows::runtime::IntoParam<'a, CacheMode> for &BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, CacheMode>1090 fn into_param(self) -> ::windows::runtime::Param<'a, CacheMode> { 1091 ::windows::runtime::Param::Owned(::std::convert::Into::<CacheMode>::into(::std::clone::Clone::clone(self))) 1092 } 1093 } 1094 impl ::std::convert::From<BitmapCache> for super::DependencyObject { from(value: BitmapCache) -> Self1095 fn from(value: BitmapCache) -> Self { 1096 ::std::convert::Into::<super::DependencyObject>::into(&value) 1097 } 1098 } 1099 impl ::std::convert::From<&BitmapCache> for super::DependencyObject { from(value: &BitmapCache) -> Self1100 fn from(value: &BitmapCache) -> Self { 1101 ::windows::runtime::Interface::cast(value).unwrap() 1102 } 1103 } 1104 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>1105 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 1106 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 1107 } 1108 } 1109 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &BitmapCache { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>1110 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 1111 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 1112 } 1113 } 1114 unsafe impl ::std::marker::Send for BitmapCache {} 1115 unsafe impl ::std::marker::Sync for BitmapCache {} 1116 #[repr(transparent)] 1117 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1118 pub struct Brush(::windows::runtime::IInspectable); 1119 impl Brush { Opacity(&self) -> ::windows::runtime::Result<f64>1120 pub fn Opacity(&self) -> ::windows::runtime::Result<f64> { 1121 let this = self; 1122 unsafe { 1123 let mut result__: f64 = ::std::mem::zeroed(); 1124 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1125 } 1126 } SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()>1127 pub fn SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()> { 1128 let this = self; 1129 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 1130 } Transform(&self) -> ::windows::runtime::Result<Transform>1131 pub fn Transform(&self) -> ::windows::runtime::Result<Transform> { 1132 let this = self; 1133 unsafe { 1134 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1135 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 1136 } 1137 } SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>1138 pub fn SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 1139 let this = self; 1140 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 1141 } RelativeTransform(&self) -> ::windows::runtime::Result<Transform>1142 pub fn RelativeTransform(&self) -> ::windows::runtime::Result<Transform> { 1143 let this = self; 1144 unsafe { 1145 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1146 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 1147 } 1148 } SetRelativeTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>1149 pub fn SetRelativeTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 1150 let this = self; 1151 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 1152 } OpacityProperty() -> ::windows::runtime::Result<super::DependencyProperty>1153 pub fn OpacityProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1154 Self::IBrushStatics(|this| unsafe { 1155 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1156 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1157 }) 1158 } TransformProperty() -> ::windows::runtime::Result<super::DependencyProperty>1159 pub fn TransformProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1160 Self::IBrushStatics(|this| unsafe { 1161 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1162 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1163 }) 1164 } RelativeTransformProperty() -> ::windows::runtime::Result<super::DependencyProperty>1165 pub fn RelativeTransformProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1166 Self::IBrushStatics(|this| unsafe { 1167 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1168 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1169 }) 1170 } 1171 #[cfg(feature = "UI_Composition")] PopulatePropertyInfo<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, propertyinfo: Param1) -> ::windows::runtime::Result<()>1172 pub fn PopulatePropertyInfo<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, propertyinfo: Param1) -> ::windows::runtime::Result<()> { 1173 let this = &::windows::runtime::Interface::cast::<super::super::Composition::IAnimationObject>(self)?; 1174 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), propertyname.into_param().abi(), propertyinfo.into_param().abi()).ok() } 1175 } 1176 #[cfg(feature = "UI_Composition")] PopulatePropertyInfoOverride<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, animationpropertyinfo: Param1) -> ::windows::runtime::Result<()>1177 pub fn PopulatePropertyInfoOverride<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, animationpropertyinfo: Param1) -> ::windows::runtime::Result<()> { 1178 let this = &::windows::runtime::Interface::cast::<IBrushOverrides2>(self)?; 1179 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), propertyname.into_param().abi(), animationpropertyinfo.into_param().abi()).ok() } 1180 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1181 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1182 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1183 unsafe { 1184 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1185 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1186 } 1187 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>1188 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 1189 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1190 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 1191 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>1192 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 1193 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1194 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 1195 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1196 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1197 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1198 unsafe { 1199 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1200 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1201 } 1202 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1203 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1204 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1205 unsafe { 1206 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1207 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1208 } 1209 } 1210 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>1211 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 1212 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1213 unsafe { 1214 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1215 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 1216 } 1217 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>1218 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 1219 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1220 unsafe { 1221 let mut result__: i64 = ::std::mem::zeroed(); 1222 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 1223 } 1224 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>1225 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 1226 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1227 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 1228 } IBrushStatics<R, F: FnOnce(&IBrushStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1229 pub fn IBrushStatics<R, F: FnOnce(&IBrushStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1230 static mut SHARED: ::windows::runtime::FactoryCache<Brush, IBrushStatics> = ::windows::runtime::FactoryCache::new(); 1231 unsafe { SHARED.call(callback) } 1232 } 1233 } 1234 unsafe impl ::windows::runtime::RuntimeType for Brush { 1235 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.Brush;{8806a321-1e06-422c-a1cc-01696559e021})"); 1236 } 1237 unsafe impl ::windows::runtime::Interface for Brush { 1238 type Vtable = IBrush_abi; 1239 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2282136353, 7686, 16940, [161, 204, 1, 105, 101, 89, 224, 33]); 1240 } 1241 impl ::windows::runtime::RuntimeName for Brush { 1242 const NAME: &'static str = "Windows.UI.Xaml.Media.Brush"; 1243 } 1244 impl ::std::convert::From<Brush> for ::windows::runtime::IUnknown { from(value: Brush) -> Self1245 fn from(value: Brush) -> Self { 1246 unsafe { ::std::mem::transmute(value) } 1247 } 1248 } 1249 impl ::std::convert::From<&Brush> for ::windows::runtime::IUnknown { from(value: &Brush) -> Self1250 fn from(value: &Brush) -> Self { 1251 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1252 } 1253 } 1254 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for Brush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1255 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1256 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1257 } 1258 } 1259 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &Brush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1260 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1261 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1262 } 1263 } 1264 impl ::std::convert::From<Brush> for ::windows::runtime::IInspectable { from(value: Brush) -> Self1265 fn from(value: Brush) -> Self { 1266 value.0 1267 } 1268 } 1269 impl ::std::convert::From<&Brush> for ::windows::runtime::IInspectable { from(value: &Brush) -> Self1270 fn from(value: &Brush) -> Self { 1271 value.0.clone() 1272 } 1273 } 1274 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for Brush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1275 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1276 ::windows::runtime::Param::Owned(self.0) 1277 } 1278 } 1279 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a Brush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1280 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1281 ::windows::runtime::Param::Borrowed(&self.0) 1282 } 1283 } 1284 #[cfg(feature = "UI_Composition")] 1285 impl ::std::convert::TryFrom<Brush> for super::super::Composition::IAnimationObject { 1286 type Error = ::windows::runtime::Error; try_from(value: Brush) -> ::windows::runtime::Result<Self>1287 fn try_from(value: Brush) -> ::windows::runtime::Result<Self> { 1288 ::std::convert::TryFrom::try_from(&value) 1289 } 1290 } 1291 #[cfg(feature = "UI_Composition")] 1292 impl ::std::convert::TryFrom<&Brush> for super::super::Composition::IAnimationObject { 1293 type Error = ::windows::runtime::Error; try_from(value: &Brush) -> ::windows::runtime::Result<Self>1294 fn try_from(value: &Brush) -> ::windows::runtime::Result<Self> { 1295 ::windows::runtime::Interface::cast(value) 1296 } 1297 } 1298 #[cfg(feature = "UI_Composition")] 1299 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Composition::IAnimationObject> for Brush { into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject>1300 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject> { 1301 ::windows::runtime::IntoParam::into_param(&self) 1302 } 1303 } 1304 #[cfg(feature = "UI_Composition")] 1305 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Composition::IAnimationObject> for &Brush { into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject>1306 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject> { 1307 ::std::convert::TryInto::<super::super::Composition::IAnimationObject>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 1308 } 1309 } 1310 impl ::std::convert::From<Brush> for super::DependencyObject { from(value: Brush) -> Self1311 fn from(value: Brush) -> Self { 1312 ::std::convert::Into::<super::DependencyObject>::into(&value) 1313 } 1314 } 1315 impl ::std::convert::From<&Brush> for super::DependencyObject { from(value: &Brush) -> Self1316 fn from(value: &Brush) -> Self { 1317 ::windows::runtime::Interface::cast(value).unwrap() 1318 } 1319 } 1320 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for Brush { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>1321 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 1322 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 1323 } 1324 } 1325 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &Brush { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>1326 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 1327 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 1328 } 1329 } 1330 unsafe impl ::std::marker::Send for Brush {} 1331 unsafe impl ::std::marker::Sync for Brush {} 1332 #[cfg(feature = "Foundation_Collections")] 1333 #[repr(transparent)] 1334 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1335 pub struct BrushCollection(::windows::runtime::IInspectable); 1336 #[cfg(feature = "Foundation_Collections")] 1337 impl BrushCollection { new() -> ::windows::runtime::Result<Self>1338 pub fn new() -> ::windows::runtime::Result<Self> { 1339 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 1340 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1341 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1342 static mut SHARED: ::windows::runtime::FactoryCache<BrushCollection, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 1343 unsafe { SHARED.call(callback) } 1344 } 1345 #[cfg(feature = "Foundation_Collections")] GetAt(&self, index: u32) -> ::windows::runtime::Result<Brush>1346 pub fn GetAt(&self, index: u32) -> ::windows::runtime::Result<Brush> { 1347 let this = self; 1348 unsafe { 1349 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1350 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), index, &mut result__).from_abi::<Brush>(result__) 1351 } 1352 } 1353 #[cfg(feature = "Foundation_Collections")] Size(&self) -> ::windows::runtime::Result<u32>1354 pub fn Size(&self) -> ::windows::runtime::Result<u32> { 1355 let this = self; 1356 unsafe { 1357 let mut result__: u32 = ::std::mem::zeroed(); 1358 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 1359 } 1360 } 1361 #[cfg(feature = "Foundation_Collections")] GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<Brush>>1362 pub fn GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<Brush>> { 1363 let this = self; 1364 unsafe { 1365 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1366 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IVectorView<Brush>>(result__) 1367 } 1368 } 1369 #[cfg(feature = "Foundation_Collections")] IndexOf<'a, Param0: ::windows::runtime::IntoParam<'a, Brush>>(&self, value: Param0, index: &mut u32) -> ::windows::runtime::Result<bool>1370 pub fn IndexOf<'a, Param0: ::windows::runtime::IntoParam<'a, Brush>>(&self, value: Param0, index: &mut u32) -> ::windows::runtime::Result<bool> { 1371 let this = self; 1372 unsafe { 1373 let mut result__: bool = ::std::mem::zeroed(); 1374 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi(), index, &mut result__).from_abi::<bool>(result__) 1375 } 1376 } 1377 #[cfg(feature = "Foundation_Collections")] SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, Brush>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>1378 pub fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, Brush>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> { 1379 let this = self; 1380 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), index, value.into_param().abi()).ok() } 1381 } 1382 #[cfg(feature = "Foundation_Collections")] InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, Brush>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>1383 pub fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, Brush>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> { 1384 let this = self; 1385 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), index, value.into_param().abi()).ok() } 1386 } 1387 #[cfg(feature = "Foundation_Collections")] RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>1388 pub fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> { 1389 let this = self; 1390 unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), index).ok() } 1391 } 1392 #[cfg(feature = "Foundation_Collections")] Append<'a, Param0: ::windows::runtime::IntoParam<'a, Brush>>(&self, value: Param0) -> ::windows::runtime::Result<()>1393 pub fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, Brush>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 1394 let this = self; 1395 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 1396 } 1397 #[cfg(feature = "Foundation_Collections")] RemoveAtEnd(&self) -> ::windows::runtime::Result<()>1398 pub fn RemoveAtEnd(&self) -> ::windows::runtime::Result<()> { 1399 let this = self; 1400 unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this)).ok() } 1401 } 1402 #[cfg(feature = "Foundation_Collections")] Clear(&self) -> ::windows::runtime::Result<()>1403 pub fn Clear(&self) -> ::windows::runtime::Result<()> { 1404 let this = self; 1405 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this)).ok() } 1406 } 1407 #[cfg(feature = "Foundation_Collections")] GetMany(&self, startindex: u32, items: &mut [<Brush as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32>1408 pub fn GetMany(&self, startindex: u32, items: &mut [<Brush as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32> { 1409 let this = self; 1410 unsafe { 1411 let mut result__: u32 = ::std::mem::zeroed(); 1412 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), startindex, items.len() as u32, ::std::mem::transmute_copy(&items), &mut result__).from_abi::<u32>(result__) 1413 } 1414 } 1415 #[cfg(feature = "Foundation_Collections")] ReplaceAll(&self, items: &[<Brush as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()>1416 pub fn ReplaceAll(&self, items: &[<Brush as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()> { 1417 let this = self; 1418 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), items.len() as u32, ::std::mem::transmute(items.as_ptr())).ok() } 1419 } 1420 #[cfg(feature = "Foundation_Collections")] First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<Brush>>1421 pub fn First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<Brush>> { 1422 let this = &::windows::runtime::Interface::cast::<super::super::super::Foundation::Collections::IIterable<Brush>>(self)?; 1423 unsafe { 1424 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1425 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IIterator<Brush>>(result__) 1426 } 1427 } 1428 } 1429 #[cfg(feature = "Foundation_Collections")] 1430 unsafe impl ::windows::runtime::RuntimeType for BrushCollection { 1431 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.BrushCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Xaml.Media.Brush;{8806a321-1e06-422c-a1cc-01696559e021})))"); 1432 } 1433 #[cfg(feature = "Foundation_Collections")] 1434 unsafe impl ::windows::runtime::Interface for BrushCollection { 1435 type Vtable = super::super::super::Foundation::Collections::IVector_abi<Brush>; 1436 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_signature(<super::super::super::Foundation::Collections::IVector<Brush> as ::windows::runtime::RuntimeType>::SIGNATURE); 1437 } 1438 #[cfg(feature = "Foundation_Collections")] 1439 impl ::windows::runtime::RuntimeName for BrushCollection { 1440 const NAME: &'static str = "Windows.UI.Xaml.Media.BrushCollection"; 1441 } 1442 #[cfg(feature = "Foundation_Collections")] 1443 impl ::std::convert::From<BrushCollection> for ::windows::runtime::IUnknown { from(value: BrushCollection) -> Self1444 fn from(value: BrushCollection) -> Self { 1445 unsafe { ::std::mem::transmute(value) } 1446 } 1447 } 1448 #[cfg(feature = "Foundation_Collections")] 1449 impl ::std::convert::From<&BrushCollection> for ::windows::runtime::IUnknown { from(value: &BrushCollection) -> Self1450 fn from(value: &BrushCollection) -> Self { 1451 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1452 } 1453 } 1454 #[cfg(feature = "Foundation_Collections")] 1455 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1456 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1457 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1458 } 1459 } 1460 #[cfg(feature = "Foundation_Collections")] 1461 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1462 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1463 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1464 } 1465 } 1466 #[cfg(feature = "Foundation_Collections")] 1467 impl ::std::convert::From<BrushCollection> for ::windows::runtime::IInspectable { from(value: BrushCollection) -> Self1468 fn from(value: BrushCollection) -> Self { 1469 value.0 1470 } 1471 } 1472 #[cfg(feature = "Foundation_Collections")] 1473 impl ::std::convert::From<&BrushCollection> for ::windows::runtime::IInspectable { from(value: &BrushCollection) -> Self1474 fn from(value: &BrushCollection) -> Self { 1475 value.0.clone() 1476 } 1477 } 1478 #[cfg(feature = "Foundation_Collections")] 1479 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1480 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1481 ::windows::runtime::Param::Owned(self.0) 1482 } 1483 } 1484 #[cfg(feature = "Foundation_Collections")] 1485 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1486 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1487 ::windows::runtime::Param::Borrowed(&self.0) 1488 } 1489 } 1490 #[cfg(feature = "Foundation_Collections")] 1491 impl ::std::convert::From<BrushCollection> for super::super::super::Foundation::Collections::IVector<Brush> { from(value: BrushCollection) -> Self1492 fn from(value: BrushCollection) -> Self { 1493 unsafe { ::std::mem::transmute(value) } 1494 } 1495 } 1496 #[cfg(feature = "Foundation_Collections")] 1497 impl ::std::convert::From<&BrushCollection> for super::super::super::Foundation::Collections::IVector<Brush> { from(value: &BrushCollection) -> Self1498 fn from(value: &BrushCollection) -> Self { 1499 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1500 } 1501 } 1502 #[cfg(feature = "Foundation_Collections")] 1503 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<Brush>> for BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Brush>>1504 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Brush>> { 1505 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<Brush>>::into(self)) 1506 } 1507 } 1508 #[cfg(feature = "Foundation_Collections")] 1509 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<Brush>> for &BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Brush>>1510 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Brush>> { 1511 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<Brush>>::into(::std::clone::Clone::clone(self))) 1512 } 1513 } 1514 #[cfg(feature = "Foundation_Collections")] 1515 impl ::std::convert::TryFrom<BrushCollection> for super::super::super::Foundation::Collections::IIterable<Brush> { 1516 type Error = ::windows::runtime::Error; try_from(value: BrushCollection) -> ::windows::runtime::Result<Self>1517 fn try_from(value: BrushCollection) -> ::windows::runtime::Result<Self> { 1518 ::std::convert::TryFrom::try_from(&value) 1519 } 1520 } 1521 #[cfg(feature = "Foundation_Collections")] 1522 impl ::std::convert::TryFrom<&BrushCollection> for super::super::super::Foundation::Collections::IIterable<Brush> { 1523 type Error = ::windows::runtime::Error; try_from(value: &BrushCollection) -> ::windows::runtime::Result<Self>1524 fn try_from(value: &BrushCollection) -> ::windows::runtime::Result<Self> { 1525 ::windows::runtime::Interface::cast(value) 1526 } 1527 } 1528 #[cfg(feature = "Foundation_Collections")] 1529 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<Brush>> for BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Brush>>1530 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Brush>> { 1531 ::windows::runtime::IntoParam::into_param(&self) 1532 } 1533 } 1534 #[cfg(feature = "Foundation_Collections")] 1535 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<Brush>> for &BrushCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Brush>>1536 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Brush>> { 1537 ::std::convert::TryInto::<super::super::super::Foundation::Collections::IIterable<Brush>>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 1538 } 1539 } 1540 #[cfg(feature = "Foundation_Collections")] 1541 unsafe impl ::std::marker::Send for BrushCollection {} 1542 #[cfg(feature = "Foundation_Collections")] 1543 unsafe impl ::std::marker::Sync for BrushCollection {} 1544 #[cfg(all(feature = "Foundation_Collections"))] 1545 impl ::std::iter::IntoIterator for BrushCollection { 1546 type Item = Brush; 1547 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter1548 fn into_iter(self) -> Self::IntoIter { 1549 ::std::iter::IntoIterator::into_iter(&self) 1550 } 1551 } 1552 #[cfg(all(feature = "Foundation_Collections"))] 1553 impl ::std::iter::IntoIterator for &BrushCollection { 1554 type Item = Brush; 1555 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter1556 fn into_iter(self) -> Self::IntoIter { 1557 super::super::super::Foundation::Collections::VectorIterator::new(::std::convert::TryInto::try_into(self).ok()) 1558 } 1559 } 1560 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1561 #[repr(transparent)] 1562 pub struct BrushMappingMode(pub i32); 1563 impl BrushMappingMode { 1564 pub const Absolute: BrushMappingMode = BrushMappingMode(0i32); 1565 pub const RelativeToBoundingBox: BrushMappingMode = BrushMappingMode(1i32); 1566 } 1567 impl ::std::convert::From<i32> for BrushMappingMode { from(value: i32) -> Self1568 fn from(value: i32) -> Self { 1569 Self(value) 1570 } 1571 } 1572 unsafe impl ::windows::runtime::Abi for BrushMappingMode { 1573 type Abi = Self; 1574 type DefaultType = Self; 1575 } 1576 unsafe impl ::windows::runtime::RuntimeType for BrushMappingMode { 1577 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.BrushMappingMode;i4)"); 1578 } 1579 #[repr(transparent)] 1580 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1581 pub struct CacheMode(::windows::runtime::IInspectable); 1582 impl CacheMode { GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1583 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1584 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1585 unsafe { 1586 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1587 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1588 } 1589 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>1590 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 1591 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1592 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 1593 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>1594 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 1595 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1596 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 1597 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1598 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1599 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1600 unsafe { 1601 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1602 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1603 } 1604 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1605 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1606 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1607 unsafe { 1608 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1609 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1610 } 1611 } 1612 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>1613 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 1614 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1615 unsafe { 1616 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1617 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 1618 } 1619 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>1620 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 1621 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1622 unsafe { 1623 let mut result__: i64 = ::std::mem::zeroed(); 1624 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 1625 } 1626 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>1627 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 1628 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1629 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 1630 } 1631 } 1632 unsafe impl ::windows::runtime::RuntimeType for CacheMode { 1633 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.CacheMode;{98dc8b11-c6f9-4dab-b838-5fd5ec8c7350})"); 1634 } 1635 unsafe impl ::windows::runtime::Interface for CacheMode { 1636 type Vtable = ICacheMode_abi; 1637 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2564590353, 50937, 19883, [184, 56, 95, 213, 236, 140, 115, 80]); 1638 } 1639 impl ::windows::runtime::RuntimeName for CacheMode { 1640 const NAME: &'static str = "Windows.UI.Xaml.Media.CacheMode"; 1641 } 1642 impl ::std::convert::From<CacheMode> for ::windows::runtime::IUnknown { from(value: CacheMode) -> Self1643 fn from(value: CacheMode) -> Self { 1644 unsafe { ::std::mem::transmute(value) } 1645 } 1646 } 1647 impl ::std::convert::From<&CacheMode> for ::windows::runtime::IUnknown { from(value: &CacheMode) -> Self1648 fn from(value: &CacheMode) -> Self { 1649 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1650 } 1651 } 1652 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for CacheMode { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1653 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1654 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1655 } 1656 } 1657 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &CacheMode { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1658 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1659 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1660 } 1661 } 1662 impl ::std::convert::From<CacheMode> for ::windows::runtime::IInspectable { from(value: CacheMode) -> Self1663 fn from(value: CacheMode) -> Self { 1664 value.0 1665 } 1666 } 1667 impl ::std::convert::From<&CacheMode> for ::windows::runtime::IInspectable { from(value: &CacheMode) -> Self1668 fn from(value: &CacheMode) -> Self { 1669 value.0.clone() 1670 } 1671 } 1672 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for CacheMode { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1673 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1674 ::windows::runtime::Param::Owned(self.0) 1675 } 1676 } 1677 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a CacheMode { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>1678 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 1679 ::windows::runtime::Param::Borrowed(&self.0) 1680 } 1681 } 1682 impl ::std::convert::From<CacheMode> for super::DependencyObject { from(value: CacheMode) -> Self1683 fn from(value: CacheMode) -> Self { 1684 ::std::convert::Into::<super::DependencyObject>::into(&value) 1685 } 1686 } 1687 impl ::std::convert::From<&CacheMode> for super::DependencyObject { from(value: &CacheMode) -> Self1688 fn from(value: &CacheMode) -> Self { 1689 ::windows::runtime::Interface::cast(value).unwrap() 1690 } 1691 } 1692 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for CacheMode { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>1693 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 1694 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 1695 } 1696 } 1697 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &CacheMode { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>1698 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 1699 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 1700 } 1701 } 1702 unsafe impl ::std::marker::Send for CacheMode {} 1703 unsafe impl ::std::marker::Sync for CacheMode {} 1704 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1705 #[repr(transparent)] 1706 pub struct ColorInterpolationMode(pub i32); 1707 impl ColorInterpolationMode { 1708 pub const ScRgbLinearInterpolation: ColorInterpolationMode = ColorInterpolationMode(0i32); 1709 pub const SRgbLinearInterpolation: ColorInterpolationMode = ColorInterpolationMode(1i32); 1710 } 1711 impl ::std::convert::From<i32> for ColorInterpolationMode { from(value: i32) -> Self1712 fn from(value: i32) -> Self { 1713 Self(value) 1714 } 1715 } 1716 unsafe impl ::windows::runtime::Abi for ColorInterpolationMode { 1717 type Abi = Self; 1718 type DefaultType = Self; 1719 } 1720 unsafe impl ::windows::runtime::RuntimeType for ColorInterpolationMode { 1721 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.ColorInterpolationMode;i4)"); 1722 } 1723 #[repr(transparent)] 1724 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1725 pub struct CompositeTransform(::windows::runtime::IInspectable); 1726 impl CompositeTransform { new() -> ::windows::runtime::Result<Self>1727 pub fn new() -> ::windows::runtime::Result<Self> { 1728 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 1729 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1730 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1731 static mut SHARED: ::windows::runtime::FactoryCache<CompositeTransform, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 1732 unsafe { SHARED.call(callback) } 1733 } CenterX(&self) -> ::windows::runtime::Result<f64>1734 pub fn CenterX(&self) -> ::windows::runtime::Result<f64> { 1735 let this = self; 1736 unsafe { 1737 let mut result__: f64 = ::std::mem::zeroed(); 1738 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1739 } 1740 } SetCenterX(&self, value: f64) -> ::windows::runtime::Result<()>1741 pub fn SetCenterX(&self, value: f64) -> ::windows::runtime::Result<()> { 1742 let this = self; 1743 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 1744 } CenterY(&self) -> ::windows::runtime::Result<f64>1745 pub fn CenterY(&self) -> ::windows::runtime::Result<f64> { 1746 let this = self; 1747 unsafe { 1748 let mut result__: f64 = ::std::mem::zeroed(); 1749 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1750 } 1751 } SetCenterY(&self, value: f64) -> ::windows::runtime::Result<()>1752 pub fn SetCenterY(&self, value: f64) -> ::windows::runtime::Result<()> { 1753 let this = self; 1754 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value).ok() } 1755 } ScaleX(&self) -> ::windows::runtime::Result<f64>1756 pub fn ScaleX(&self) -> ::windows::runtime::Result<f64> { 1757 let this = self; 1758 unsafe { 1759 let mut result__: f64 = ::std::mem::zeroed(); 1760 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1761 } 1762 } SetScaleX(&self, value: f64) -> ::windows::runtime::Result<()>1763 pub fn SetScaleX(&self, value: f64) -> ::windows::runtime::Result<()> { 1764 let this = self; 1765 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value).ok() } 1766 } ScaleY(&self) -> ::windows::runtime::Result<f64>1767 pub fn ScaleY(&self) -> ::windows::runtime::Result<f64> { 1768 let this = self; 1769 unsafe { 1770 let mut result__: f64 = ::std::mem::zeroed(); 1771 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1772 } 1773 } SetScaleY(&self, value: f64) -> ::windows::runtime::Result<()>1774 pub fn SetScaleY(&self, value: f64) -> ::windows::runtime::Result<()> { 1775 let this = self; 1776 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value).ok() } 1777 } SkewX(&self) -> ::windows::runtime::Result<f64>1778 pub fn SkewX(&self) -> ::windows::runtime::Result<f64> { 1779 let this = self; 1780 unsafe { 1781 let mut result__: f64 = ::std::mem::zeroed(); 1782 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1783 } 1784 } SetSkewX(&self, value: f64) -> ::windows::runtime::Result<()>1785 pub fn SetSkewX(&self, value: f64) -> ::windows::runtime::Result<()> { 1786 let this = self; 1787 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this), value).ok() } 1788 } SkewY(&self) -> ::windows::runtime::Result<f64>1789 pub fn SkewY(&self) -> ::windows::runtime::Result<f64> { 1790 let this = self; 1791 unsafe { 1792 let mut result__: f64 = ::std::mem::zeroed(); 1793 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1794 } 1795 } SetSkewY(&self, value: f64) -> ::windows::runtime::Result<()>1796 pub fn SetSkewY(&self, value: f64) -> ::windows::runtime::Result<()> { 1797 let this = self; 1798 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), value).ok() } 1799 } Rotation(&self) -> ::windows::runtime::Result<f64>1800 pub fn Rotation(&self) -> ::windows::runtime::Result<f64> { 1801 let this = self; 1802 unsafe { 1803 let mut result__: f64 = ::std::mem::zeroed(); 1804 (::windows::runtime::Interface::vtable(this).18)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1805 } 1806 } SetRotation(&self, value: f64) -> ::windows::runtime::Result<()>1807 pub fn SetRotation(&self, value: f64) -> ::windows::runtime::Result<()> { 1808 let this = self; 1809 unsafe { (::windows::runtime::Interface::vtable(this).19)(::std::mem::transmute_copy(this), value).ok() } 1810 } TranslateX(&self) -> ::windows::runtime::Result<f64>1811 pub fn TranslateX(&self) -> ::windows::runtime::Result<f64> { 1812 let this = self; 1813 unsafe { 1814 let mut result__: f64 = ::std::mem::zeroed(); 1815 (::windows::runtime::Interface::vtable(this).20)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1816 } 1817 } SetTranslateX(&self, value: f64) -> ::windows::runtime::Result<()>1818 pub fn SetTranslateX(&self, value: f64) -> ::windows::runtime::Result<()> { 1819 let this = self; 1820 unsafe { (::windows::runtime::Interface::vtable(this).21)(::std::mem::transmute_copy(this), value).ok() } 1821 } TranslateY(&self) -> ::windows::runtime::Result<f64>1822 pub fn TranslateY(&self) -> ::windows::runtime::Result<f64> { 1823 let this = self; 1824 unsafe { 1825 let mut result__: f64 = ::std::mem::zeroed(); 1826 (::windows::runtime::Interface::vtable(this).22)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 1827 } 1828 } SetTranslateY(&self, value: f64) -> ::windows::runtime::Result<()>1829 pub fn SetTranslateY(&self, value: f64) -> ::windows::runtime::Result<()> { 1830 let this = self; 1831 unsafe { (::windows::runtime::Interface::vtable(this).23)(::std::mem::transmute_copy(this), value).ok() } 1832 } CenterXProperty() -> ::windows::runtime::Result<super::DependencyProperty>1833 pub fn CenterXProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1834 Self::ICompositeTransformStatics(|this| unsafe { 1835 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1836 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1837 }) 1838 } CenterYProperty() -> ::windows::runtime::Result<super::DependencyProperty>1839 pub fn CenterYProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1840 Self::ICompositeTransformStatics(|this| unsafe { 1841 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1842 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1843 }) 1844 } ScaleXProperty() -> ::windows::runtime::Result<super::DependencyProperty>1845 pub fn ScaleXProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1846 Self::ICompositeTransformStatics(|this| unsafe { 1847 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1848 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1849 }) 1850 } ScaleYProperty() -> ::windows::runtime::Result<super::DependencyProperty>1851 pub fn ScaleYProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1852 Self::ICompositeTransformStatics(|this| unsafe { 1853 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1854 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1855 }) 1856 } SkewXProperty() -> ::windows::runtime::Result<super::DependencyProperty>1857 pub fn SkewXProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1858 Self::ICompositeTransformStatics(|this| unsafe { 1859 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1860 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1861 }) 1862 } SkewYProperty() -> ::windows::runtime::Result<super::DependencyProperty>1863 pub fn SkewYProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1864 Self::ICompositeTransformStatics(|this| unsafe { 1865 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1866 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1867 }) 1868 } RotationProperty() -> ::windows::runtime::Result<super::DependencyProperty>1869 pub fn RotationProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1870 Self::ICompositeTransformStatics(|this| unsafe { 1871 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1872 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1873 }) 1874 } TranslateXProperty() -> ::windows::runtime::Result<super::DependencyProperty>1875 pub fn TranslateXProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1876 Self::ICompositeTransformStatics(|this| unsafe { 1877 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1878 (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1879 }) 1880 } TranslateYProperty() -> ::windows::runtime::Result<super::DependencyProperty>1881 pub fn TranslateYProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 1882 Self::ICompositeTransformStatics(|this| unsafe { 1883 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1884 (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 1885 }) 1886 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1887 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1888 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1889 unsafe { 1890 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1891 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1892 } 1893 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>1894 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 1895 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1896 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 1897 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>1898 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 1899 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1900 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 1901 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1902 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1903 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1904 unsafe { 1905 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1906 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1907 } 1908 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>1909 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 1910 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1911 unsafe { 1912 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1913 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 1914 } 1915 } 1916 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>1917 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 1918 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 1919 unsafe { 1920 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1921 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 1922 } 1923 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>1924 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 1925 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1926 unsafe { 1927 let mut result__: i64 = ::std::mem::zeroed(); 1928 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 1929 } 1930 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>1931 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 1932 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 1933 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 1934 } Inverse(&self) -> ::windows::runtime::Result<GeneralTransform>1935 pub fn Inverse(&self) -> ::windows::runtime::Result<GeneralTransform> { 1936 let this = &::windows::runtime::Interface::cast::<IGeneralTransform>(self)?; 1937 unsafe { 1938 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1939 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GeneralTransform>(result__) 1940 } 1941 } 1942 #[cfg(feature = "Foundation")] TransformPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, point: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Point>1943 pub fn TransformPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, point: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Point> { 1944 let this = &::windows::runtime::Interface::cast::<IGeneralTransform>(self)?; 1945 unsafe { 1946 let mut result__: super::super::super::Foundation::Point = ::std::mem::zeroed(); 1947 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), point.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::Point>(result__) 1948 } 1949 } 1950 #[cfg(feature = "Foundation")] TryTransform<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool>1951 pub fn TryTransform<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool> { 1952 let this = &::windows::runtime::Interface::cast::<IGeneralTransform>(self)?; 1953 unsafe { 1954 let mut result__: bool = ::std::mem::zeroed(); 1955 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), inpoint.into_param().abi(), outpoint, &mut result__).from_abi::<bool>(result__) 1956 } 1957 } 1958 #[cfg(feature = "Foundation")] TransformBounds<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect>1959 pub fn TransformBounds<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect> { 1960 let this = &::windows::runtime::Interface::cast::<IGeneralTransform>(self)?; 1961 unsafe { 1962 let mut result__: super::super::super::Foundation::Rect = ::std::mem::zeroed(); 1963 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), rect.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::Rect>(result__) 1964 } 1965 } InverseCore(&self) -> ::windows::runtime::Result<GeneralTransform>1966 pub fn InverseCore(&self) -> ::windows::runtime::Result<GeneralTransform> { 1967 let this = &::windows::runtime::Interface::cast::<IGeneralTransformOverrides>(self)?; 1968 unsafe { 1969 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 1970 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GeneralTransform>(result__) 1971 } 1972 } 1973 #[cfg(feature = "Foundation")] TryTransformCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool>1974 pub fn TryTransformCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool> { 1975 let this = &::windows::runtime::Interface::cast::<IGeneralTransformOverrides>(self)?; 1976 unsafe { 1977 let mut result__: bool = ::std::mem::zeroed(); 1978 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), inpoint.into_param().abi(), outpoint, &mut result__).from_abi::<bool>(result__) 1979 } 1980 } 1981 #[cfg(feature = "Foundation")] TransformBoundsCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect>1982 pub fn TransformBoundsCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect> { 1983 let this = &::windows::runtime::Interface::cast::<IGeneralTransformOverrides>(self)?; 1984 unsafe { 1985 let mut result__: super::super::super::Foundation::Rect = ::std::mem::zeroed(); 1986 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), rect.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::Rect>(result__) 1987 } 1988 } ICompositeTransformStatics<R, F: FnOnce(&ICompositeTransformStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>1989 pub fn ICompositeTransformStatics<R, F: FnOnce(&ICompositeTransformStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 1990 static mut SHARED: ::windows::runtime::FactoryCache<CompositeTransform, ICompositeTransformStatics> = ::windows::runtime::FactoryCache::new(); 1991 unsafe { SHARED.call(callback) } 1992 } 1993 } 1994 unsafe impl ::windows::runtime::RuntimeType for CompositeTransform { 1995 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.CompositeTransform;{c8a4385b-f24a-4701-a265-a78846f142b9})"); 1996 } 1997 unsafe impl ::windows::runtime::Interface for CompositeTransform { 1998 type Vtable = ICompositeTransform_abi; 1999 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3366205531, 62026, 18177, [162, 101, 167, 136, 70, 241, 66, 185]); 2000 } 2001 impl ::windows::runtime::RuntimeName for CompositeTransform { 2002 const NAME: &'static str = "Windows.UI.Xaml.Media.CompositeTransform"; 2003 } 2004 impl ::std::convert::From<CompositeTransform> for ::windows::runtime::IUnknown { from(value: CompositeTransform) -> Self2005 fn from(value: CompositeTransform) -> Self { 2006 unsafe { ::std::mem::transmute(value) } 2007 } 2008 } 2009 impl ::std::convert::From<&CompositeTransform> for ::windows::runtime::IUnknown { from(value: &CompositeTransform) -> Self2010 fn from(value: &CompositeTransform) -> Self { 2011 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2012 } 2013 } 2014 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2015 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2016 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2017 } 2018 } 2019 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &CompositeTransform { 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(::std::clone::Clone::clone(self))) 2022 } 2023 } 2024 impl ::std::convert::From<CompositeTransform> for ::windows::runtime::IInspectable { from(value: CompositeTransform) -> Self2025 fn from(value: CompositeTransform) -> Self { 2026 value.0 2027 } 2028 } 2029 impl ::std::convert::From<&CompositeTransform> for ::windows::runtime::IInspectable { from(value: &CompositeTransform) -> Self2030 fn from(value: &CompositeTransform) -> Self { 2031 value.0.clone() 2032 } 2033 } 2034 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2035 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2036 ::windows::runtime::Param::Owned(self.0) 2037 } 2038 } 2039 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2040 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2041 ::windows::runtime::Param::Borrowed(&self.0) 2042 } 2043 } 2044 impl ::std::convert::From<CompositeTransform> for Transform { from(value: CompositeTransform) -> Self2045 fn from(value: CompositeTransform) -> Self { 2046 ::std::convert::Into::<Transform>::into(&value) 2047 } 2048 } 2049 impl ::std::convert::From<&CompositeTransform> for Transform { from(value: &CompositeTransform) -> Self2050 fn from(value: &CompositeTransform) -> Self { 2051 ::windows::runtime::Interface::cast(value).unwrap() 2052 } 2053 } 2054 impl<'a> ::windows::runtime::IntoParam<'a, Transform> for CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, Transform>2055 fn into_param(self) -> ::windows::runtime::Param<'a, Transform> { 2056 ::windows::runtime::Param::Owned(::std::convert::Into::<Transform>::into(self)) 2057 } 2058 } 2059 impl<'a> ::windows::runtime::IntoParam<'a, Transform> for &CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, Transform>2060 fn into_param(self) -> ::windows::runtime::Param<'a, Transform> { 2061 ::windows::runtime::Param::Owned(::std::convert::Into::<Transform>::into(::std::clone::Clone::clone(self))) 2062 } 2063 } 2064 impl ::std::convert::From<CompositeTransform> for GeneralTransform { from(value: CompositeTransform) -> Self2065 fn from(value: CompositeTransform) -> Self { 2066 ::std::convert::Into::<GeneralTransform>::into(&value) 2067 } 2068 } 2069 impl ::std::convert::From<&CompositeTransform> for GeneralTransform { from(value: &CompositeTransform) -> Self2070 fn from(value: &CompositeTransform) -> Self { 2071 ::windows::runtime::Interface::cast(value).unwrap() 2072 } 2073 } 2074 impl<'a> ::windows::runtime::IntoParam<'a, GeneralTransform> for CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, GeneralTransform>2075 fn into_param(self) -> ::windows::runtime::Param<'a, GeneralTransform> { 2076 ::windows::runtime::Param::Owned(::std::convert::Into::<GeneralTransform>::into(self)) 2077 } 2078 } 2079 impl<'a> ::windows::runtime::IntoParam<'a, GeneralTransform> for &CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, GeneralTransform>2080 fn into_param(self) -> ::windows::runtime::Param<'a, GeneralTransform> { 2081 ::windows::runtime::Param::Owned(::std::convert::Into::<GeneralTransform>::into(::std::clone::Clone::clone(self))) 2082 } 2083 } 2084 impl ::std::convert::From<CompositeTransform> for super::DependencyObject { from(value: CompositeTransform) -> Self2085 fn from(value: CompositeTransform) -> Self { 2086 ::std::convert::Into::<super::DependencyObject>::into(&value) 2087 } 2088 } 2089 impl ::std::convert::From<&CompositeTransform> for super::DependencyObject { from(value: &CompositeTransform) -> Self2090 fn from(value: &CompositeTransform) -> Self { 2091 ::windows::runtime::Interface::cast(value).unwrap() 2092 } 2093 } 2094 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>2095 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 2096 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 2097 } 2098 } 2099 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &CompositeTransform { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>2100 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 2101 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 2102 } 2103 } 2104 unsafe impl ::std::marker::Send for CompositeTransform {} 2105 unsafe impl ::std::marker::Sync for CompositeTransform {} 2106 #[repr(transparent)] 2107 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2108 pub struct CompositionTarget(::windows::runtime::IInspectable); 2109 impl CompositionTarget { 2110 #[cfg(feature = "Foundation")] Rendering<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>2111 pub fn Rendering<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 2112 Self::ICompositionTargetStatics(|this| unsafe { 2113 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 2114 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 2115 }) 2116 } 2117 #[cfg(feature = "Foundation")] RemoveRendering<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>2118 pub fn RemoveRendering<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> { 2119 Self::ICompositionTargetStatics(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }) 2120 } 2121 #[cfg(feature = "Foundation")] SurfaceContentsLost<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>2122 pub fn SurfaceContentsLost<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventHandler<::windows::runtime::IInspectable>>>(handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 2123 Self::ICompositionTargetStatics(|this| unsafe { 2124 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 2125 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 2126 }) 2127 } 2128 #[cfg(feature = "Foundation")] RemoveSurfaceContentsLost<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>2129 pub fn RemoveSurfaceContentsLost<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> { 2130 Self::ICompositionTargetStatics(|this| unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }) 2131 } 2132 #[cfg(feature = "Foundation")] Rendered<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventHandler<RenderedEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>2133 pub fn Rendered<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventHandler<RenderedEventArgs>>>(handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 2134 Self::ICompositionTargetStatics3(|this| unsafe { 2135 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 2136 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 2137 }) 2138 } 2139 #[cfg(feature = "Foundation")] RemoveRendered<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()>2140 pub fn RemoveRendered<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(token: Param0) -> ::windows::runtime::Result<()> { 2141 Self::ICompositionTargetStatics3(|this| unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() }) 2142 } ICompositionTargetStatics<R, F: FnOnce(&ICompositionTargetStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2143 pub fn ICompositionTargetStatics<R, F: FnOnce(&ICompositionTargetStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 2144 static mut SHARED: ::windows::runtime::FactoryCache<CompositionTarget, ICompositionTargetStatics> = ::windows::runtime::FactoryCache::new(); 2145 unsafe { SHARED.call(callback) } 2146 } ICompositionTargetStatics3<R, F: FnOnce(&ICompositionTargetStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2147 pub fn ICompositionTargetStatics3<R, F: FnOnce(&ICompositionTargetStatics3) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 2148 static mut SHARED: ::windows::runtime::FactoryCache<CompositionTarget, ICompositionTargetStatics3> = ::windows::runtime::FactoryCache::new(); 2149 unsafe { SHARED.call(callback) } 2150 } 2151 } 2152 unsafe impl ::windows::runtime::RuntimeType for CompositionTarget { 2153 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.CompositionTarget;{26cfbff0-713c-4bec-8803-e101f7b14ed3})"); 2154 } 2155 unsafe impl ::windows::runtime::Interface for CompositionTarget { 2156 type Vtable = ICompositionTarget_abi; 2157 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(651149296, 28988, 19436, [136, 3, 225, 1, 247, 177, 78, 211]); 2158 } 2159 impl ::windows::runtime::RuntimeName for CompositionTarget { 2160 const NAME: &'static str = "Windows.UI.Xaml.Media.CompositionTarget"; 2161 } 2162 impl ::std::convert::From<CompositionTarget> for ::windows::runtime::IUnknown { from(value: CompositionTarget) -> Self2163 fn from(value: CompositionTarget) -> Self { 2164 unsafe { ::std::mem::transmute(value) } 2165 } 2166 } 2167 impl ::std::convert::From<&CompositionTarget> for ::windows::runtime::IUnknown { from(value: &CompositionTarget) -> Self2168 fn from(value: &CompositionTarget) -> Self { 2169 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2170 } 2171 } 2172 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for CompositionTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2173 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2174 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2175 } 2176 } 2177 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &CompositionTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2178 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2179 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2180 } 2181 } 2182 impl ::std::convert::From<CompositionTarget> for ::windows::runtime::IInspectable { from(value: CompositionTarget) -> Self2183 fn from(value: CompositionTarget) -> Self { 2184 value.0 2185 } 2186 } 2187 impl ::std::convert::From<&CompositionTarget> for ::windows::runtime::IInspectable { from(value: &CompositionTarget) -> Self2188 fn from(value: &CompositionTarget) -> Self { 2189 value.0.clone() 2190 } 2191 } 2192 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for CompositionTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2193 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2194 ::windows::runtime::Param::Owned(self.0) 2195 } 2196 } 2197 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a CompositionTarget { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2198 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2199 ::windows::runtime::Param::Borrowed(&self.0) 2200 } 2201 } 2202 unsafe impl ::std::marker::Send for CompositionTarget {} 2203 unsafe impl ::std::marker::Sync for CompositionTarget {} 2204 #[cfg(feature = "Foundation_Collections")] 2205 #[repr(transparent)] 2206 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2207 pub struct DoubleCollection(::windows::runtime::IInspectable); 2208 #[cfg(feature = "Foundation_Collections")] 2209 impl DoubleCollection { new() -> ::windows::runtime::Result<Self>2210 pub fn new() -> ::windows::runtime::Result<Self> { 2211 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 2212 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2213 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 2214 static mut SHARED: ::windows::runtime::FactoryCache<DoubleCollection, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 2215 unsafe { SHARED.call(callback) } 2216 } 2217 #[cfg(feature = "Foundation_Collections")] GetAt(&self, index: u32) -> ::windows::runtime::Result<f64>2218 pub fn GetAt(&self, index: u32) -> ::windows::runtime::Result<f64> { 2219 let this = self; 2220 unsafe { 2221 let mut result__: f64 = ::std::mem::zeroed(); 2222 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), index, &mut result__).from_abi::<f64>(result__) 2223 } 2224 } 2225 #[cfg(feature = "Foundation_Collections")] Size(&self) -> ::windows::runtime::Result<u32>2226 pub fn Size(&self) -> ::windows::runtime::Result<u32> { 2227 let this = self; 2228 unsafe { 2229 let mut result__: u32 = ::std::mem::zeroed(); 2230 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 2231 } 2232 } 2233 #[cfg(feature = "Foundation_Collections")] GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<f64>>2234 pub fn GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<f64>> { 2235 let this = self; 2236 unsafe { 2237 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2238 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IVectorView<f64>>(result__) 2239 } 2240 } 2241 #[cfg(feature = "Foundation_Collections")] IndexOf(&self, value: f64, index: &mut u32) -> ::windows::runtime::Result<bool>2242 pub fn IndexOf(&self, value: f64, index: &mut u32) -> ::windows::runtime::Result<bool> { 2243 let this = self; 2244 unsafe { 2245 let mut result__: bool = ::std::mem::zeroed(); 2246 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value, index, &mut result__).from_abi::<bool>(result__) 2247 } 2248 } 2249 #[cfg(feature = "Foundation_Collections")] SetAt(&self, index: u32, value: f64) -> ::windows::runtime::Result<()>2250 pub fn SetAt(&self, index: u32, value: f64) -> ::windows::runtime::Result<()> { 2251 let this = self; 2252 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), index, value).ok() } 2253 } 2254 #[cfg(feature = "Foundation_Collections")] InsertAt(&self, index: u32, value: f64) -> ::windows::runtime::Result<()>2255 pub fn InsertAt(&self, index: u32, value: f64) -> ::windows::runtime::Result<()> { 2256 let this = self; 2257 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), index, value).ok() } 2258 } 2259 #[cfg(feature = "Foundation_Collections")] RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>2260 pub fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> { 2261 let this = self; 2262 unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), index).ok() } 2263 } 2264 #[cfg(feature = "Foundation_Collections")] Append(&self, value: f64) -> ::windows::runtime::Result<()>2265 pub fn Append(&self, value: f64) -> ::windows::runtime::Result<()> { 2266 let this = self; 2267 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value).ok() } 2268 } 2269 #[cfg(feature = "Foundation_Collections")] RemoveAtEnd(&self) -> ::windows::runtime::Result<()>2270 pub fn RemoveAtEnd(&self) -> ::windows::runtime::Result<()> { 2271 let this = self; 2272 unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this)).ok() } 2273 } 2274 #[cfg(feature = "Foundation_Collections")] Clear(&self) -> ::windows::runtime::Result<()>2275 pub fn Clear(&self) -> ::windows::runtime::Result<()> { 2276 let this = self; 2277 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this)).ok() } 2278 } 2279 #[cfg(feature = "Foundation_Collections")] GetMany(&self, startindex: u32, items: &mut [<f64 as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32>2280 pub fn GetMany(&self, startindex: u32, items: &mut [<f64 as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32> { 2281 let this = self; 2282 unsafe { 2283 let mut result__: u32 = ::std::mem::zeroed(); 2284 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), startindex, items.len() as u32, ::std::mem::transmute_copy(&items), &mut result__).from_abi::<u32>(result__) 2285 } 2286 } 2287 #[cfg(feature = "Foundation_Collections")] ReplaceAll(&self, items: &[<f64 as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()>2288 pub fn ReplaceAll(&self, items: &[<f64 as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()> { 2289 let this = self; 2290 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), items.len() as u32, ::std::mem::transmute(items.as_ptr())).ok() } 2291 } 2292 #[cfg(feature = "Foundation_Collections")] First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<f64>>2293 pub fn First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<f64>> { 2294 let this = &::windows::runtime::Interface::cast::<super::super::super::Foundation::Collections::IIterable<f64>>(self)?; 2295 unsafe { 2296 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2297 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IIterator<f64>>(result__) 2298 } 2299 } 2300 } 2301 #[cfg(feature = "Foundation_Collections")] 2302 unsafe impl ::windows::runtime::RuntimeType for DoubleCollection { 2303 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.DoubleCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};f8))"); 2304 } 2305 #[cfg(feature = "Foundation_Collections")] 2306 unsafe impl ::windows::runtime::Interface for DoubleCollection { 2307 type Vtable = super::super::super::Foundation::Collections::IVector_abi<f64>; 2308 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_signature(<super::super::super::Foundation::Collections::IVector<f64> as ::windows::runtime::RuntimeType>::SIGNATURE); 2309 } 2310 #[cfg(feature = "Foundation_Collections")] 2311 impl ::windows::runtime::RuntimeName for DoubleCollection { 2312 const NAME: &'static str = "Windows.UI.Xaml.Media.DoubleCollection"; 2313 } 2314 #[cfg(feature = "Foundation_Collections")] 2315 impl ::std::convert::From<DoubleCollection> for ::windows::runtime::IUnknown { from(value: DoubleCollection) -> Self2316 fn from(value: DoubleCollection) -> Self { 2317 unsafe { ::std::mem::transmute(value) } 2318 } 2319 } 2320 #[cfg(feature = "Foundation_Collections")] 2321 impl ::std::convert::From<&DoubleCollection> for ::windows::runtime::IUnknown { from(value: &DoubleCollection) -> Self2322 fn from(value: &DoubleCollection) -> Self { 2323 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2324 } 2325 } 2326 #[cfg(feature = "Foundation_Collections")] 2327 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2328 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2329 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2330 } 2331 } 2332 #[cfg(feature = "Foundation_Collections")] 2333 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2334 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2335 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2336 } 2337 } 2338 #[cfg(feature = "Foundation_Collections")] 2339 impl ::std::convert::From<DoubleCollection> for ::windows::runtime::IInspectable { from(value: DoubleCollection) -> Self2340 fn from(value: DoubleCollection) -> Self { 2341 value.0 2342 } 2343 } 2344 #[cfg(feature = "Foundation_Collections")] 2345 impl ::std::convert::From<&DoubleCollection> for ::windows::runtime::IInspectable { from(value: &DoubleCollection) -> Self2346 fn from(value: &DoubleCollection) -> Self { 2347 value.0.clone() 2348 } 2349 } 2350 #[cfg(feature = "Foundation_Collections")] 2351 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2352 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2353 ::windows::runtime::Param::Owned(self.0) 2354 } 2355 } 2356 #[cfg(feature = "Foundation_Collections")] 2357 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2358 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2359 ::windows::runtime::Param::Borrowed(&self.0) 2360 } 2361 } 2362 #[cfg(feature = "Foundation_Collections")] 2363 impl ::std::convert::From<DoubleCollection> for super::super::super::Foundation::Collections::IVector<f64> { from(value: DoubleCollection) -> Self2364 fn from(value: DoubleCollection) -> Self { 2365 unsafe { ::std::mem::transmute(value) } 2366 } 2367 } 2368 #[cfg(feature = "Foundation_Collections")] 2369 impl ::std::convert::From<&DoubleCollection> for super::super::super::Foundation::Collections::IVector<f64> { from(value: &DoubleCollection) -> Self2370 fn from(value: &DoubleCollection) -> Self { 2371 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2372 } 2373 } 2374 #[cfg(feature = "Foundation_Collections")] 2375 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<f64>> for DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<f64>>2376 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<f64>> { 2377 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<f64>>::into(self)) 2378 } 2379 } 2380 #[cfg(feature = "Foundation_Collections")] 2381 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<f64>> for &DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<f64>>2382 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<f64>> { 2383 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<f64>>::into(::std::clone::Clone::clone(self))) 2384 } 2385 } 2386 #[cfg(feature = "Foundation_Collections")] 2387 impl ::std::convert::TryFrom<DoubleCollection> for super::super::super::Foundation::Collections::IIterable<f64> { 2388 type Error = ::windows::runtime::Error; try_from(value: DoubleCollection) -> ::windows::runtime::Result<Self>2389 fn try_from(value: DoubleCollection) -> ::windows::runtime::Result<Self> { 2390 ::std::convert::TryFrom::try_from(&value) 2391 } 2392 } 2393 #[cfg(feature = "Foundation_Collections")] 2394 impl ::std::convert::TryFrom<&DoubleCollection> for super::super::super::Foundation::Collections::IIterable<f64> { 2395 type Error = ::windows::runtime::Error; try_from(value: &DoubleCollection) -> ::windows::runtime::Result<Self>2396 fn try_from(value: &DoubleCollection) -> ::windows::runtime::Result<Self> { 2397 ::windows::runtime::Interface::cast(value) 2398 } 2399 } 2400 #[cfg(feature = "Foundation_Collections")] 2401 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<f64>> for DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<f64>>2402 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<f64>> { 2403 ::windows::runtime::IntoParam::into_param(&self) 2404 } 2405 } 2406 #[cfg(feature = "Foundation_Collections")] 2407 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<f64>> for &DoubleCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<f64>>2408 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<f64>> { 2409 ::std::convert::TryInto::<super::super::super::Foundation::Collections::IIterable<f64>>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 2410 } 2411 } 2412 #[cfg(feature = "Foundation_Collections")] 2413 unsafe impl ::std::marker::Send for DoubleCollection {} 2414 #[cfg(feature = "Foundation_Collections")] 2415 unsafe impl ::std::marker::Sync for DoubleCollection {} 2416 #[cfg(all(feature = "Foundation_Collections"))] 2417 impl ::std::iter::IntoIterator for DoubleCollection { 2418 type Item = f64; 2419 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter2420 fn into_iter(self) -> Self::IntoIter { 2421 ::std::iter::IntoIterator::into_iter(&self) 2422 } 2423 } 2424 #[cfg(all(feature = "Foundation_Collections"))] 2425 impl ::std::iter::IntoIterator for &DoubleCollection { 2426 type Item = f64; 2427 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter2428 fn into_iter(self) -> Self::IntoIter { 2429 super::super::super::Foundation::Collections::VectorIterator::new(::std::convert::TryInto::try_into(self).ok()) 2430 } 2431 } 2432 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2433 #[repr(transparent)] 2434 pub struct ElementCompositeMode(pub i32); 2435 impl ElementCompositeMode { 2436 pub const Inherit: ElementCompositeMode = ElementCompositeMode(0i32); 2437 pub const SourceOver: ElementCompositeMode = ElementCompositeMode(1i32); 2438 pub const MinBlend: ElementCompositeMode = ElementCompositeMode(2i32); 2439 } 2440 impl ::std::convert::From<i32> for ElementCompositeMode { from(value: i32) -> Self2441 fn from(value: i32) -> Self { 2442 Self(value) 2443 } 2444 } 2445 unsafe impl ::windows::runtime::Abi for ElementCompositeMode { 2446 type Abi = Self; 2447 type DefaultType = Self; 2448 } 2449 unsafe impl ::windows::runtime::RuntimeType for ElementCompositeMode { 2450 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.ElementCompositeMode;i4)"); 2451 } 2452 #[repr(transparent)] 2453 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2454 pub struct EllipseGeometry(::windows::runtime::IInspectable); 2455 impl EllipseGeometry { new() -> ::windows::runtime::Result<Self>2456 pub fn new() -> ::windows::runtime::Result<Self> { 2457 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 2458 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2459 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 2460 static mut SHARED: ::windows::runtime::FactoryCache<EllipseGeometry, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 2461 unsafe { SHARED.call(callback) } 2462 } 2463 #[cfg(feature = "Foundation")] Center(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point>2464 pub fn Center(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Point> { 2465 let this = self; 2466 unsafe { 2467 let mut result__: super::super::super::Foundation::Point = ::std::mem::zeroed(); 2468 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Point>(result__) 2469 } 2470 } 2471 #[cfg(feature = "Foundation")] SetCenter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()>2472 pub fn SetCenter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 2473 let this = self; 2474 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 2475 } RadiusX(&self) -> ::windows::runtime::Result<f64>2476 pub fn RadiusX(&self) -> ::windows::runtime::Result<f64> { 2477 let this = self; 2478 unsafe { 2479 let mut result__: f64 = ::std::mem::zeroed(); 2480 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 2481 } 2482 } SetRadiusX(&self, value: f64) -> ::windows::runtime::Result<()>2483 pub fn SetRadiusX(&self, value: f64) -> ::windows::runtime::Result<()> { 2484 let this = self; 2485 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value).ok() } 2486 } RadiusY(&self) -> ::windows::runtime::Result<f64>2487 pub fn RadiusY(&self) -> ::windows::runtime::Result<f64> { 2488 let this = self; 2489 unsafe { 2490 let mut result__: f64 = ::std::mem::zeroed(); 2491 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 2492 } 2493 } SetRadiusY(&self, value: f64) -> ::windows::runtime::Result<()>2494 pub fn SetRadiusY(&self, value: f64) -> ::windows::runtime::Result<()> { 2495 let this = self; 2496 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value).ok() } 2497 } CenterProperty() -> ::windows::runtime::Result<super::DependencyProperty>2498 pub fn CenterProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 2499 Self::IEllipseGeometryStatics(|this| unsafe { 2500 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2501 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 2502 }) 2503 } RadiusXProperty() -> ::windows::runtime::Result<super::DependencyProperty>2504 pub fn RadiusXProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 2505 Self::IEllipseGeometryStatics(|this| unsafe { 2506 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2507 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 2508 }) 2509 } RadiusYProperty() -> ::windows::runtime::Result<super::DependencyProperty>2510 pub fn RadiusYProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 2511 Self::IEllipseGeometryStatics(|this| unsafe { 2512 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2513 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 2514 }) 2515 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>2516 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 2517 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2518 unsafe { 2519 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2520 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 2521 } 2522 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>2523 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 2524 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2525 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 2526 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>2527 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 2528 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2529 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 2530 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>2531 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 2532 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2533 unsafe { 2534 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2535 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 2536 } 2537 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>2538 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 2539 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2540 unsafe { 2541 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2542 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 2543 } 2544 } 2545 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>2546 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 2547 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2548 unsafe { 2549 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2550 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 2551 } 2552 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>2553 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 2554 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 2555 unsafe { 2556 let mut result__: i64 = ::std::mem::zeroed(); 2557 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 2558 } 2559 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>2560 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 2561 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 2562 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 2563 } Transform(&self) -> ::windows::runtime::Result<Transform>2564 pub fn Transform(&self) -> ::windows::runtime::Result<Transform> { 2565 let this = &::windows::runtime::Interface::cast::<IGeometry>(self)?; 2566 unsafe { 2567 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2568 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 2569 } 2570 } SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>2571 pub fn SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 2572 let this = &::windows::runtime::Interface::cast::<IGeometry>(self)?; 2573 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 2574 } 2575 #[cfg(feature = "Foundation")] Bounds(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Rect>2576 pub fn Bounds(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Rect> { 2577 let this = &::windows::runtime::Interface::cast::<IGeometry>(self)?; 2578 unsafe { 2579 let mut result__: super::super::super::Foundation::Rect = ::std::mem::zeroed(); 2580 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Rect>(result__) 2581 } 2582 } IEllipseGeometryStatics<R, F: FnOnce(&IEllipseGeometryStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2583 pub fn IEllipseGeometryStatics<R, F: FnOnce(&IEllipseGeometryStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 2584 static mut SHARED: ::windows::runtime::FactoryCache<EllipseGeometry, IEllipseGeometryStatics> = ::windows::runtime::FactoryCache::new(); 2585 unsafe { SHARED.call(callback) } 2586 } 2587 } 2588 unsafe impl ::windows::runtime::RuntimeType for EllipseGeometry { 2589 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.EllipseGeometry;{d4f61bba-4ea2-40d6-aa6c-8d38aa87651f})"); 2590 } 2591 unsafe impl ::windows::runtime::Interface for EllipseGeometry { 2592 type Vtable = IEllipseGeometry_abi; 2593 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3572898746, 20130, 16598, [170, 108, 141, 56, 170, 135, 101, 31]); 2594 } 2595 impl ::windows::runtime::RuntimeName for EllipseGeometry { 2596 const NAME: &'static str = "Windows.UI.Xaml.Media.EllipseGeometry"; 2597 } 2598 impl ::std::convert::From<EllipseGeometry> for ::windows::runtime::IUnknown { from(value: EllipseGeometry) -> Self2599 fn from(value: EllipseGeometry) -> Self { 2600 unsafe { ::std::mem::transmute(value) } 2601 } 2602 } 2603 impl ::std::convert::From<&EllipseGeometry> for ::windows::runtime::IUnknown { from(value: &EllipseGeometry) -> Self2604 fn from(value: &EllipseGeometry) -> Self { 2605 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2606 } 2607 } 2608 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2609 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2610 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2611 } 2612 } 2613 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2614 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2615 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2616 } 2617 } 2618 impl ::std::convert::From<EllipseGeometry> for ::windows::runtime::IInspectable { from(value: EllipseGeometry) -> Self2619 fn from(value: EllipseGeometry) -> Self { 2620 value.0 2621 } 2622 } 2623 impl ::std::convert::From<&EllipseGeometry> for ::windows::runtime::IInspectable { from(value: &EllipseGeometry) -> Self2624 fn from(value: &EllipseGeometry) -> Self { 2625 value.0.clone() 2626 } 2627 } 2628 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2629 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2630 ::windows::runtime::Param::Owned(self.0) 2631 } 2632 } 2633 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2634 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2635 ::windows::runtime::Param::Borrowed(&self.0) 2636 } 2637 } 2638 impl ::std::convert::From<EllipseGeometry> for Geometry { from(value: EllipseGeometry) -> Self2639 fn from(value: EllipseGeometry) -> Self { 2640 ::std::convert::Into::<Geometry>::into(&value) 2641 } 2642 } 2643 impl ::std::convert::From<&EllipseGeometry> for Geometry { from(value: &EllipseGeometry) -> Self2644 fn from(value: &EllipseGeometry) -> Self { 2645 ::windows::runtime::Interface::cast(value).unwrap() 2646 } 2647 } 2648 impl<'a> ::windows::runtime::IntoParam<'a, Geometry> for EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, Geometry>2649 fn into_param(self) -> ::windows::runtime::Param<'a, Geometry> { 2650 ::windows::runtime::Param::Owned(::std::convert::Into::<Geometry>::into(self)) 2651 } 2652 } 2653 impl<'a> ::windows::runtime::IntoParam<'a, Geometry> for &EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, Geometry>2654 fn into_param(self) -> ::windows::runtime::Param<'a, Geometry> { 2655 ::windows::runtime::Param::Owned(::std::convert::Into::<Geometry>::into(::std::clone::Clone::clone(self))) 2656 } 2657 } 2658 impl ::std::convert::From<EllipseGeometry> for super::DependencyObject { from(value: EllipseGeometry) -> Self2659 fn from(value: EllipseGeometry) -> Self { 2660 ::std::convert::Into::<super::DependencyObject>::into(&value) 2661 } 2662 } 2663 impl ::std::convert::From<&EllipseGeometry> for super::DependencyObject { from(value: &EllipseGeometry) -> Self2664 fn from(value: &EllipseGeometry) -> Self { 2665 ::windows::runtime::Interface::cast(value).unwrap() 2666 } 2667 } 2668 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>2669 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 2670 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 2671 } 2672 } 2673 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &EllipseGeometry { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>2674 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 2675 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 2676 } 2677 } 2678 unsafe impl ::std::marker::Send for EllipseGeometry {} 2679 unsafe impl ::std::marker::Sync for EllipseGeometry {} 2680 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2681 #[repr(transparent)] 2682 pub struct FastPlayFallbackBehaviour(pub i32); 2683 impl FastPlayFallbackBehaviour { 2684 pub const Skip: FastPlayFallbackBehaviour = FastPlayFallbackBehaviour(0i32); 2685 pub const Hide: FastPlayFallbackBehaviour = FastPlayFallbackBehaviour(1i32); 2686 pub const Disable: FastPlayFallbackBehaviour = FastPlayFallbackBehaviour(2i32); 2687 } 2688 impl ::std::convert::From<i32> for FastPlayFallbackBehaviour { from(value: i32) -> Self2689 fn from(value: i32) -> Self { 2690 Self(value) 2691 } 2692 } 2693 unsafe impl ::windows::runtime::Abi for FastPlayFallbackBehaviour { 2694 type Abi = Self; 2695 type DefaultType = Self; 2696 } 2697 unsafe impl ::windows::runtime::RuntimeType for FastPlayFallbackBehaviour { 2698 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.FastPlayFallbackBehaviour;i4)"); 2699 } 2700 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2701 #[repr(transparent)] 2702 pub struct FillRule(pub i32); 2703 impl FillRule { 2704 pub const EvenOdd: FillRule = FillRule(0i32); 2705 pub const Nonzero: FillRule = FillRule(1i32); 2706 } 2707 impl ::std::convert::From<i32> for FillRule { from(value: i32) -> Self2708 fn from(value: i32) -> Self { 2709 Self(value) 2710 } 2711 } 2712 unsafe impl ::windows::runtime::Abi for FillRule { 2713 type Abi = Self; 2714 type DefaultType = Self; 2715 } 2716 unsafe impl ::windows::runtime::RuntimeType for FillRule { 2717 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.FillRule;i4)"); 2718 } 2719 #[repr(transparent)] 2720 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2721 pub struct FontFamily(::windows::runtime::IInspectable); 2722 impl FontFamily { Source(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING>2723 pub fn Source(&self) -> ::windows::runtime::Result<::windows::runtime::HSTRING> { 2724 let this = self; 2725 unsafe { 2726 let mut result__: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING> = ::std::mem::zeroed(); 2727 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<::windows::runtime::HSTRING>(result__) 2728 } 2729 } CreateInstanceWithName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(familyname: Param0) -> ::windows::runtime::Result<FontFamily>2730 pub fn CreateInstanceWithName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>>(familyname: Param0) -> ::windows::runtime::Result<FontFamily> { 2731 Self::IFontFamilyFactory(|this| unsafe { 2732 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2733 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), familyname.into_param().abi(), ::std::ptr::null_mut(), &mut ::std::option::Option::<::windows::runtime::IInspectable>::None as *mut _ as _, &mut result__).from_abi::<FontFamily>(result__) 2734 }) 2735 } XamlAutoFontFamily() -> ::windows::runtime::Result<FontFamily>2736 pub fn XamlAutoFontFamily() -> ::windows::runtime::Result<FontFamily> { 2737 Self::IFontFamilyStatics2(|this| unsafe { 2738 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2739 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<FontFamily>(result__) 2740 }) 2741 } IFontFamilyFactory<R, F: FnOnce(&IFontFamilyFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2742 pub fn IFontFamilyFactory<R, F: FnOnce(&IFontFamilyFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 2743 static mut SHARED: ::windows::runtime::FactoryCache<FontFamily, IFontFamilyFactory> = ::windows::runtime::FactoryCache::new(); 2744 unsafe { SHARED.call(callback) } 2745 } IFontFamilyStatics2<R, F: FnOnce(&IFontFamilyStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>2746 pub fn IFontFamilyStatics2<R, F: FnOnce(&IFontFamilyStatics2) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 2747 static mut SHARED: ::windows::runtime::FactoryCache<FontFamily, IFontFamilyStatics2> = ::windows::runtime::FactoryCache::new(); 2748 unsafe { SHARED.call(callback) } 2749 } 2750 } 2751 unsafe impl ::windows::runtime::RuntimeType for FontFamily { 2752 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.FontFamily;{92467e64-d66a-4cf4-9322-3d23b3c0c361})"); 2753 } 2754 unsafe impl ::windows::runtime::Interface for FontFamily { 2755 type Vtable = IFontFamily_abi; 2756 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2454093412, 54890, 19700, [147, 34, 61, 35, 179, 192, 195, 97]); 2757 } 2758 impl ::windows::runtime::RuntimeName for FontFamily { 2759 const NAME: &'static str = "Windows.UI.Xaml.Media.FontFamily"; 2760 } 2761 impl ::std::convert::From<FontFamily> for ::windows::runtime::IUnknown { from(value: FontFamily) -> Self2762 fn from(value: FontFamily) -> Self { 2763 unsafe { ::std::mem::transmute(value) } 2764 } 2765 } 2766 impl ::std::convert::From<&FontFamily> for ::windows::runtime::IUnknown { from(value: &FontFamily) -> Self2767 fn from(value: &FontFamily) -> Self { 2768 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2769 } 2770 } 2771 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for FontFamily { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2772 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2773 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2774 } 2775 } 2776 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &FontFamily { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2777 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2778 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2779 } 2780 } 2781 impl ::std::convert::From<FontFamily> for ::windows::runtime::IInspectable { from(value: FontFamily) -> Self2782 fn from(value: FontFamily) -> Self { 2783 value.0 2784 } 2785 } 2786 impl ::std::convert::From<&FontFamily> for ::windows::runtime::IInspectable { from(value: &FontFamily) -> Self2787 fn from(value: &FontFamily) -> Self { 2788 value.0.clone() 2789 } 2790 } 2791 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for FontFamily { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2792 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2793 ::windows::runtime::Param::Owned(self.0) 2794 } 2795 } 2796 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a FontFamily { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2797 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2798 ::windows::runtime::Param::Borrowed(&self.0) 2799 } 2800 } 2801 unsafe impl ::std::marker::Send for FontFamily {} 2802 unsafe impl ::std::marker::Sync for FontFamily {} 2803 #[repr(transparent)] 2804 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2805 pub struct GeneralTransform(::windows::runtime::IInspectable); 2806 impl GeneralTransform { Inverse(&self) -> ::windows::runtime::Result<GeneralTransform>2807 pub fn Inverse(&self) -> ::windows::runtime::Result<GeneralTransform> { 2808 let this = self; 2809 unsafe { 2810 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2811 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GeneralTransform>(result__) 2812 } 2813 } 2814 #[cfg(feature = "Foundation")] TransformPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, point: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Point>2815 pub fn TransformPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, point: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Point> { 2816 let this = self; 2817 unsafe { 2818 let mut result__: super::super::super::Foundation::Point = ::std::mem::zeroed(); 2819 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), point.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::Point>(result__) 2820 } 2821 } 2822 #[cfg(feature = "Foundation")] TryTransform<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool>2823 pub fn TryTransform<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool> { 2824 let this = self; 2825 unsafe { 2826 let mut result__: bool = ::std::mem::zeroed(); 2827 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), inpoint.into_param().abi(), outpoint, &mut result__).from_abi::<bool>(result__) 2828 } 2829 } 2830 #[cfg(feature = "Foundation")] TransformBounds<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect>2831 pub fn TransformBounds<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect> { 2832 let this = self; 2833 unsafe { 2834 let mut result__: super::super::super::Foundation::Rect = ::std::mem::zeroed(); 2835 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), rect.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::Rect>(result__) 2836 } 2837 } InverseCore(&self) -> ::windows::runtime::Result<GeneralTransform>2838 pub fn InverseCore(&self) -> ::windows::runtime::Result<GeneralTransform> { 2839 let this = &::windows::runtime::Interface::cast::<IGeneralTransformOverrides>(self)?; 2840 unsafe { 2841 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2842 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GeneralTransform>(result__) 2843 } 2844 } 2845 #[cfg(feature = "Foundation")] TryTransformCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool>2846 pub fn TryTransformCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Point>>(&self, inpoint: Param0, outpoint: &mut super::super::super::Foundation::Point) -> ::windows::runtime::Result<bool> { 2847 let this = &::windows::runtime::Interface::cast::<IGeneralTransformOverrides>(self)?; 2848 unsafe { 2849 let mut result__: bool = ::std::mem::zeroed(); 2850 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), inpoint.into_param().abi(), outpoint, &mut result__).from_abi::<bool>(result__) 2851 } 2852 } 2853 #[cfg(feature = "Foundation")] TransformBoundsCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect>2854 pub fn TransformBoundsCore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Rect>>(&self, rect: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::Rect> { 2855 let this = &::windows::runtime::Interface::cast::<IGeneralTransformOverrides>(self)?; 2856 unsafe { 2857 let mut result__: super::super::super::Foundation::Rect = ::std::mem::zeroed(); 2858 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), rect.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::Rect>(result__) 2859 } 2860 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>2861 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 2862 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2863 unsafe { 2864 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2865 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 2866 } 2867 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>2868 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 2869 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2870 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 2871 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>2872 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 2873 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2874 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 2875 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>2876 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 2877 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2878 unsafe { 2879 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2880 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 2881 } 2882 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>2883 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 2884 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2885 unsafe { 2886 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2887 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 2888 } 2889 } 2890 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>2891 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 2892 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 2893 unsafe { 2894 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2895 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 2896 } 2897 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>2898 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 2899 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 2900 unsafe { 2901 let mut result__: i64 = ::std::mem::zeroed(); 2902 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 2903 } 2904 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>2905 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 2906 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 2907 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 2908 } 2909 } 2910 unsafe impl ::windows::runtime::RuntimeType for GeneralTransform { 2911 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.GeneralTransform;{a06798b7-a2ec-415f-ade2-eade9333f2c7})"); 2912 } 2913 unsafe impl ::windows::runtime::Interface for GeneralTransform { 2914 type Vtable = IGeneralTransform_abi; 2915 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2691143863, 41708, 16735, [173, 226, 234, 222, 147, 51, 242, 199]); 2916 } 2917 impl ::windows::runtime::RuntimeName for GeneralTransform { 2918 const NAME: &'static str = "Windows.UI.Xaml.Media.GeneralTransform"; 2919 } 2920 impl ::std::convert::From<GeneralTransform> for ::windows::runtime::IUnknown { from(value: GeneralTransform) -> Self2921 fn from(value: GeneralTransform) -> Self { 2922 unsafe { ::std::mem::transmute(value) } 2923 } 2924 } 2925 impl ::std::convert::From<&GeneralTransform> for ::windows::runtime::IUnknown { from(value: &GeneralTransform) -> Self2926 fn from(value: &GeneralTransform) -> Self { 2927 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2928 } 2929 } 2930 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GeneralTransform { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2931 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2932 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2933 } 2934 } 2935 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GeneralTransform { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2936 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2937 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2938 } 2939 } 2940 impl ::std::convert::From<GeneralTransform> for ::windows::runtime::IInspectable { from(value: GeneralTransform) -> Self2941 fn from(value: GeneralTransform) -> Self { 2942 value.0 2943 } 2944 } 2945 impl ::std::convert::From<&GeneralTransform> for ::windows::runtime::IInspectable { from(value: &GeneralTransform) -> Self2946 fn from(value: &GeneralTransform) -> Self { 2947 value.0.clone() 2948 } 2949 } 2950 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GeneralTransform { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2951 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2952 ::windows::runtime::Param::Owned(self.0) 2953 } 2954 } 2955 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GeneralTransform { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>2956 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 2957 ::windows::runtime::Param::Borrowed(&self.0) 2958 } 2959 } 2960 impl ::std::convert::From<GeneralTransform> for super::DependencyObject { from(value: GeneralTransform) -> Self2961 fn from(value: GeneralTransform) -> Self { 2962 ::std::convert::Into::<super::DependencyObject>::into(&value) 2963 } 2964 } 2965 impl ::std::convert::From<&GeneralTransform> for super::DependencyObject { from(value: &GeneralTransform) -> Self2966 fn from(value: &GeneralTransform) -> Self { 2967 ::windows::runtime::Interface::cast(value).unwrap() 2968 } 2969 } 2970 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for GeneralTransform { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>2971 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 2972 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 2973 } 2974 } 2975 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &GeneralTransform { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>2976 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 2977 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 2978 } 2979 } 2980 unsafe impl ::std::marker::Send for GeneralTransform {} 2981 unsafe impl ::std::marker::Sync for GeneralTransform {} 2982 #[repr(transparent)] 2983 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2984 pub struct Geometry(::windows::runtime::IInspectable); 2985 impl Geometry { Transform(&self) -> ::windows::runtime::Result<Transform>2986 pub fn Transform(&self) -> ::windows::runtime::Result<Transform> { 2987 let this = self; 2988 unsafe { 2989 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 2990 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 2991 } 2992 } SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>2993 pub fn SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 2994 let this = self; 2995 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 2996 } 2997 #[cfg(feature = "Foundation")] Bounds(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Rect>2998 pub fn Bounds(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Rect> { 2999 let this = self; 3000 unsafe { 3001 let mut result__: super::super::super::Foundation::Rect = ::std::mem::zeroed(); 3002 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Rect>(result__) 3003 } 3004 } Empty() -> ::windows::runtime::Result<Geometry>3005 pub fn Empty() -> ::windows::runtime::Result<Geometry> { 3006 Self::IGeometryStatics(|this| unsafe { 3007 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3008 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Geometry>(result__) 3009 }) 3010 } StandardFlatteningTolerance() -> ::windows::runtime::Result<f64>3011 pub fn StandardFlatteningTolerance() -> ::windows::runtime::Result<f64> { 3012 Self::IGeometryStatics(|this| unsafe { 3013 let mut result__: f64 = ::std::mem::zeroed(); 3014 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 3015 }) 3016 } TransformProperty() -> ::windows::runtime::Result<super::DependencyProperty>3017 pub fn TransformProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3018 Self::IGeometryStatics(|this| unsafe { 3019 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3020 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3021 }) 3022 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3023 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3024 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3025 unsafe { 3026 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3027 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3028 } 3029 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>3030 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 3031 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3032 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 3033 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>3034 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 3035 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3036 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 3037 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3038 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3039 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3040 unsafe { 3041 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3042 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3043 } 3044 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3045 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3046 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3047 unsafe { 3048 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3049 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3050 } 3051 } 3052 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>3053 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 3054 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3055 unsafe { 3056 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3057 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 3058 } 3059 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>3060 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 3061 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3062 unsafe { 3063 let mut result__: i64 = ::std::mem::zeroed(); 3064 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 3065 } 3066 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>3067 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 3068 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3069 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 3070 } IGeometryStatics<R, F: FnOnce(&IGeometryStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3071 pub fn IGeometryStatics<R, F: FnOnce(&IGeometryStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3072 static mut SHARED: ::windows::runtime::FactoryCache<Geometry, IGeometryStatics> = ::windows::runtime::FactoryCache::new(); 3073 unsafe { SHARED.call(callback) } 3074 } 3075 } 3076 unsafe impl ::windows::runtime::RuntimeType for Geometry { 3077 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.Geometry;{fa123889-0acd-417b-b62d-5ca1bf4dfc0e})"); 3078 } 3079 unsafe impl ::windows::runtime::Interface for Geometry { 3080 type Vtable = IGeometry_abi; 3081 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4195498121, 2765, 16763, [182, 45, 92, 161, 191, 77, 252, 14]); 3082 } 3083 impl ::windows::runtime::RuntimeName for Geometry { 3084 const NAME: &'static str = "Windows.UI.Xaml.Media.Geometry"; 3085 } 3086 impl ::std::convert::From<Geometry> for ::windows::runtime::IUnknown { from(value: Geometry) -> Self3087 fn from(value: Geometry) -> Self { 3088 unsafe { ::std::mem::transmute(value) } 3089 } 3090 } 3091 impl ::std::convert::From<&Geometry> for ::windows::runtime::IUnknown { from(value: &Geometry) -> Self3092 fn from(value: &Geometry) -> Self { 3093 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3094 } 3095 } 3096 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for Geometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3097 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3098 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3099 } 3100 } 3101 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &Geometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3102 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3103 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3104 } 3105 } 3106 impl ::std::convert::From<Geometry> for ::windows::runtime::IInspectable { from(value: Geometry) -> Self3107 fn from(value: Geometry) -> Self { 3108 value.0 3109 } 3110 } 3111 impl ::std::convert::From<&Geometry> for ::windows::runtime::IInspectable { from(value: &Geometry) -> Self3112 fn from(value: &Geometry) -> Self { 3113 value.0.clone() 3114 } 3115 } 3116 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for Geometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3117 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3118 ::windows::runtime::Param::Owned(self.0) 3119 } 3120 } 3121 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a Geometry { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3122 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3123 ::windows::runtime::Param::Borrowed(&self.0) 3124 } 3125 } 3126 impl ::std::convert::From<Geometry> for super::DependencyObject { from(value: Geometry) -> Self3127 fn from(value: Geometry) -> Self { 3128 ::std::convert::Into::<super::DependencyObject>::into(&value) 3129 } 3130 } 3131 impl ::std::convert::From<&Geometry> for super::DependencyObject { from(value: &Geometry) -> Self3132 fn from(value: &Geometry) -> Self { 3133 ::windows::runtime::Interface::cast(value).unwrap() 3134 } 3135 } 3136 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for Geometry { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>3137 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 3138 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 3139 } 3140 } 3141 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &Geometry { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>3142 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 3143 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 3144 } 3145 } 3146 unsafe impl ::std::marker::Send for Geometry {} 3147 unsafe impl ::std::marker::Sync for Geometry {} 3148 #[cfg(feature = "Foundation_Collections")] 3149 #[repr(transparent)] 3150 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3151 pub struct GeometryCollection(::windows::runtime::IInspectable); 3152 #[cfg(feature = "Foundation_Collections")] 3153 impl GeometryCollection { new() -> ::windows::runtime::Result<Self>3154 pub fn new() -> ::windows::runtime::Result<Self> { 3155 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 3156 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3157 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3158 static mut SHARED: ::windows::runtime::FactoryCache<GeometryCollection, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 3159 unsafe { SHARED.call(callback) } 3160 } 3161 #[cfg(feature = "Foundation_Collections")] GetAt(&self, index: u32) -> ::windows::runtime::Result<Geometry>3162 pub fn GetAt(&self, index: u32) -> ::windows::runtime::Result<Geometry> { 3163 let this = self; 3164 unsafe { 3165 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3166 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), index, &mut result__).from_abi::<Geometry>(result__) 3167 } 3168 } 3169 #[cfg(feature = "Foundation_Collections")] Size(&self) -> ::windows::runtime::Result<u32>3170 pub fn Size(&self) -> ::windows::runtime::Result<u32> { 3171 let this = self; 3172 unsafe { 3173 let mut result__: u32 = ::std::mem::zeroed(); 3174 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 3175 } 3176 } 3177 #[cfg(feature = "Foundation_Collections")] GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<Geometry>>3178 pub fn GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<Geometry>> { 3179 let this = self; 3180 unsafe { 3181 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3182 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IVectorView<Geometry>>(result__) 3183 } 3184 } 3185 #[cfg(feature = "Foundation_Collections")] IndexOf<'a, Param0: ::windows::runtime::IntoParam<'a, Geometry>>(&self, value: Param0, index: &mut u32) -> ::windows::runtime::Result<bool>3186 pub fn IndexOf<'a, Param0: ::windows::runtime::IntoParam<'a, Geometry>>(&self, value: Param0, index: &mut u32) -> ::windows::runtime::Result<bool> { 3187 let this = self; 3188 unsafe { 3189 let mut result__: bool = ::std::mem::zeroed(); 3190 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi(), index, &mut result__).from_abi::<bool>(result__) 3191 } 3192 } 3193 #[cfg(feature = "Foundation_Collections")] SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, Geometry>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>3194 pub fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, Geometry>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> { 3195 let this = self; 3196 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), index, value.into_param().abi()).ok() } 3197 } 3198 #[cfg(feature = "Foundation_Collections")] InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, Geometry>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>3199 pub fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, Geometry>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> { 3200 let this = self; 3201 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), index, value.into_param().abi()).ok() } 3202 } 3203 #[cfg(feature = "Foundation_Collections")] RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>3204 pub fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> { 3205 let this = self; 3206 unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), index).ok() } 3207 } 3208 #[cfg(feature = "Foundation_Collections")] Append<'a, Param0: ::windows::runtime::IntoParam<'a, Geometry>>(&self, value: Param0) -> ::windows::runtime::Result<()>3209 pub fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, Geometry>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3210 let this = self; 3211 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3212 } 3213 #[cfg(feature = "Foundation_Collections")] RemoveAtEnd(&self) -> ::windows::runtime::Result<()>3214 pub fn RemoveAtEnd(&self) -> ::windows::runtime::Result<()> { 3215 let this = self; 3216 unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this)).ok() } 3217 } 3218 #[cfg(feature = "Foundation_Collections")] Clear(&self) -> ::windows::runtime::Result<()>3219 pub fn Clear(&self) -> ::windows::runtime::Result<()> { 3220 let this = self; 3221 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this)).ok() } 3222 } 3223 #[cfg(feature = "Foundation_Collections")] GetMany(&self, startindex: u32, items: &mut [<Geometry as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32>3224 pub fn GetMany(&self, startindex: u32, items: &mut [<Geometry as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32> { 3225 let this = self; 3226 unsafe { 3227 let mut result__: u32 = ::std::mem::zeroed(); 3228 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), startindex, items.len() as u32, ::std::mem::transmute_copy(&items), &mut result__).from_abi::<u32>(result__) 3229 } 3230 } 3231 #[cfg(feature = "Foundation_Collections")] ReplaceAll(&self, items: &[<Geometry as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()>3232 pub fn ReplaceAll(&self, items: &[<Geometry as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()> { 3233 let this = self; 3234 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), items.len() as u32, ::std::mem::transmute(items.as_ptr())).ok() } 3235 } 3236 #[cfg(feature = "Foundation_Collections")] First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<Geometry>>3237 pub fn First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<Geometry>> { 3238 let this = &::windows::runtime::Interface::cast::<super::super::super::Foundation::Collections::IIterable<Geometry>>(self)?; 3239 unsafe { 3240 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3241 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IIterator<Geometry>>(result__) 3242 } 3243 } 3244 } 3245 #[cfg(feature = "Foundation_Collections")] 3246 unsafe impl ::windows::runtime::RuntimeType for GeometryCollection { 3247 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.GeometryCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Xaml.Media.Geometry;{fa123889-0acd-417b-b62d-5ca1bf4dfc0e})))"); 3248 } 3249 #[cfg(feature = "Foundation_Collections")] 3250 unsafe impl ::windows::runtime::Interface for GeometryCollection { 3251 type Vtable = super::super::super::Foundation::Collections::IVector_abi<Geometry>; 3252 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_signature(<super::super::super::Foundation::Collections::IVector<Geometry> as ::windows::runtime::RuntimeType>::SIGNATURE); 3253 } 3254 #[cfg(feature = "Foundation_Collections")] 3255 impl ::windows::runtime::RuntimeName for GeometryCollection { 3256 const NAME: &'static str = "Windows.UI.Xaml.Media.GeometryCollection"; 3257 } 3258 #[cfg(feature = "Foundation_Collections")] 3259 impl ::std::convert::From<GeometryCollection> for ::windows::runtime::IUnknown { from(value: GeometryCollection) -> Self3260 fn from(value: GeometryCollection) -> Self { 3261 unsafe { ::std::mem::transmute(value) } 3262 } 3263 } 3264 #[cfg(feature = "Foundation_Collections")] 3265 impl ::std::convert::From<&GeometryCollection> for ::windows::runtime::IUnknown { from(value: &GeometryCollection) -> Self3266 fn from(value: &GeometryCollection) -> Self { 3267 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3268 } 3269 } 3270 #[cfg(feature = "Foundation_Collections")] 3271 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3272 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3273 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3274 } 3275 } 3276 #[cfg(feature = "Foundation_Collections")] 3277 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3278 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3279 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3280 } 3281 } 3282 #[cfg(feature = "Foundation_Collections")] 3283 impl ::std::convert::From<GeometryCollection> for ::windows::runtime::IInspectable { from(value: GeometryCollection) -> Self3284 fn from(value: GeometryCollection) -> Self { 3285 value.0 3286 } 3287 } 3288 #[cfg(feature = "Foundation_Collections")] 3289 impl ::std::convert::From<&GeometryCollection> for ::windows::runtime::IInspectable { from(value: &GeometryCollection) -> Self3290 fn from(value: &GeometryCollection) -> Self { 3291 value.0.clone() 3292 } 3293 } 3294 #[cfg(feature = "Foundation_Collections")] 3295 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3296 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3297 ::windows::runtime::Param::Owned(self.0) 3298 } 3299 } 3300 #[cfg(feature = "Foundation_Collections")] 3301 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3302 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3303 ::windows::runtime::Param::Borrowed(&self.0) 3304 } 3305 } 3306 #[cfg(feature = "Foundation_Collections")] 3307 impl ::std::convert::From<GeometryCollection> for super::super::super::Foundation::Collections::IVector<Geometry> { from(value: GeometryCollection) -> Self3308 fn from(value: GeometryCollection) -> Self { 3309 unsafe { ::std::mem::transmute(value) } 3310 } 3311 } 3312 #[cfg(feature = "Foundation_Collections")] 3313 impl ::std::convert::From<&GeometryCollection> for super::super::super::Foundation::Collections::IVector<Geometry> { from(value: &GeometryCollection) -> Self3314 fn from(value: &GeometryCollection) -> Self { 3315 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3316 } 3317 } 3318 #[cfg(feature = "Foundation_Collections")] 3319 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<Geometry>> for GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Geometry>>3320 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Geometry>> { 3321 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<Geometry>>::into(self)) 3322 } 3323 } 3324 #[cfg(feature = "Foundation_Collections")] 3325 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<Geometry>> for &GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Geometry>>3326 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<Geometry>> { 3327 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<Geometry>>::into(::std::clone::Clone::clone(self))) 3328 } 3329 } 3330 #[cfg(feature = "Foundation_Collections")] 3331 impl ::std::convert::TryFrom<GeometryCollection> for super::super::super::Foundation::Collections::IIterable<Geometry> { 3332 type Error = ::windows::runtime::Error; try_from(value: GeometryCollection) -> ::windows::runtime::Result<Self>3333 fn try_from(value: GeometryCollection) -> ::windows::runtime::Result<Self> { 3334 ::std::convert::TryFrom::try_from(&value) 3335 } 3336 } 3337 #[cfg(feature = "Foundation_Collections")] 3338 impl ::std::convert::TryFrom<&GeometryCollection> for super::super::super::Foundation::Collections::IIterable<Geometry> { 3339 type Error = ::windows::runtime::Error; try_from(value: &GeometryCollection) -> ::windows::runtime::Result<Self>3340 fn try_from(value: &GeometryCollection) -> ::windows::runtime::Result<Self> { 3341 ::windows::runtime::Interface::cast(value) 3342 } 3343 } 3344 #[cfg(feature = "Foundation_Collections")] 3345 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<Geometry>> for GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Geometry>>3346 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Geometry>> { 3347 ::windows::runtime::IntoParam::into_param(&self) 3348 } 3349 } 3350 #[cfg(feature = "Foundation_Collections")] 3351 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<Geometry>> for &GeometryCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Geometry>>3352 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<Geometry>> { 3353 ::std::convert::TryInto::<super::super::super::Foundation::Collections::IIterable<Geometry>>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 3354 } 3355 } 3356 #[cfg(feature = "Foundation_Collections")] 3357 unsafe impl ::std::marker::Send for GeometryCollection {} 3358 #[cfg(feature = "Foundation_Collections")] 3359 unsafe impl ::std::marker::Sync for GeometryCollection {} 3360 #[cfg(all(feature = "Foundation_Collections"))] 3361 impl ::std::iter::IntoIterator for GeometryCollection { 3362 type Item = Geometry; 3363 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter3364 fn into_iter(self) -> Self::IntoIter { 3365 ::std::iter::IntoIterator::into_iter(&self) 3366 } 3367 } 3368 #[cfg(all(feature = "Foundation_Collections"))] 3369 impl ::std::iter::IntoIterator for &GeometryCollection { 3370 type Item = Geometry; 3371 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter3372 fn into_iter(self) -> Self::IntoIter { 3373 super::super::super::Foundation::Collections::VectorIterator::new(::std::convert::TryInto::try_into(self).ok()) 3374 } 3375 } 3376 #[repr(transparent)] 3377 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3378 pub struct GeometryGroup(::windows::runtime::IInspectable); 3379 impl GeometryGroup { new() -> ::windows::runtime::Result<Self>3380 pub fn new() -> ::windows::runtime::Result<Self> { 3381 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 3382 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3383 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3384 static mut SHARED: ::windows::runtime::FactoryCache<GeometryGroup, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 3385 unsafe { SHARED.call(callback) } 3386 } FillRule(&self) -> ::windows::runtime::Result<FillRule>3387 pub fn FillRule(&self) -> ::windows::runtime::Result<FillRule> { 3388 let this = self; 3389 unsafe { 3390 let mut result__: FillRule = ::std::mem::zeroed(); 3391 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<FillRule>(result__) 3392 } 3393 } SetFillRule(&self, value: FillRule) -> ::windows::runtime::Result<()>3394 pub fn SetFillRule(&self, value: FillRule) -> ::windows::runtime::Result<()> { 3395 let this = self; 3396 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 3397 } 3398 #[cfg(feature = "Foundation_Collections")] Children(&self) -> ::windows::runtime::Result<GeometryCollection>3399 pub fn Children(&self) -> ::windows::runtime::Result<GeometryCollection> { 3400 let this = self; 3401 unsafe { 3402 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3403 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GeometryCollection>(result__) 3404 } 3405 } 3406 #[cfg(feature = "Foundation_Collections")] SetChildren<'a, Param0: ::windows::runtime::IntoParam<'a, GeometryCollection>>(&self, value: Param0) -> ::windows::runtime::Result<()>3407 pub fn SetChildren<'a, Param0: ::windows::runtime::IntoParam<'a, GeometryCollection>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3408 let this = self; 3409 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3410 } FillRuleProperty() -> ::windows::runtime::Result<super::DependencyProperty>3411 pub fn FillRuleProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3412 Self::IGeometryGroupStatics(|this| unsafe { 3413 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3414 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3415 }) 3416 } ChildrenProperty() -> ::windows::runtime::Result<super::DependencyProperty>3417 pub fn ChildrenProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3418 Self::IGeometryGroupStatics(|this| unsafe { 3419 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3420 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3421 }) 3422 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3423 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3424 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3425 unsafe { 3426 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3427 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3428 } 3429 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>3430 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 3431 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3432 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 3433 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>3434 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 3435 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3436 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 3437 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3438 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3439 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3440 unsafe { 3441 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3442 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3443 } 3444 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3445 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3446 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3447 unsafe { 3448 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3449 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3450 } 3451 } 3452 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>3453 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 3454 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3455 unsafe { 3456 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3457 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 3458 } 3459 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>3460 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 3461 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3462 unsafe { 3463 let mut result__: i64 = ::std::mem::zeroed(); 3464 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 3465 } 3466 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>3467 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 3468 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3469 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 3470 } Transform(&self) -> ::windows::runtime::Result<Transform>3471 pub fn Transform(&self) -> ::windows::runtime::Result<Transform> { 3472 let this = &::windows::runtime::Interface::cast::<IGeometry>(self)?; 3473 unsafe { 3474 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3475 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 3476 } 3477 } SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>3478 pub fn SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3479 let this = &::windows::runtime::Interface::cast::<IGeometry>(self)?; 3480 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3481 } 3482 #[cfg(feature = "Foundation")] Bounds(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Rect>3483 pub fn Bounds(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Rect> { 3484 let this = &::windows::runtime::Interface::cast::<IGeometry>(self)?; 3485 unsafe { 3486 let mut result__: super::super::super::Foundation::Rect = ::std::mem::zeroed(); 3487 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Rect>(result__) 3488 } 3489 } IGeometryGroupStatics<R, F: FnOnce(&IGeometryGroupStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3490 pub fn IGeometryGroupStatics<R, F: FnOnce(&IGeometryGroupStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3491 static mut SHARED: ::windows::runtime::FactoryCache<GeometryGroup, IGeometryGroupStatics> = ::windows::runtime::FactoryCache::new(); 3492 unsafe { SHARED.call(callback) } 3493 } 3494 } 3495 unsafe impl ::windows::runtime::RuntimeType for GeometryGroup { 3496 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.GeometryGroup;{55225a61-8677-4c8c-8e46-ee3dc355114b})"); 3497 } 3498 unsafe impl ::windows::runtime::Interface for GeometryGroup { 3499 type Vtable = IGeometryGroup_abi; 3500 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1428314721, 34423, 19596, [142, 70, 238, 61, 195, 85, 17, 75]); 3501 } 3502 impl ::windows::runtime::RuntimeName for GeometryGroup { 3503 const NAME: &'static str = "Windows.UI.Xaml.Media.GeometryGroup"; 3504 } 3505 impl ::std::convert::From<GeometryGroup> for ::windows::runtime::IUnknown { from(value: GeometryGroup) -> Self3506 fn from(value: GeometryGroup) -> Self { 3507 unsafe { ::std::mem::transmute(value) } 3508 } 3509 } 3510 impl ::std::convert::From<&GeometryGroup> for ::windows::runtime::IUnknown { from(value: &GeometryGroup) -> Self3511 fn from(value: &GeometryGroup) -> Self { 3512 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3513 } 3514 } 3515 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3516 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3517 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3518 } 3519 } 3520 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3521 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3522 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3523 } 3524 } 3525 impl ::std::convert::From<GeometryGroup> for ::windows::runtime::IInspectable { from(value: GeometryGroup) -> Self3526 fn from(value: GeometryGroup) -> Self { 3527 value.0 3528 } 3529 } 3530 impl ::std::convert::From<&GeometryGroup> for ::windows::runtime::IInspectable { from(value: &GeometryGroup) -> Self3531 fn from(value: &GeometryGroup) -> Self { 3532 value.0.clone() 3533 } 3534 } 3535 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3536 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3537 ::windows::runtime::Param::Owned(self.0) 3538 } 3539 } 3540 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3541 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3542 ::windows::runtime::Param::Borrowed(&self.0) 3543 } 3544 } 3545 impl ::std::convert::From<GeometryGroup> for Geometry { from(value: GeometryGroup) -> Self3546 fn from(value: GeometryGroup) -> Self { 3547 ::std::convert::Into::<Geometry>::into(&value) 3548 } 3549 } 3550 impl ::std::convert::From<&GeometryGroup> for Geometry { from(value: &GeometryGroup) -> Self3551 fn from(value: &GeometryGroup) -> Self { 3552 ::windows::runtime::Interface::cast(value).unwrap() 3553 } 3554 } 3555 impl<'a> ::windows::runtime::IntoParam<'a, Geometry> for GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, Geometry>3556 fn into_param(self) -> ::windows::runtime::Param<'a, Geometry> { 3557 ::windows::runtime::Param::Owned(::std::convert::Into::<Geometry>::into(self)) 3558 } 3559 } 3560 impl<'a> ::windows::runtime::IntoParam<'a, Geometry> for &GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, Geometry>3561 fn into_param(self) -> ::windows::runtime::Param<'a, Geometry> { 3562 ::windows::runtime::Param::Owned(::std::convert::Into::<Geometry>::into(::std::clone::Clone::clone(self))) 3563 } 3564 } 3565 impl ::std::convert::From<GeometryGroup> for super::DependencyObject { from(value: GeometryGroup) -> Self3566 fn from(value: GeometryGroup) -> Self { 3567 ::std::convert::Into::<super::DependencyObject>::into(&value) 3568 } 3569 } 3570 impl ::std::convert::From<&GeometryGroup> for super::DependencyObject { from(value: &GeometryGroup) -> Self3571 fn from(value: &GeometryGroup) -> Self { 3572 ::windows::runtime::Interface::cast(value).unwrap() 3573 } 3574 } 3575 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>3576 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 3577 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 3578 } 3579 } 3580 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &GeometryGroup { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>3581 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 3582 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 3583 } 3584 } 3585 unsafe impl ::std::marker::Send for GeometryGroup {} 3586 unsafe impl ::std::marker::Sync for GeometryGroup {} 3587 #[repr(transparent)] 3588 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3589 pub struct GradientBrush(::windows::runtime::IInspectable); 3590 impl GradientBrush { SpreadMethod(&self) -> ::windows::runtime::Result<GradientSpreadMethod>3591 pub fn SpreadMethod(&self) -> ::windows::runtime::Result<GradientSpreadMethod> { 3592 let this = self; 3593 unsafe { 3594 let mut result__: GradientSpreadMethod = ::std::mem::zeroed(); 3595 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GradientSpreadMethod>(result__) 3596 } 3597 } SetSpreadMethod(&self, value: GradientSpreadMethod) -> ::windows::runtime::Result<()>3598 pub fn SetSpreadMethod(&self, value: GradientSpreadMethod) -> ::windows::runtime::Result<()> { 3599 let this = self; 3600 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 3601 } MappingMode(&self) -> ::windows::runtime::Result<BrushMappingMode>3602 pub fn MappingMode(&self) -> ::windows::runtime::Result<BrushMappingMode> { 3603 let this = self; 3604 unsafe { 3605 let mut result__: BrushMappingMode = ::std::mem::zeroed(); 3606 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<BrushMappingMode>(result__) 3607 } 3608 } SetMappingMode(&self, value: BrushMappingMode) -> ::windows::runtime::Result<()>3609 pub fn SetMappingMode(&self, value: BrushMappingMode) -> ::windows::runtime::Result<()> { 3610 let this = self; 3611 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value).ok() } 3612 } ColorInterpolationMode(&self) -> ::windows::runtime::Result<ColorInterpolationMode>3613 pub fn ColorInterpolationMode(&self) -> ::windows::runtime::Result<ColorInterpolationMode> { 3614 let this = self; 3615 unsafe { 3616 let mut result__: ColorInterpolationMode = ::std::mem::zeroed(); 3617 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ColorInterpolationMode>(result__) 3618 } 3619 } SetColorInterpolationMode(&self, value: ColorInterpolationMode) -> ::windows::runtime::Result<()>3620 pub fn SetColorInterpolationMode(&self, value: ColorInterpolationMode) -> ::windows::runtime::Result<()> { 3621 let this = self; 3622 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value).ok() } 3623 } 3624 #[cfg(feature = "Foundation_Collections")] GradientStops(&self) -> ::windows::runtime::Result<GradientStopCollection>3625 pub fn GradientStops(&self) -> ::windows::runtime::Result<GradientStopCollection> { 3626 let this = self; 3627 unsafe { 3628 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3629 (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), &mut result__).from_abi::<GradientStopCollection>(result__) 3630 } 3631 } 3632 #[cfg(feature = "Foundation_Collections")] SetGradientStops<'a, Param0: ::windows::runtime::IntoParam<'a, GradientStopCollection>>(&self, value: Param0) -> ::windows::runtime::Result<()>3633 pub fn SetGradientStops<'a, Param0: ::windows::runtime::IntoParam<'a, GradientStopCollection>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3634 let this = self; 3635 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3636 } SpreadMethodProperty() -> ::windows::runtime::Result<super::DependencyProperty>3637 pub fn SpreadMethodProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3638 Self::IGradientBrushStatics(|this| unsafe { 3639 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3640 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3641 }) 3642 } MappingModeProperty() -> ::windows::runtime::Result<super::DependencyProperty>3643 pub fn MappingModeProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3644 Self::IGradientBrushStatics(|this| unsafe { 3645 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3646 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3647 }) 3648 } ColorInterpolationModeProperty() -> ::windows::runtime::Result<super::DependencyProperty>3649 pub fn ColorInterpolationModeProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3650 Self::IGradientBrushStatics(|this| unsafe { 3651 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3652 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3653 }) 3654 } GradientStopsProperty() -> ::windows::runtime::Result<super::DependencyProperty>3655 pub fn GradientStopsProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3656 Self::IGradientBrushStatics(|this| unsafe { 3657 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3658 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3659 }) 3660 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3661 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3662 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3663 unsafe { 3664 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3665 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3666 } 3667 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>3668 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 3669 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3670 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 3671 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>3672 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 3673 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3674 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 3675 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3676 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3677 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3678 unsafe { 3679 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3680 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3681 } 3682 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3683 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3684 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3685 unsafe { 3686 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3687 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3688 } 3689 } 3690 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>3691 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 3692 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3693 unsafe { 3694 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3695 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 3696 } 3697 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>3698 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 3699 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3700 unsafe { 3701 let mut result__: i64 = ::std::mem::zeroed(); 3702 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 3703 } 3704 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>3705 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 3706 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3707 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 3708 } Opacity(&self) -> ::windows::runtime::Result<f64>3709 pub fn Opacity(&self) -> ::windows::runtime::Result<f64> { 3710 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 3711 unsafe { 3712 let mut result__: f64 = ::std::mem::zeroed(); 3713 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 3714 } 3715 } SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()>3716 pub fn SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()> { 3717 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 3718 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 3719 } Transform(&self) -> ::windows::runtime::Result<Transform>3720 pub fn Transform(&self) -> ::windows::runtime::Result<Transform> { 3721 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 3722 unsafe { 3723 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3724 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 3725 } 3726 } SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>3727 pub fn SetTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3728 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 3729 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3730 } RelativeTransform(&self) -> ::windows::runtime::Result<Transform>3731 pub fn RelativeTransform(&self) -> ::windows::runtime::Result<Transform> { 3732 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 3733 unsafe { 3734 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3735 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), &mut result__).from_abi::<Transform>(result__) 3736 } 3737 } SetRelativeTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()>3738 pub fn SetRelativeTransform<'a, Param0: ::windows::runtime::IntoParam<'a, Transform>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3739 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 3740 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3741 } 3742 #[cfg(feature = "UI_Composition")] PopulatePropertyInfo<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, propertyinfo: Param1) -> ::windows::runtime::Result<()>3743 pub fn PopulatePropertyInfo<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, propertyinfo: Param1) -> ::windows::runtime::Result<()> { 3744 let this = &::windows::runtime::Interface::cast::<super::super::Composition::IAnimationObject>(self)?; 3745 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), propertyname.into_param().abi(), propertyinfo.into_param().abi()).ok() } 3746 } 3747 #[cfg(feature = "UI_Composition")] PopulatePropertyInfoOverride<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, animationpropertyinfo: Param1) -> ::windows::runtime::Result<()>3748 pub fn PopulatePropertyInfoOverride<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::HSTRING>, Param1: ::windows::runtime::IntoParam<'a, super::super::Composition::AnimationPropertyInfo>>(&self, propertyname: Param0, animationpropertyinfo: Param1) -> ::windows::runtime::Result<()> { 3749 let this = &::windows::runtime::Interface::cast::<IBrushOverrides2>(self)?; 3750 unsafe { (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), propertyname.into_param().abi(), animationpropertyinfo.into_param().abi()).ok() } 3751 } IGradientBrushStatics<R, F: FnOnce(&IGradientBrushStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3752 pub fn IGradientBrushStatics<R, F: FnOnce(&IGradientBrushStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3753 static mut SHARED: ::windows::runtime::FactoryCache<GradientBrush, IGradientBrushStatics> = ::windows::runtime::FactoryCache::new(); 3754 unsafe { SHARED.call(callback) } 3755 } 3756 } 3757 unsafe impl ::windows::runtime::RuntimeType for GradientBrush { 3758 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.GradientBrush;{2166e69f-935a-4191-8e3c-1c8dfdfcdc78})"); 3759 } 3760 unsafe impl ::windows::runtime::Interface for GradientBrush { 3761 type Vtable = IGradientBrush_abi; 3762 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(560391839, 37722, 16785, [142, 60, 28, 141, 253, 252, 220, 120]); 3763 } 3764 impl ::windows::runtime::RuntimeName for GradientBrush { 3765 const NAME: &'static str = "Windows.UI.Xaml.Media.GradientBrush"; 3766 } 3767 impl ::std::convert::From<GradientBrush> for ::windows::runtime::IUnknown { from(value: GradientBrush) -> Self3768 fn from(value: GradientBrush) -> Self { 3769 unsafe { ::std::mem::transmute(value) } 3770 } 3771 } 3772 impl ::std::convert::From<&GradientBrush> for ::windows::runtime::IUnknown { from(value: &GradientBrush) -> Self3773 fn from(value: &GradientBrush) -> Self { 3774 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3775 } 3776 } 3777 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3778 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3779 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3780 } 3781 } 3782 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3783 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3784 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3785 } 3786 } 3787 impl ::std::convert::From<GradientBrush> for ::windows::runtime::IInspectable { from(value: GradientBrush) -> Self3788 fn from(value: GradientBrush) -> Self { 3789 value.0 3790 } 3791 } 3792 impl ::std::convert::From<&GradientBrush> for ::windows::runtime::IInspectable { from(value: &GradientBrush) -> Self3793 fn from(value: &GradientBrush) -> Self { 3794 value.0.clone() 3795 } 3796 } 3797 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3798 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3799 ::windows::runtime::Param::Owned(self.0) 3800 } 3801 } 3802 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>3803 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 3804 ::windows::runtime::Param::Borrowed(&self.0) 3805 } 3806 } 3807 #[cfg(feature = "UI_Composition")] 3808 impl ::std::convert::TryFrom<GradientBrush> for super::super::Composition::IAnimationObject { 3809 type Error = ::windows::runtime::Error; try_from(value: GradientBrush) -> ::windows::runtime::Result<Self>3810 fn try_from(value: GradientBrush) -> ::windows::runtime::Result<Self> { 3811 ::std::convert::TryFrom::try_from(&value) 3812 } 3813 } 3814 #[cfg(feature = "UI_Composition")] 3815 impl ::std::convert::TryFrom<&GradientBrush> for super::super::Composition::IAnimationObject { 3816 type Error = ::windows::runtime::Error; try_from(value: &GradientBrush) -> ::windows::runtime::Result<Self>3817 fn try_from(value: &GradientBrush) -> ::windows::runtime::Result<Self> { 3818 ::windows::runtime::Interface::cast(value) 3819 } 3820 } 3821 #[cfg(feature = "UI_Composition")] 3822 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Composition::IAnimationObject> for GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject>3823 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject> { 3824 ::windows::runtime::IntoParam::into_param(&self) 3825 } 3826 } 3827 #[cfg(feature = "UI_Composition")] 3828 impl<'a> ::windows::runtime::IntoParam<'a, super::super::Composition::IAnimationObject> for &GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject>3829 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::Composition::IAnimationObject> { 3830 ::std::convert::TryInto::<super::super::Composition::IAnimationObject>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 3831 } 3832 } 3833 impl ::std::convert::From<GradientBrush> for Brush { from(value: GradientBrush) -> Self3834 fn from(value: GradientBrush) -> Self { 3835 ::std::convert::Into::<Brush>::into(&value) 3836 } 3837 } 3838 impl ::std::convert::From<&GradientBrush> for Brush { from(value: &GradientBrush) -> Self3839 fn from(value: &GradientBrush) -> Self { 3840 ::windows::runtime::Interface::cast(value).unwrap() 3841 } 3842 } 3843 impl<'a> ::windows::runtime::IntoParam<'a, Brush> for GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, Brush>3844 fn into_param(self) -> ::windows::runtime::Param<'a, Brush> { 3845 ::windows::runtime::Param::Owned(::std::convert::Into::<Brush>::into(self)) 3846 } 3847 } 3848 impl<'a> ::windows::runtime::IntoParam<'a, Brush> for &GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, Brush>3849 fn into_param(self) -> ::windows::runtime::Param<'a, Brush> { 3850 ::windows::runtime::Param::Owned(::std::convert::Into::<Brush>::into(::std::clone::Clone::clone(self))) 3851 } 3852 } 3853 impl ::std::convert::From<GradientBrush> for super::DependencyObject { from(value: GradientBrush) -> Self3854 fn from(value: GradientBrush) -> Self { 3855 ::std::convert::Into::<super::DependencyObject>::into(&value) 3856 } 3857 } 3858 impl ::std::convert::From<&GradientBrush> for super::DependencyObject { from(value: &GradientBrush) -> Self3859 fn from(value: &GradientBrush) -> Self { 3860 ::windows::runtime::Interface::cast(value).unwrap() 3861 } 3862 } 3863 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>3864 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 3865 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 3866 } 3867 } 3868 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &GradientBrush { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>3869 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 3870 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 3871 } 3872 } 3873 unsafe impl ::std::marker::Send for GradientBrush {} 3874 unsafe impl ::std::marker::Sync for GradientBrush {} 3875 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3876 #[repr(transparent)] 3877 pub struct GradientSpreadMethod(pub i32); 3878 impl GradientSpreadMethod { 3879 pub const Pad: GradientSpreadMethod = GradientSpreadMethod(0i32); 3880 pub const Reflect: GradientSpreadMethod = GradientSpreadMethod(1i32); 3881 pub const Repeat: GradientSpreadMethod = GradientSpreadMethod(2i32); 3882 } 3883 impl ::std::convert::From<i32> for GradientSpreadMethod { from(value: i32) -> Self3884 fn from(value: i32) -> Self { 3885 Self(value) 3886 } 3887 } 3888 unsafe impl ::windows::runtime::Abi for GradientSpreadMethod { 3889 type Abi = Self; 3890 type DefaultType = Self; 3891 } 3892 unsafe impl ::windows::runtime::RuntimeType for GradientSpreadMethod { 3893 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"enum(Windows.UI.Xaml.Media.GradientSpreadMethod;i4)"); 3894 } 3895 #[repr(transparent)] 3896 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3897 pub struct GradientStop(::windows::runtime::IInspectable); 3898 impl GradientStop { new() -> ::windows::runtime::Result<Self>3899 pub fn new() -> ::windows::runtime::Result<Self> { 3900 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 3901 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3902 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3903 static mut SHARED: ::windows::runtime::FactoryCache<GradientStop, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 3904 unsafe { SHARED.call(callback) } 3905 } Color(&self) -> ::windows::runtime::Result<super::super::Color>3906 pub fn Color(&self) -> ::windows::runtime::Result<super::super::Color> { 3907 let this = self; 3908 unsafe { 3909 let mut result__: super::super::Color = ::std::mem::zeroed(); 3910 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Color>(result__) 3911 } 3912 } SetColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()>3913 pub fn SetColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Color>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 3914 let this = self; 3915 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 3916 } Offset(&self) -> ::windows::runtime::Result<f64>3917 pub fn Offset(&self) -> ::windows::runtime::Result<f64> { 3918 let this = self; 3919 unsafe { 3920 let mut result__: f64 = ::std::mem::zeroed(); 3921 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 3922 } 3923 } SetOffset(&self, value: f64) -> ::windows::runtime::Result<()>3924 pub fn SetOffset(&self, value: f64) -> ::windows::runtime::Result<()> { 3925 let this = self; 3926 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value).ok() } 3927 } ColorProperty() -> ::windows::runtime::Result<super::DependencyProperty>3928 pub fn ColorProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3929 Self::IGradientStopStatics(|this| unsafe { 3930 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3931 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3932 }) 3933 } OffsetProperty() -> ::windows::runtime::Result<super::DependencyProperty>3934 pub fn OffsetProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 3935 Self::IGradientStopStatics(|this| unsafe { 3936 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3937 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 3938 }) 3939 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3940 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3941 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3942 unsafe { 3943 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3944 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3945 } 3946 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>3947 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 3948 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3949 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 3950 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>3951 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 3952 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3953 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 3954 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3955 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3956 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3957 unsafe { 3958 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3959 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3960 } 3961 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>3962 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 3963 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3964 unsafe { 3965 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3966 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 3967 } 3968 } 3969 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>3970 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 3971 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 3972 unsafe { 3973 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 3974 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 3975 } 3976 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>3977 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 3978 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3979 unsafe { 3980 let mut result__: i64 = ::std::mem::zeroed(); 3981 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 3982 } 3983 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>3984 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 3985 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 3986 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 3987 } IGradientStopStatics<R, F: FnOnce(&IGradientStopStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>3988 pub fn IGradientStopStatics<R, F: FnOnce(&IGradientStopStatics) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 3989 static mut SHARED: ::windows::runtime::FactoryCache<GradientStop, IGradientStopStatics> = ::windows::runtime::FactoryCache::new(); 3990 unsafe { SHARED.call(callback) } 3991 } 3992 } 3993 unsafe impl ::windows::runtime::RuntimeType for GradientStop { 3994 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.GradientStop;{665f44fe-2e59-4c4a-ab53-076a100ccd81})"); 3995 } 3996 unsafe impl ::windows::runtime::Interface for GradientStop { 3997 type Vtable = IGradientStop_abi; 3998 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1717519614, 11865, 19530, [171, 83, 7, 106, 16, 12, 205, 129]); 3999 } 4000 impl ::windows::runtime::RuntimeName for GradientStop { 4001 const NAME: &'static str = "Windows.UI.Xaml.Media.GradientStop"; 4002 } 4003 impl ::std::convert::From<GradientStop> for ::windows::runtime::IUnknown { from(value: GradientStop) -> Self4004 fn from(value: GradientStop) -> Self { 4005 unsafe { ::std::mem::transmute(value) } 4006 } 4007 } 4008 impl ::std::convert::From<&GradientStop> for ::windows::runtime::IUnknown { from(value: &GradientStop) -> Self4009 fn from(value: &GradientStop) -> Self { 4010 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4011 } 4012 } 4013 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GradientStop { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4014 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4015 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4016 } 4017 } 4018 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GradientStop { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4019 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4020 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4021 } 4022 } 4023 impl ::std::convert::From<GradientStop> for ::windows::runtime::IInspectable { from(value: GradientStop) -> Self4024 fn from(value: GradientStop) -> Self { 4025 value.0 4026 } 4027 } 4028 impl ::std::convert::From<&GradientStop> for ::windows::runtime::IInspectable { from(value: &GradientStop) -> Self4029 fn from(value: &GradientStop) -> Self { 4030 value.0.clone() 4031 } 4032 } 4033 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GradientStop { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>4034 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 4035 ::windows::runtime::Param::Owned(self.0) 4036 } 4037 } 4038 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GradientStop { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>4039 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 4040 ::windows::runtime::Param::Borrowed(&self.0) 4041 } 4042 } 4043 impl ::std::convert::From<GradientStop> for super::DependencyObject { from(value: GradientStop) -> Self4044 fn from(value: GradientStop) -> Self { 4045 ::std::convert::Into::<super::DependencyObject>::into(&value) 4046 } 4047 } 4048 impl ::std::convert::From<&GradientStop> for super::DependencyObject { from(value: &GradientStop) -> Self4049 fn from(value: &GradientStop) -> Self { 4050 ::windows::runtime::Interface::cast(value).unwrap() 4051 } 4052 } 4053 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for GradientStop { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>4054 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 4055 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(self)) 4056 } 4057 } 4058 impl<'a> ::windows::runtime::IntoParam<'a, super::DependencyObject> for &GradientStop { into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject>4059 fn into_param(self) -> ::windows::runtime::Param<'a, super::DependencyObject> { 4060 ::windows::runtime::Param::Owned(::std::convert::Into::<super::DependencyObject>::into(::std::clone::Clone::clone(self))) 4061 } 4062 } 4063 unsafe impl ::std::marker::Send for GradientStop {} 4064 unsafe impl ::std::marker::Sync for GradientStop {} 4065 #[cfg(feature = "Foundation_Collections")] 4066 #[repr(transparent)] 4067 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4068 pub struct GradientStopCollection(::windows::runtime::IInspectable); 4069 #[cfg(feature = "Foundation_Collections")] 4070 impl GradientStopCollection { new() -> ::windows::runtime::Result<Self>4071 pub fn new() -> ::windows::runtime::Result<Self> { 4072 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 4073 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>4074 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 4075 static mut SHARED: ::windows::runtime::FactoryCache<GradientStopCollection, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 4076 unsafe { SHARED.call(callback) } 4077 } 4078 #[cfg(feature = "Foundation_Collections")] GetAt(&self, index: u32) -> ::windows::runtime::Result<GradientStop>4079 pub fn GetAt(&self, index: u32) -> ::windows::runtime::Result<GradientStop> { 4080 let this = self; 4081 unsafe { 4082 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 4083 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), index, &mut result__).from_abi::<GradientStop>(result__) 4084 } 4085 } 4086 #[cfg(feature = "Foundation_Collections")] Size(&self) -> ::windows::runtime::Result<u32>4087 pub fn Size(&self) -> ::windows::runtime::Result<u32> { 4088 let this = self; 4089 unsafe { 4090 let mut result__: u32 = ::std::mem::zeroed(); 4091 (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), &mut result__).from_abi::<u32>(result__) 4092 } 4093 } 4094 #[cfg(feature = "Foundation_Collections")] GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<GradientStop>>4095 pub fn GetView(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IVectorView<GradientStop>> { 4096 let this = self; 4097 unsafe { 4098 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 4099 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IVectorView<GradientStop>>(result__) 4100 } 4101 } 4102 #[cfg(feature = "Foundation_Collections")] IndexOf<'a, Param0: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, value: Param0, index: &mut u32) -> ::windows::runtime::Result<bool>4103 pub fn IndexOf<'a, Param0: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, value: Param0, index: &mut u32) -> ::windows::runtime::Result<bool> { 4104 let this = self; 4105 unsafe { 4106 let mut result__: bool = ::std::mem::zeroed(); 4107 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), value.into_param().abi(), index, &mut result__).from_abi::<bool>(result__) 4108 } 4109 } 4110 #[cfg(feature = "Foundation_Collections")] SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>4111 pub fn SetAt<'a, Param1: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> { 4112 let this = self; 4113 unsafe { (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), index, value.into_param().abi()).ok() } 4114 } 4115 #[cfg(feature = "Foundation_Collections")] InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()>4116 pub fn InsertAt<'a, Param1: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, index: u32, value: Param1) -> ::windows::runtime::Result<()> { 4117 let this = self; 4118 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), index, value.into_param().abi()).ok() } 4119 } 4120 #[cfg(feature = "Foundation_Collections")] RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()>4121 pub fn RemoveAt(&self, index: u32) -> ::windows::runtime::Result<()> { 4122 let this = self; 4123 unsafe { (::windows::runtime::Interface::vtable(this).12)(::std::mem::transmute_copy(this), index).ok() } 4124 } 4125 #[cfg(feature = "Foundation_Collections")] Append<'a, Param0: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, value: Param0) -> ::windows::runtime::Result<()>4126 pub fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, GradientStop>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 4127 let this = self; 4128 unsafe { (::windows::runtime::Interface::vtable(this).13)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 4129 } 4130 #[cfg(feature = "Foundation_Collections")] RemoveAtEnd(&self) -> ::windows::runtime::Result<()>4131 pub fn RemoveAtEnd(&self) -> ::windows::runtime::Result<()> { 4132 let this = self; 4133 unsafe { (::windows::runtime::Interface::vtable(this).14)(::std::mem::transmute_copy(this)).ok() } 4134 } 4135 #[cfg(feature = "Foundation_Collections")] Clear(&self) -> ::windows::runtime::Result<()>4136 pub fn Clear(&self) -> ::windows::runtime::Result<()> { 4137 let this = self; 4138 unsafe { (::windows::runtime::Interface::vtable(this).15)(::std::mem::transmute_copy(this)).ok() } 4139 } 4140 #[cfg(feature = "Foundation_Collections")] GetMany(&self, startindex: u32, items: &mut [<GradientStop as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32>4141 pub fn GetMany(&self, startindex: u32, items: &mut [<GradientStop as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<u32> { 4142 let this = self; 4143 unsafe { 4144 let mut result__: u32 = ::std::mem::zeroed(); 4145 (::windows::runtime::Interface::vtable(this).16)(::std::mem::transmute_copy(this), startindex, items.len() as u32, ::std::mem::transmute_copy(&items), &mut result__).from_abi::<u32>(result__) 4146 } 4147 } 4148 #[cfg(feature = "Foundation_Collections")] ReplaceAll(&self, items: &[<GradientStop as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()>4149 pub fn ReplaceAll(&self, items: &[<GradientStop as ::windows::runtime::Abi>::DefaultType]) -> ::windows::runtime::Result<()> { 4150 let this = self; 4151 unsafe { (::windows::runtime::Interface::vtable(this).17)(::std::mem::transmute_copy(this), items.len() as u32, ::std::mem::transmute(items.as_ptr())).ok() } 4152 } 4153 #[cfg(feature = "Foundation_Collections")] First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<GradientStop>>4154 pub fn First(&self) -> ::windows::runtime::Result<super::super::super::Foundation::Collections::IIterator<GradientStop>> { 4155 let this = &::windows::runtime::Interface::cast::<super::super::super::Foundation::Collections::IIterable<GradientStop>>(self)?; 4156 unsafe { 4157 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 4158 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::super::Foundation::Collections::IIterator<GradientStop>>(result__) 4159 } 4160 } 4161 } 4162 #[cfg(feature = "Foundation_Collections")] 4163 unsafe impl ::windows::runtime::RuntimeType for GradientStopCollection { 4164 const SIGNATURE: ::windows::runtime::ConstBuffer = ::windows::runtime::ConstBuffer::from_slice(b"rc(Windows.UI.Xaml.Media.GradientStopCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Xaml.Media.GradientStop;{665f44fe-2e59-4c4a-ab53-076a100ccd81})))"); 4165 } 4166 #[cfg(feature = "Foundation_Collections")] 4167 unsafe impl ::windows::runtime::Interface for GradientStopCollection { 4168 type Vtable = super::super::super::Foundation::Collections::IVector_abi<GradientStop>; 4169 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_signature(<super::super::super::Foundation::Collections::IVector<GradientStop> as ::windows::runtime::RuntimeType>::SIGNATURE); 4170 } 4171 #[cfg(feature = "Foundation_Collections")] 4172 impl ::windows::runtime::RuntimeName for GradientStopCollection { 4173 const NAME: &'static str = "Windows.UI.Xaml.Media.GradientStopCollection"; 4174 } 4175 #[cfg(feature = "Foundation_Collections")] 4176 impl ::std::convert::From<GradientStopCollection> for ::windows::runtime::IUnknown { from(value: GradientStopCollection) -> Self4177 fn from(value: GradientStopCollection) -> Self { 4178 unsafe { ::std::mem::transmute(value) } 4179 } 4180 } 4181 #[cfg(feature = "Foundation_Collections")] 4182 impl ::std::convert::From<&GradientStopCollection> for ::windows::runtime::IUnknown { from(value: &GradientStopCollection) -> Self4183 fn from(value: &GradientStopCollection) -> Self { 4184 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4185 } 4186 } 4187 #[cfg(feature = "Foundation_Collections")] 4188 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4189 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4190 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4191 } 4192 } 4193 #[cfg(feature = "Foundation_Collections")] 4194 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4195 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4196 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4197 } 4198 } 4199 #[cfg(feature = "Foundation_Collections")] 4200 impl ::std::convert::From<GradientStopCollection> for ::windows::runtime::IInspectable { from(value: GradientStopCollection) -> Self4201 fn from(value: GradientStopCollection) -> Self { 4202 value.0 4203 } 4204 } 4205 #[cfg(feature = "Foundation_Collections")] 4206 impl ::std::convert::From<&GradientStopCollection> for ::windows::runtime::IInspectable { from(value: &GradientStopCollection) -> Self4207 fn from(value: &GradientStopCollection) -> Self { 4208 value.0.clone() 4209 } 4210 } 4211 #[cfg(feature = "Foundation_Collections")] 4212 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>4213 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 4214 ::windows::runtime::Param::Owned(self.0) 4215 } 4216 } 4217 #[cfg(feature = "Foundation_Collections")] 4218 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable> for &'a GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable>4219 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IInspectable> { 4220 ::windows::runtime::Param::Borrowed(&self.0) 4221 } 4222 } 4223 #[cfg(feature = "Foundation_Collections")] 4224 impl ::std::convert::From<GradientStopCollection> for super::super::super::Foundation::Collections::IVector<GradientStop> { from(value: GradientStopCollection) -> Self4225 fn from(value: GradientStopCollection) -> Self { 4226 unsafe { ::std::mem::transmute(value) } 4227 } 4228 } 4229 #[cfg(feature = "Foundation_Collections")] 4230 impl ::std::convert::From<&GradientStopCollection> for super::super::super::Foundation::Collections::IVector<GradientStop> { from(value: &GradientStopCollection) -> Self4231 fn from(value: &GradientStopCollection) -> Self { 4232 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4233 } 4234 } 4235 #[cfg(feature = "Foundation_Collections")] 4236 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<GradientStop>> for GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<GradientStop>>4237 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<GradientStop>> { 4238 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<GradientStop>>::into(self)) 4239 } 4240 } 4241 #[cfg(feature = "Foundation_Collections")] 4242 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IVector<GradientStop>> for &GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<GradientStop>>4243 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IVector<GradientStop>> { 4244 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::Foundation::Collections::IVector<GradientStop>>::into(::std::clone::Clone::clone(self))) 4245 } 4246 } 4247 #[cfg(feature = "Foundation_Collections")] 4248 impl ::std::convert::TryFrom<GradientStopCollection> for super::super::super::Foundation::Collections::IIterable<GradientStop> { 4249 type Error = ::windows::runtime::Error; try_from(value: GradientStopCollection) -> ::windows::runtime::Result<Self>4250 fn try_from(value: GradientStopCollection) -> ::windows::runtime::Result<Self> { 4251 ::std::convert::TryFrom::try_from(&value) 4252 } 4253 } 4254 #[cfg(feature = "Foundation_Collections")] 4255 impl ::std::convert::TryFrom<&GradientStopCollection> for super::super::super::Foundation::Collections::IIterable<GradientStop> { 4256 type Error = ::windows::runtime::Error; try_from(value: &GradientStopCollection) -> ::windows::runtime::Result<Self>4257 fn try_from(value: &GradientStopCollection) -> ::windows::runtime::Result<Self> { 4258 ::windows::runtime::Interface::cast(value) 4259 } 4260 } 4261 #[cfg(feature = "Foundation_Collections")] 4262 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<GradientStop>> for GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<GradientStop>>4263 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<GradientStop>> { 4264 ::windows::runtime::IntoParam::into_param(&self) 4265 } 4266 } 4267 #[cfg(feature = "Foundation_Collections")] 4268 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<GradientStop>> for &GradientStopCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<GradientStop>>4269 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::Foundation::Collections::IIterable<GradientStop>> { 4270 ::std::convert::TryInto::<super::super::super::Foundation::Collections::IIterable<GradientStop>>::try_into(self).map(::windows::runtime::Param::Owned).unwrap_or(::windows::runtime::Param::None) 4271 } 4272 } 4273 #[cfg(feature = "Foundation_Collections")] 4274 unsafe impl ::std::marker::Send for GradientStopCollection {} 4275 #[cfg(feature = "Foundation_Collections")] 4276 unsafe impl ::std::marker::Sync for GradientStopCollection {} 4277 #[cfg(all(feature = "Foundation_Collections"))] 4278 impl ::std::iter::IntoIterator for GradientStopCollection { 4279 type Item = GradientStop; 4280 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter4281 fn into_iter(self) -> Self::IntoIter { 4282 ::std::iter::IntoIterator::into_iter(&self) 4283 } 4284 } 4285 #[cfg(all(feature = "Foundation_Collections"))] 4286 impl ::std::iter::IntoIterator for &GradientStopCollection { 4287 type Item = GradientStop; 4288 type IntoIter = super::super::super::Foundation::Collections::VectorIterator<Self::Item>; into_iter(self) -> Self::IntoIter4289 fn into_iter(self) -> Self::IntoIter { 4290 super::super::super::Foundation::Collections::VectorIterator::new(::std::convert::TryInto::try_into(self).ok()) 4291 } 4292 } 4293 #[repr(transparent)] 4294 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4295 #[doc(hidden)] 4296 pub struct IAcrylicBrush(::windows::runtime::IInspectable); 4297 unsafe impl ::windows::runtime::Interface for IAcrylicBrush { 4298 type Vtable = IAcrylicBrush_abi; 4299 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2042351438, 52582, 20251, [168, 182, 205, 109, 41, 119, 193, 141]); 4300 } 4301 #[repr(C)] 4302 #[doc(hidden)] 4303 pub struct IAcrylicBrush_abi( 4304 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4305 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4306 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4307 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4308 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4309 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4310 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AcrylicBackgroundSource) -> ::windows::runtime::HRESULT, 4311 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AcrylicBackgroundSource) -> ::windows::runtime::HRESULT, 4312 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Color) -> ::windows::runtime::HRESULT, 4313 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Color) -> ::windows::runtime::HRESULT, 4314 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4315 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4316 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 4317 #[cfg(not(feature = "Foundation"))] usize, 4318 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 4319 #[cfg(not(feature = "Foundation"))] usize, 4320 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 4321 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 4322 ); 4323 #[repr(transparent)] 4324 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4325 #[doc(hidden)] 4326 pub struct IAcrylicBrush2(::windows::runtime::IInspectable); 4327 unsafe impl ::windows::runtime::Interface for IAcrylicBrush2 { 4328 type Vtable = IAcrylicBrush2_abi; 4329 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3378795395, 45470, 23232, [134, 255, 61, 144, 80, 109, 188, 218]); 4330 } 4331 #[repr(C)] 4332 #[doc(hidden)] 4333 pub struct IAcrylicBrush2_abi( 4334 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4335 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4336 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4337 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4338 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4339 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4340 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4341 #[cfg(not(feature = "Foundation"))] usize, 4342 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4343 #[cfg(not(feature = "Foundation"))] usize, 4344 ); 4345 #[repr(transparent)] 4346 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4347 #[doc(hidden)] 4348 pub struct IAcrylicBrushFactory(::windows::runtime::IInspectable); 4349 unsafe impl ::windows::runtime::Interface for IAcrylicBrushFactory { 4350 type Vtable = IAcrylicBrushFactory_abi; 4351 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2174952808, 63180, 16403, [131, 99, 146, 138, 226, 59, 122, 97]); 4352 } 4353 #[repr(C)] 4354 #[doc(hidden)] 4355 pub struct IAcrylicBrushFactory_abi( 4356 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4357 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4358 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4359 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4360 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4361 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4362 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4363 ); 4364 #[repr(transparent)] 4365 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4366 #[doc(hidden)] 4367 pub struct IAcrylicBrushStatics(::windows::runtime::IInspectable); 4368 unsafe impl ::windows::runtime::Interface for IAcrylicBrushStatics { 4369 type Vtable = IAcrylicBrushStatics_abi; 4370 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(663223673, 41946, 16959, [184, 26, 89, 145, 71, 151, 21, 35]); 4371 } 4372 #[repr(C)] 4373 #[doc(hidden)] 4374 pub struct IAcrylicBrushStatics_abi( 4375 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4376 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4377 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4378 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4379 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4380 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4381 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4382 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4383 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4384 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4385 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4386 ); 4387 #[repr(transparent)] 4388 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4389 #[doc(hidden)] 4390 pub struct IAcrylicBrushStatics2(::windows::runtime::IInspectable); 4391 unsafe impl ::windows::runtime::Interface for IAcrylicBrushStatics2 { 4392 type Vtable = IAcrylicBrushStatics2_abi; 4393 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(311527592, 48913, 23484, [132, 69, 140, 81, 14, 89, 38, 192]); 4394 } 4395 #[repr(C)] 4396 #[doc(hidden)] 4397 pub struct IAcrylicBrushStatics2_abi( 4398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4399 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4401 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4402 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4403 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4404 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4405 ); 4406 #[repr(transparent)] 4407 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4408 #[doc(hidden)] 4409 pub struct IArcSegment(::windows::runtime::IInspectable); 4410 unsafe impl ::windows::runtime::Interface for IArcSegment { 4411 type Vtable = IArcSegment_abi; 4412 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(127143007, 25595, 17513, [145, 190, 241, 9, 124, 22, 128, 82]); 4413 } 4414 #[repr(C)] 4415 #[doc(hidden)] 4416 pub struct IArcSegment_abi( 4417 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4418 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4419 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4420 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4421 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4422 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4423 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4424 #[cfg(not(feature = "Foundation"))] usize, 4425 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4426 #[cfg(not(feature = "Foundation"))] usize, 4427 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Size) -> ::windows::runtime::HRESULT, 4428 #[cfg(not(feature = "Foundation"))] usize, 4429 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Size) -> ::windows::runtime::HRESULT, 4430 #[cfg(not(feature = "Foundation"))] usize, 4431 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4432 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4433 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 4434 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 4435 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut SweepDirection) -> ::windows::runtime::HRESULT, 4436 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: SweepDirection) -> ::windows::runtime::HRESULT, 4437 ); 4438 #[repr(transparent)] 4439 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4440 #[doc(hidden)] 4441 pub struct IArcSegmentStatics(::windows::runtime::IInspectable); 4442 unsafe impl ::windows::runtime::Interface for IArcSegmentStatics { 4443 type Vtable = IArcSegmentStatics_abi; 4444 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2184482670, 35433, 16900, [156, 18, 114, 7, 223, 49, 118, 67]); 4445 } 4446 #[repr(C)] 4447 #[doc(hidden)] 4448 pub struct IArcSegmentStatics_abi( 4449 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4450 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4451 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4453 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4454 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4455 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4457 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4459 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4460 ); 4461 #[repr(transparent)] 4462 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4463 #[doc(hidden)] 4464 pub struct IBezierSegment(::windows::runtime::IInspectable); 4465 unsafe impl ::windows::runtime::Interface for IBezierSegment { 4466 type Vtable = IBezierSegment_abi; 4467 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2940975598, 35204, 18871, [129, 223, 63, 53, 153, 75, 149, 235]); 4468 } 4469 #[repr(C)] 4470 #[doc(hidden)] 4471 pub struct IBezierSegment_abi( 4472 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4473 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4474 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4475 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4476 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4477 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4478 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4479 #[cfg(not(feature = "Foundation"))] usize, 4480 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4481 #[cfg(not(feature = "Foundation"))] usize, 4482 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4483 #[cfg(not(feature = "Foundation"))] usize, 4484 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4485 #[cfg(not(feature = "Foundation"))] usize, 4486 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4487 #[cfg(not(feature = "Foundation"))] usize, 4488 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4489 #[cfg(not(feature = "Foundation"))] usize, 4490 ); 4491 #[repr(transparent)] 4492 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4493 #[doc(hidden)] 4494 pub struct IBezierSegmentStatics(::windows::runtime::IInspectable); 4495 unsafe impl ::windows::runtime::Interface for IBezierSegmentStatics { 4496 type Vtable = IBezierSegmentStatics_abi; 4497 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3223878572, 5136, 17712, [132, 82, 28, 157, 10, 209, 243, 65]); 4498 } 4499 #[repr(C)] 4500 #[doc(hidden)] 4501 pub struct IBezierSegmentStatics_abi( 4502 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4503 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4504 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4505 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4506 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4507 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4508 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4509 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4510 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4511 ); 4512 #[repr(transparent)] 4513 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4514 #[doc(hidden)] 4515 pub struct IBitmapCache(::windows::runtime::IInspectable); 4516 unsafe impl ::windows::runtime::Interface for IBitmapCache { 4517 type Vtable = IBitmapCache_abi; 4518 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2042765726, 17618, 17936, [151, 53, 155, 236, 131, 128, 158, 207]); 4519 } 4520 #[repr(C)] 4521 #[doc(hidden)] 4522 pub struct IBitmapCache_abi( 4523 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4524 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4525 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4526 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4527 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4528 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4529 ); 4530 #[repr(transparent)] 4531 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4532 #[doc(hidden)] 4533 pub struct IBrush(::windows::runtime::IInspectable); 4534 unsafe impl ::windows::runtime::Interface for IBrush { 4535 type Vtable = IBrush_abi; 4536 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2282136353, 7686, 16940, [161, 204, 1, 105, 101, 89, 224, 33]); 4537 } 4538 #[repr(C)] 4539 #[doc(hidden)] 4540 pub struct IBrush_abi( 4541 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4542 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4543 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4544 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4545 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4546 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4547 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4548 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4549 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4550 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4551 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4552 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4553 ); 4554 #[repr(transparent)] 4555 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4556 #[doc(hidden)] 4557 pub struct IBrushFactory(::windows::runtime::IInspectable); 4558 unsafe impl ::windows::runtime::Interface for IBrushFactory { 4559 type Vtable = IBrushFactory_abi; 4560 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(966154402, 5371, 19343, [131, 230, 110, 61, 171, 18, 6, 155]); 4561 } 4562 #[repr(C)] 4563 #[doc(hidden)] 4564 pub struct IBrushFactory_abi( 4565 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4566 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4567 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4568 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4570 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4571 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4572 ); 4573 #[repr(transparent)] 4574 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4575 #[doc(hidden)] 4576 pub struct IBrushOverrides2(::windows::runtime::IInspectable); 4577 unsafe impl ::windows::runtime::Interface for IBrushOverrides2 { 4578 type Vtable = IBrushOverrides2_abi; 4579 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3499274577, 55355, 23169, [167, 30, 161, 199, 248, 173, 105, 99]); 4580 } 4581 #[repr(C)] 4582 #[doc(hidden)] 4583 pub struct IBrushOverrides2_abi( 4584 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4585 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4586 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4587 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4588 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4589 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4590 #[cfg(feature = "UI_Composition")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyname: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, animationpropertyinfo: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4591 #[cfg(not(feature = "UI_Composition"))] usize, 4592 ); 4593 #[repr(transparent)] 4594 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4595 #[doc(hidden)] 4596 pub struct IBrushStatics(::windows::runtime::IInspectable); 4597 unsafe impl ::windows::runtime::Interface for IBrushStatics { 4598 type Vtable = IBrushStatics_abi; 4599 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3876335874, 549, 18421, [178, 46, 4, 103, 97, 159, 106, 34]); 4600 } 4601 #[repr(C)] 4602 #[doc(hidden)] 4603 pub struct IBrushStatics_abi( 4604 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4605 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4606 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4608 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4609 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4610 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4611 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4612 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4613 ); 4614 #[repr(transparent)] 4615 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4616 #[doc(hidden)] 4617 pub struct ICacheMode(::windows::runtime::IInspectable); 4618 unsafe impl ::windows::runtime::Interface for ICacheMode { 4619 type Vtable = ICacheMode_abi; 4620 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2564590353, 50937, 19883, [184, 56, 95, 213, 236, 140, 115, 80]); 4621 } 4622 #[repr(C)] 4623 #[doc(hidden)] 4624 pub struct ICacheMode_abi( 4625 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4626 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4627 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4628 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4629 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4631 ); 4632 #[repr(transparent)] 4633 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4634 #[doc(hidden)] 4635 pub struct ICacheModeFactory(::windows::runtime::IInspectable); 4636 unsafe impl ::windows::runtime::Interface for ICacheModeFactory { 4637 type Vtable = ICacheModeFactory_abi; 4638 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3944713307, 2747, 20080, [184, 168, 98, 13, 13, 149, 58, 178]); 4639 } 4640 #[repr(C)] 4641 #[doc(hidden)] 4642 pub struct ICacheModeFactory_abi( 4643 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4644 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4645 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4646 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4647 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4648 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4649 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4650 ); 4651 #[repr(transparent)] 4652 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4653 #[doc(hidden)] 4654 pub struct ICompositeTransform(::windows::runtime::IInspectable); 4655 unsafe impl ::windows::runtime::Interface for ICompositeTransform { 4656 type Vtable = ICompositeTransform_abi; 4657 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3366205531, 62026, 18177, [162, 101, 167, 136, 70, 241, 66, 185]); 4658 } 4659 #[repr(C)] 4660 #[doc(hidden)] 4661 pub struct ICompositeTransform_abi( 4662 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4663 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4664 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4665 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4666 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4667 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4668 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4669 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4670 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4673 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4674 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4675 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4676 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4677 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4678 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4679 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4680 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4681 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4682 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4683 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4684 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4685 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4686 ); 4687 #[repr(transparent)] 4688 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4689 #[doc(hidden)] 4690 pub struct ICompositeTransformStatics(::windows::runtime::IInspectable); 4691 unsafe impl ::windows::runtime::Interface for ICompositeTransformStatics { 4692 type Vtable = ICompositeTransformStatics_abi; 4693 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(790170632, 33382, 18799, [150, 83, 161, 139, 212, 248, 54, 170]); 4694 } 4695 #[repr(C)] 4696 #[doc(hidden)] 4697 pub struct ICompositeTransformStatics_abi( 4698 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4699 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4700 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4701 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4702 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4703 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4704 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4707 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4709 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4710 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4711 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4712 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4713 ); 4714 #[repr(transparent)] 4715 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4716 #[doc(hidden)] 4717 pub struct ICompositionTarget(::windows::runtime::IInspectable); 4718 unsafe impl ::windows::runtime::Interface for ICompositionTarget { 4719 type Vtable = ICompositionTarget_abi; 4720 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(651149296, 28988, 19436, [136, 3, 225, 1, 247, 177, 78, 211]); 4721 } 4722 #[repr(C)] 4723 #[doc(hidden)] 4724 pub struct ICompositionTarget_abi( 4725 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4726 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4727 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4728 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4729 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4730 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4731 ); 4732 #[repr(transparent)] 4733 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4734 #[doc(hidden)] 4735 pub struct ICompositionTargetStatics(::windows::runtime::IInspectable); 4736 unsafe impl ::windows::runtime::Interface for ICompositionTargetStatics { 4737 type Vtable = ICompositionTargetStatics_abi; 4738 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(723185725, 7890, 19289, [189, 0, 117, 148, 238, 146, 131, 43]); 4739 } 4740 #[repr(C)] 4741 #[doc(hidden)] 4742 pub struct ICompositionTargetStatics_abi( 4743 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4744 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4745 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4746 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4747 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4748 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4749 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 4750 #[cfg(not(feature = "Foundation"))] usize, 4751 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 4752 #[cfg(not(feature = "Foundation"))] usize, 4753 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 4754 #[cfg(not(feature = "Foundation"))] usize, 4755 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 4756 #[cfg(not(feature = "Foundation"))] usize, 4757 ); 4758 #[repr(transparent)] 4759 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4760 #[doc(hidden)] 4761 pub struct ICompositionTargetStatics3(::windows::runtime::IInspectable); 4762 unsafe impl ::windows::runtime::Interface for ICompositionTargetStatics3 { 4763 type Vtable = ICompositionTargetStatics3_abi; 4764 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3154803929, 26448, 18184, [153, 76, 32, 40, 224, 49, 42, 200]); 4765 } 4766 #[repr(C)] 4767 #[doc(hidden)] 4768 pub struct ICompositionTargetStatics3_abi( 4769 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4770 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4771 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4772 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4773 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4774 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4775 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 4776 #[cfg(not(feature = "Foundation"))] usize, 4777 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 4778 #[cfg(not(feature = "Foundation"))] usize, 4779 ); 4780 #[repr(transparent)] 4781 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4782 #[doc(hidden)] 4783 pub struct IEllipseGeometry(::windows::runtime::IInspectable); 4784 unsafe impl ::windows::runtime::Interface for IEllipseGeometry { 4785 type Vtable = IEllipseGeometry_abi; 4786 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3572898746, 20130, 16598, [170, 108, 141, 56, 170, 135, 101, 31]); 4787 } 4788 #[repr(C)] 4789 #[doc(hidden)] 4790 pub struct IEllipseGeometry_abi( 4791 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4792 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4793 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4794 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4795 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4796 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4797 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4798 #[cfg(not(feature = "Foundation"))] usize, 4799 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4800 #[cfg(not(feature = "Foundation"))] usize, 4801 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4802 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4803 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 4804 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 4805 ); 4806 #[repr(transparent)] 4807 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4808 #[doc(hidden)] 4809 pub struct IEllipseGeometryStatics(::windows::runtime::IInspectable); 4810 unsafe impl ::windows::runtime::Interface for IEllipseGeometryStatics { 4811 type Vtable = IEllipseGeometryStatics_abi; 4812 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(390388551, 63029, 19222, [174, 230, 224, 82, 166, 93, 239, 178]); 4813 } 4814 #[repr(C)] 4815 #[doc(hidden)] 4816 pub struct IEllipseGeometryStatics_abi( 4817 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4818 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4819 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4820 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4821 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4822 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4823 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4824 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4825 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4826 ); 4827 #[repr(transparent)] 4828 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4829 #[doc(hidden)] 4830 pub struct IFontFamily(::windows::runtime::IInspectable); 4831 unsafe impl ::windows::runtime::Interface for IFontFamily { 4832 type Vtable = IFontFamily_abi; 4833 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2454093412, 54890, 19700, [147, 34, 61, 35, 179, 192, 195, 97]); 4834 } 4835 #[repr(C)] 4836 #[doc(hidden)] 4837 pub struct IFontFamily_abi( 4838 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4839 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4840 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4841 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4842 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4843 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4844 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 4845 ); 4846 #[repr(transparent)] 4847 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4848 #[doc(hidden)] 4849 pub struct IFontFamilyFactory(::windows::runtime::IInspectable); 4850 unsafe impl ::windows::runtime::Interface for IFontFamilyFactory { 4851 type Vtable = IFontFamilyFactory_abi; 4852 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3579851639, 15790, 19917, [175, 9, 249, 73, 142, 158, 198, 89]); 4853 } 4854 #[repr(C)] 4855 #[doc(hidden)] 4856 pub struct IFontFamilyFactory_abi( 4857 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4858 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4859 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4860 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4861 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4862 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4863 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, familyname: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4864 ); 4865 #[repr(transparent)] 4866 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4867 #[doc(hidden)] 4868 pub struct IFontFamilyStatics2(::windows::runtime::IInspectable); 4869 unsafe impl ::windows::runtime::Interface for IFontFamilyStatics2 { 4870 type Vtable = IFontFamilyStatics2_abi; 4871 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1387100921, 14310, 17047, [162, 56, 151, 251, 106, 64, 141, 158]); 4872 } 4873 #[repr(C)] 4874 #[doc(hidden)] 4875 pub struct IFontFamilyStatics2_abi( 4876 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4877 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4878 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4879 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4880 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4881 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4882 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4883 ); 4884 #[repr(transparent)] 4885 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4886 #[doc(hidden)] 4887 pub struct IGeneralTransform(::windows::runtime::IInspectable); 4888 unsafe impl ::windows::runtime::Interface for IGeneralTransform { 4889 type Vtable = IGeneralTransform_abi; 4890 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2691143863, 41708, 16735, [173, 226, 234, 222, 147, 51, 242, 199]); 4891 } 4892 #[repr(C)] 4893 #[doc(hidden)] 4894 pub struct IGeneralTransform_abi( 4895 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4896 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4897 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4898 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4899 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4900 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4901 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4902 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, point: super::super::super::Foundation::Point, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 4903 #[cfg(not(feature = "Foundation"))] usize, 4904 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inpoint: super::super::super::Foundation::Point, outpoint: *mut super::super::super::Foundation::Point, result__: *mut bool) -> ::windows::runtime::HRESULT, 4905 #[cfg(not(feature = "Foundation"))] usize, 4906 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rect: super::super::super::Foundation::Rect, result__: *mut super::super::super::Foundation::Rect) -> ::windows::runtime::HRESULT, 4907 #[cfg(not(feature = "Foundation"))] usize, 4908 ); 4909 #[repr(transparent)] 4910 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4911 #[doc(hidden)] 4912 pub struct IGeneralTransformFactory(::windows::runtime::IInspectable); 4913 unsafe impl ::windows::runtime::Interface for IGeneralTransformFactory { 4914 type Vtable = IGeneralTransformFactory_abi; 4915 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2049296688, 10692, 20017, [182, 249, 222, 221, 82, 228, 223, 27]); 4916 } 4917 #[repr(C)] 4918 #[doc(hidden)] 4919 pub struct IGeneralTransformFactory_abi( 4920 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4921 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4922 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4923 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4924 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4925 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4926 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4927 ); 4928 #[repr(transparent)] 4929 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4930 #[doc(hidden)] 4931 pub struct IGeneralTransformOverrides(::windows::runtime::IInspectable); 4932 unsafe impl ::windows::runtime::Interface for IGeneralTransformOverrides { 4933 type Vtable = IGeneralTransformOverrides_abi; 4934 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1326583939, 9423, 17700, [144, 173, 138, 66, 177, 193, 39, 131]); 4935 } 4936 #[repr(C)] 4937 #[doc(hidden)] 4938 pub struct IGeneralTransformOverrides_abi( 4939 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4940 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4941 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4942 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4945 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4946 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inpoint: super::super::super::Foundation::Point, outpoint: *mut super::super::super::Foundation::Point, result__: *mut bool) -> ::windows::runtime::HRESULT, 4947 #[cfg(not(feature = "Foundation"))] usize, 4948 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rect: super::super::super::Foundation::Rect, result__: *mut super::super::super::Foundation::Rect) -> ::windows::runtime::HRESULT, 4949 #[cfg(not(feature = "Foundation"))] usize, 4950 ); 4951 #[repr(transparent)] 4952 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4953 #[doc(hidden)] 4954 pub struct IGeometry(::windows::runtime::IInspectable); 4955 unsafe impl ::windows::runtime::Interface for IGeometry { 4956 type Vtable = IGeometry_abi; 4957 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4195498121, 2765, 16763, [182, 45, 92, 161, 191, 77, 252, 14]); 4958 } 4959 #[repr(C)] 4960 #[doc(hidden)] 4961 pub struct IGeometry_abi( 4962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4963 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4965 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4966 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4967 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4968 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4969 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4970 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Rect) -> ::windows::runtime::HRESULT, 4971 #[cfg(not(feature = "Foundation"))] usize, 4972 ); 4973 #[repr(transparent)] 4974 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4975 #[doc(hidden)] 4976 pub struct IGeometryFactory(::windows::runtime::IInspectable); 4977 unsafe impl ::windows::runtime::Interface for IGeometryFactory { 4978 type Vtable = IGeometryFactory_abi; 4979 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133334819, 54781, 17145, [179, 42, 146, 156, 90, 75, 84, 225]); 4980 } 4981 #[repr(C)] 4982 #[doc(hidden)] 4983 pub struct IGeometryFactory_abi( 4984 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4985 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4986 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4987 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 4988 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4989 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 4990 ); 4991 #[repr(transparent)] 4992 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4993 #[doc(hidden)] 4994 pub struct IGeometryGroup(::windows::runtime::IInspectable); 4995 unsafe impl ::windows::runtime::Interface for IGeometryGroup { 4996 type Vtable = IGeometryGroup_abi; 4997 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1428314721, 34423, 19596, [142, 70, 238, 61, 195, 85, 17, 75]); 4998 } 4999 #[repr(C)] 5000 #[doc(hidden)] 5001 pub struct IGeometryGroup_abi( 5002 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5003 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5004 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5005 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5006 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5007 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5008 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut FillRule) -> ::windows::runtime::HRESULT, 5009 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: FillRule) -> ::windows::runtime::HRESULT, 5010 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5011 #[cfg(not(feature = "Foundation_Collections"))] usize, 5012 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5013 #[cfg(not(feature = "Foundation_Collections"))] usize, 5014 ); 5015 #[repr(transparent)] 5016 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5017 #[doc(hidden)] 5018 pub struct IGeometryGroupStatics(::windows::runtime::IInspectable); 5019 unsafe impl ::windows::runtime::Interface for IGeometryGroupStatics { 5020 type Vtable = IGeometryGroupStatics_abi; 5021 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1456035316, 33942, 19382, [171, 240, 97, 123, 31, 231, 139, 69]); 5022 } 5023 #[repr(C)] 5024 #[doc(hidden)] 5025 pub struct IGeometryGroupStatics_abi( 5026 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5027 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5028 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5029 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5030 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5031 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5032 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5033 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5034 ); 5035 #[repr(transparent)] 5036 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5037 #[doc(hidden)] 5038 pub struct IGeometryStatics(::windows::runtime::IInspectable); 5039 unsafe impl ::windows::runtime::Interface for IGeometryStatics { 5040 type Vtable = IGeometryStatics_abi; 5041 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2054204044, 2822, 18015, [182, 55, 154, 71, 229, 167, 1, 17]); 5042 } 5043 #[repr(C)] 5044 #[doc(hidden)] 5045 pub struct IGeometryStatics_abi( 5046 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5047 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5048 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5049 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5050 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5051 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5052 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5053 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5054 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5055 ); 5056 #[repr(transparent)] 5057 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5058 #[doc(hidden)] 5059 pub struct IGradientBrush(::windows::runtime::IInspectable); 5060 unsafe impl ::windows::runtime::Interface for IGradientBrush { 5061 type Vtable = IGradientBrush_abi; 5062 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(560391839, 37722, 16785, [142, 60, 28, 141, 253, 252, 220, 120]); 5063 } 5064 #[repr(C)] 5065 #[doc(hidden)] 5066 pub struct IGradientBrush_abi( 5067 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5068 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5069 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5070 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5071 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5072 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5073 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut GradientSpreadMethod) -> ::windows::runtime::HRESULT, 5074 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: GradientSpreadMethod) -> ::windows::runtime::HRESULT, 5075 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut BrushMappingMode) -> ::windows::runtime::HRESULT, 5076 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: BrushMappingMode) -> ::windows::runtime::HRESULT, 5077 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ColorInterpolationMode) -> ::windows::runtime::HRESULT, 5078 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ColorInterpolationMode) -> ::windows::runtime::HRESULT, 5079 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5080 #[cfg(not(feature = "Foundation_Collections"))] usize, 5081 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5082 #[cfg(not(feature = "Foundation_Collections"))] usize, 5083 ); 5084 #[repr(transparent)] 5085 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5086 #[doc(hidden)] 5087 pub struct IGradientBrushFactory(::windows::runtime::IInspectable); 5088 unsafe impl ::windows::runtime::Interface for IGradientBrushFactory { 5089 type Vtable = IGradientBrushFactory_abi; 5090 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3980884426, 17853, 16689, [182, 37, 190, 134, 224, 124, 97, 18]); 5091 } 5092 #[repr(C)] 5093 #[doc(hidden)] 5094 pub struct IGradientBrushFactory_abi( 5095 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5096 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5097 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5098 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5099 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5100 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5101 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5102 ); 5103 #[repr(transparent)] 5104 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5105 #[doc(hidden)] 5106 pub struct IGradientBrushStatics(::windows::runtime::IInspectable); 5107 unsafe impl ::windows::runtime::Interface for IGradientBrushStatics { 5108 type Vtable = IGradientBrushStatics_abi; 5109 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2518049273, 35764, 20076, [185, 35, 181, 215, 135, 224, 241, 169]); 5110 } 5111 #[repr(C)] 5112 #[doc(hidden)] 5113 pub struct IGradientBrushStatics_abi( 5114 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5115 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5116 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5117 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5118 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5119 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5120 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5121 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5122 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5123 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5124 ); 5125 #[repr(transparent)] 5126 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5127 #[doc(hidden)] 5128 pub struct IGradientStop(::windows::runtime::IInspectable); 5129 unsafe impl ::windows::runtime::Interface for IGradientStop { 5130 type Vtable = IGradientStop_abi; 5131 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1717519614, 11865, 19530, [171, 83, 7, 106, 16, 12, 205, 129]); 5132 } 5133 #[repr(C)] 5134 #[doc(hidden)] 5135 pub struct IGradientStop_abi( 5136 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5137 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5138 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5139 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5140 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5141 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5142 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Color) -> ::windows::runtime::HRESULT, 5143 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Color) -> ::windows::runtime::HRESULT, 5144 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5145 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5146 ); 5147 #[repr(transparent)] 5148 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5149 #[doc(hidden)] 5150 pub struct IGradientStopStatics(::windows::runtime::IInspectable); 5151 unsafe impl ::windows::runtime::Interface for IGradientStopStatics { 5152 type Vtable = IGradientStopStatics_abi; 5153 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1613393269, 24979, 20453, [142, 130, 199, 198, 246, 254, 186, 253]); 5154 } 5155 #[repr(C)] 5156 #[doc(hidden)] 5157 pub struct IGradientStopStatics_abi( 5158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5159 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5160 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5161 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5164 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5165 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5166 ); 5167 #[repr(transparent)] 5168 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5169 #[doc(hidden)] 5170 pub struct IImageBrush(::windows::runtime::IInspectable); 5171 unsafe impl ::windows::runtime::Interface for IImageBrush { 5172 type Vtable = IImageBrush_abi; 5173 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2681279351, 49450, 17555, [191, 125, 243, 168, 173, 116, 181, 84]); 5174 } 5175 #[repr(C)] 5176 #[doc(hidden)] 5177 pub struct IImageBrush_abi( 5178 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5179 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5180 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5181 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5182 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5183 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5184 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5185 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5186 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 5187 #[cfg(not(feature = "Foundation"))] usize, 5188 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 5189 #[cfg(not(feature = "Foundation"))] usize, 5190 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 5191 #[cfg(not(feature = "Foundation"))] usize, 5192 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 5193 #[cfg(not(feature = "Foundation"))] usize, 5194 ); 5195 #[repr(transparent)] 5196 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5197 #[doc(hidden)] 5198 pub struct IImageBrushStatics(::windows::runtime::IInspectable); 5199 unsafe impl ::windows::runtime::Interface for IImageBrushStatics { 5200 type Vtable = IImageBrushStatics_abi; 5201 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(307605938, 56600, 17125, [137, 44, 234, 227, 12, 48, 91, 140]); 5202 } 5203 #[repr(C)] 5204 #[doc(hidden)] 5205 pub struct IImageBrushStatics_abi( 5206 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5207 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5208 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5209 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5210 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5211 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5212 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5213 ); 5214 #[repr(transparent)] 5215 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5216 #[doc(hidden)] 5217 pub struct IImageSource(::windows::runtime::IInspectable); 5218 unsafe impl ::windows::runtime::Interface for IImageSource { 5219 type Vtable = IImageSource_abi; 5220 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1937699593, 59969, 19862, [167, 28, 152, 233, 142, 252, 171, 7]); 5221 } 5222 #[repr(C)] 5223 #[doc(hidden)] 5224 pub struct IImageSource_abi( 5225 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5226 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5227 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5228 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5229 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5230 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5231 ); 5232 #[repr(transparent)] 5233 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5234 #[doc(hidden)] 5235 pub struct IImageSourceFactory(::windows::runtime::IInspectable); 5236 unsafe impl ::windows::runtime::Interface for IImageSourceFactory { 5237 type Vtable = IImageSourceFactory_abi; 5238 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(696172545, 9536, 20058, [171, 102, 136, 3, 93, 211, 221, 181]); 5239 } 5240 #[repr(C)] 5241 #[doc(hidden)] 5242 pub struct IImageSourceFactory_abi( 5243 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5244 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5245 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5246 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5248 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5249 ); 5250 #[repr(transparent)] 5251 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5252 #[doc(hidden)] 5253 pub struct ILineGeometry(::windows::runtime::IInspectable); 5254 unsafe impl ::windows::runtime::Interface for ILineGeometry { 5255 type Vtable = ILineGeometry_abi; 5256 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(820892834, 36805, 16559, [167, 162, 194, 127, 231, 170, 19, 99]); 5257 } 5258 #[repr(C)] 5259 #[doc(hidden)] 5260 pub struct ILineGeometry_abi( 5261 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5265 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5266 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5267 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5268 #[cfg(not(feature = "Foundation"))] usize, 5269 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5270 #[cfg(not(feature = "Foundation"))] usize, 5271 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5272 #[cfg(not(feature = "Foundation"))] usize, 5273 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5274 #[cfg(not(feature = "Foundation"))] usize, 5275 ); 5276 #[repr(transparent)] 5277 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5278 #[doc(hidden)] 5279 pub struct ILineGeometryStatics(::windows::runtime::IInspectable); 5280 unsafe impl ::windows::runtime::Interface for ILineGeometryStatics { 5281 type Vtable = ILineGeometryStatics_abi; 5282 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1468720995, 21858, 20196, [135, 3, 234, 64, 54, 216, 145, 227]); 5283 } 5284 #[repr(C)] 5285 #[doc(hidden)] 5286 pub struct ILineGeometryStatics_abi( 5287 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5288 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5289 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5290 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5291 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5292 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5293 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5294 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5295 ); 5296 #[repr(transparent)] 5297 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5298 #[doc(hidden)] 5299 pub struct ILineSegment(::windows::runtime::IInspectable); 5300 unsafe impl ::windows::runtime::Interface for ILineSegment { 5301 type Vtable = ILineSegment_abi; 5302 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4016713253, 16368, 17440, [164, 17, 113, 130, 164, 206, 203, 21]); 5303 } 5304 #[repr(C)] 5305 #[doc(hidden)] 5306 pub struct ILineSegment_abi( 5307 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5308 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5309 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5310 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5311 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5312 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5313 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5314 #[cfg(not(feature = "Foundation"))] usize, 5315 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5316 #[cfg(not(feature = "Foundation"))] usize, 5317 ); 5318 #[repr(transparent)] 5319 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5320 #[doc(hidden)] 5321 pub struct ILineSegmentStatics(::windows::runtime::IInspectable); 5322 unsafe impl ::windows::runtime::Interface for ILineSegmentStatics { 5323 type Vtable = ILineSegmentStatics_abi; 5324 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2680860993, 1216, 19195, [135, 179, 232, 0, 185, 105, 184, 148]); 5325 } 5326 #[repr(C)] 5327 #[doc(hidden)] 5328 pub struct ILineSegmentStatics_abi( 5329 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5330 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5331 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5332 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5333 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5334 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5335 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5336 ); 5337 #[repr(transparent)] 5338 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5339 #[doc(hidden)] 5340 pub struct ILinearGradientBrush(::windows::runtime::IInspectable); 5341 unsafe impl ::windows::runtime::Interface for ILinearGradientBrush { 5342 type Vtable = ILinearGradientBrush_abi; 5343 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2392248683, 48004, 19567, [157, 191, 157, 108, 92, 109, 156, 57]); 5344 } 5345 #[repr(C)] 5346 #[doc(hidden)] 5347 pub struct ILinearGradientBrush_abi( 5348 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5349 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5350 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5351 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5352 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5353 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5354 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5355 #[cfg(not(feature = "Foundation"))] usize, 5356 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5357 #[cfg(not(feature = "Foundation"))] usize, 5358 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5359 #[cfg(not(feature = "Foundation"))] usize, 5360 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5361 #[cfg(not(feature = "Foundation"))] usize, 5362 ); 5363 #[repr(transparent)] 5364 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5365 #[doc(hidden)] 5366 pub struct ILinearGradientBrushFactory(::windows::runtime::IInspectable); 5367 unsafe impl ::windows::runtime::Interface for ILinearGradientBrushFactory { 5368 type Vtable = ILinearGradientBrushFactory_abi; 5369 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(182486556, 7802, 20461, [152, 87, 234, 140, 170, 121, 132, 144]); 5370 } 5371 #[repr(C)] 5372 #[doc(hidden)] 5373 pub struct ILinearGradientBrushFactory_abi( 5374 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5375 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5376 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5377 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5378 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5379 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5380 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gradientstopcollection: ::windows::runtime::RawPtr, angle: f64, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5381 #[cfg(not(feature = "Foundation_Collections"))] usize, 5382 ); 5383 #[repr(transparent)] 5384 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5385 #[doc(hidden)] 5386 pub struct ILinearGradientBrushStatics(::windows::runtime::IInspectable); 5387 unsafe impl ::windows::runtime::Interface for ILinearGradientBrushStatics { 5388 type Vtable = ILinearGradientBrushStatics_abi; 5389 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2063000836, 11715, 16611, [190, 11, 179, 20, 193, 60, 185, 145]); 5390 } 5391 #[repr(C)] 5392 #[doc(hidden)] 5393 pub struct ILinearGradientBrushStatics_abi( 5394 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5395 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5396 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5397 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5399 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5401 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5402 ); 5403 #[repr(transparent)] 5404 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5405 #[doc(hidden)] 5406 pub struct ILoadedImageSourceLoadCompletedEventArgs(::windows::runtime::IInspectable); 5407 unsafe impl ::windows::runtime::Interface for ILoadedImageSourceLoadCompletedEventArgs { 5408 type Vtable = ILoadedImageSourceLoadCompletedEventArgs_abi; 5409 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(449186590, 30775, 17545, [179, 229, 208, 213, 173, 10, 86, 196]); 5410 } 5411 #[repr(C)] 5412 #[doc(hidden)] 5413 pub struct ILoadedImageSourceLoadCompletedEventArgs_abi( 5414 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5415 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5416 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5417 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5418 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5419 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5420 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut LoadedImageSourceLoadStatus) -> ::windows::runtime::HRESULT, 5421 ); 5422 #[repr(transparent)] 5423 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5424 #[doc(hidden)] 5425 pub struct ILoadedImageSurface(::windows::runtime::IInspectable); 5426 unsafe impl ::windows::runtime::Interface for ILoadedImageSurface { 5427 type Vtable = ILoadedImageSurface_abi; 5428 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(84706067, 26423, 17850, [133, 49, 51, 9, 79, 235, 239, 85]); 5429 } 5430 #[repr(C)] 5431 #[doc(hidden)] 5432 pub struct ILoadedImageSurface_abi( 5433 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5434 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5435 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5436 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5437 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5438 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5439 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Size) -> ::windows::runtime::HRESULT, 5440 #[cfg(not(feature = "Foundation"))] usize, 5441 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Size) -> ::windows::runtime::HRESULT, 5442 #[cfg(not(feature = "Foundation"))] usize, 5443 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Size) -> ::windows::runtime::HRESULT, 5444 #[cfg(not(feature = "Foundation"))] usize, 5445 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, handler: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 5446 #[cfg(not(feature = "Foundation"))] usize, 5447 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::runtime::HRESULT, 5448 #[cfg(not(feature = "Foundation"))] usize, 5449 ); 5450 #[repr(transparent)] 5451 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5452 #[doc(hidden)] 5453 pub struct ILoadedImageSurfaceStatics(::windows::runtime::IInspectable); 5454 unsafe impl ::windows::runtime::Interface for ILoadedImageSurfaceStatics { 5455 type Vtable = ILoadedImageSurfaceStatics_abi; 5456 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(582544886, 33965, 16555, [147, 125, 72, 113, 97, 62, 118, 93]); 5457 } 5458 #[repr(C)] 5459 #[doc(hidden)] 5460 pub struct ILoadedImageSurfaceStatics_abi( 5461 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5462 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5464 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5465 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5466 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5467 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uri: ::windows::runtime::RawPtr, desiredmaxsize: super::super::super::Foundation::Size, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5468 #[cfg(not(feature = "Foundation"))] usize, 5469 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uri: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5470 #[cfg(not(feature = "Foundation"))] usize, 5471 #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, desiredmaxsize: super::super::super::Foundation::Size, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5472 #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] usize, 5473 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5474 #[cfg(not(feature = "Storage_Streams"))] usize, 5475 ); 5476 #[repr(transparent)] 5477 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5478 #[doc(hidden)] 5479 pub struct IMatrix3DProjection(::windows::runtime::IInspectable); 5480 unsafe impl ::windows::runtime::Interface for IMatrix3DProjection { 5481 type Vtable = IMatrix3DProjection_abi; 5482 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1862525257, 49097, 19457, [181, 120, 80, 51, 140, 236, 151, 252]); 5483 } 5484 #[repr(C)] 5485 #[doc(hidden)] 5486 pub struct IMatrix3DProjection_abi( 5487 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5488 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5489 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5490 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5491 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5492 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5493 #[cfg(feature = "UI_Xaml_Media_Media3D")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut Media3D::Matrix3D) -> ::windows::runtime::HRESULT, 5494 #[cfg(not(feature = "UI_Xaml_Media_Media3D"))] usize, 5495 #[cfg(feature = "UI_Xaml_Media_Media3D")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: Media3D::Matrix3D) -> ::windows::runtime::HRESULT, 5496 #[cfg(not(feature = "UI_Xaml_Media_Media3D"))] usize, 5497 ); 5498 #[repr(transparent)] 5499 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5500 #[doc(hidden)] 5501 pub struct IMatrix3DProjectionStatics(::windows::runtime::IInspectable); 5502 unsafe impl ::windows::runtime::Interface for IMatrix3DProjectionStatics { 5503 type Vtable = IMatrix3DProjectionStatics_abi; 5504 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2929547413, 16876, 20023, [171, 170, 105, 244, 29, 47, 135, 107]); 5505 } 5506 #[repr(C)] 5507 #[doc(hidden)] 5508 pub struct IMatrix3DProjectionStatics_abi( 5509 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5510 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5511 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5512 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5513 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5514 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5515 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5516 ); 5517 #[repr(transparent)] 5518 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5519 #[doc(hidden)] 5520 pub struct IMatrixHelper(::windows::runtime::IInspectable); 5521 unsafe impl ::windows::runtime::Interface for IMatrixHelper { 5522 type Vtable = IMatrixHelper_abi; 5523 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4090448002, 1717, 18632, [158, 178, 23, 99, 233, 54, 64, 56]); 5524 } 5525 #[repr(C)] 5526 #[doc(hidden)] 5527 pub struct IMatrixHelper_abi( 5528 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5529 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5530 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5531 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5532 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5533 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5534 ); 5535 #[repr(transparent)] 5536 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5537 #[doc(hidden)] 5538 pub struct IMatrixHelperStatics(::windows::runtime::IInspectable); 5539 unsafe impl ::windows::runtime::Interface for IMatrixHelperStatics { 5540 type Vtable = IMatrixHelperStatics_abi; 5541 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3246786214, 14836, 19338, [132, 3, 40, 229, 229, 240, 51, 180]); 5542 } 5543 #[repr(C)] 5544 #[doc(hidden)] 5545 pub struct IMatrixHelperStatics_abi( 5546 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5547 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5548 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5549 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5550 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5551 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5552 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut Matrix) -> ::windows::runtime::HRESULT, 5553 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, m11: f64, m12: f64, m21: f64, m22: f64, offsetx: f64, offsety: f64, result__: *mut Matrix) -> ::windows::runtime::HRESULT, 5554 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, target: Matrix, result__: *mut bool) -> ::windows::runtime::HRESULT, 5555 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, target: Matrix, point: super::super::super::Foundation::Point, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5556 #[cfg(not(feature = "Foundation"))] usize, 5557 ); 5558 #[repr(transparent)] 5559 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5560 #[doc(hidden)] 5561 pub struct IMatrixTransform(::windows::runtime::IInspectable); 5562 unsafe impl ::windows::runtime::Interface for IMatrixTransform { 5563 type Vtable = IMatrixTransform_abi; 5564 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3992835409, 24557, 17916, [174, 98, 146, 164, 182, 207, 151, 7]); 5565 } 5566 #[repr(C)] 5567 #[doc(hidden)] 5568 pub struct IMatrixTransform_abi( 5569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5570 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5571 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5572 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5573 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5574 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5575 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut Matrix) -> ::windows::runtime::HRESULT, 5576 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: Matrix) -> ::windows::runtime::HRESULT, 5577 ); 5578 #[repr(transparent)] 5579 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5580 #[doc(hidden)] 5581 pub struct IMatrixTransformStatics(::windows::runtime::IInspectable); 5582 unsafe impl ::windows::runtime::Interface for IMatrixTransformStatics { 5583 type Vtable = IMatrixTransformStatics_abi; 5584 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1138765383, 5560, 18264, [187, 151, 125, 82, 66, 10, 204, 91]); 5585 } 5586 #[repr(C)] 5587 #[doc(hidden)] 5588 pub struct IMatrixTransformStatics_abi( 5589 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5590 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5591 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5595 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5596 ); 5597 #[repr(transparent)] 5598 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5599 #[doc(hidden)] 5600 pub struct IMediaTransportControlsThumbnailRequestedEventArgs(::windows::runtime::IInspectable); 5601 unsafe impl ::windows::runtime::Interface for IMediaTransportControlsThumbnailRequestedEventArgs { 5602 type Vtable = IMediaTransportControlsThumbnailRequestedEventArgs_abi; 5603 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3836260892, 58306, 18524, [174, 105, 241, 83, 123, 118, 117, 90]); 5604 } 5605 #[repr(C)] 5606 #[doc(hidden)] 5607 pub struct IMediaTransportControlsThumbnailRequestedEventArgs_abi( 5608 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5609 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5610 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5611 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5612 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5613 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5614 #[cfg(feature = "Storage_Streams")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, source: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5615 #[cfg(not(feature = "Storage_Streams"))] usize, 5616 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5617 #[cfg(not(feature = "Foundation"))] usize, 5618 ); 5619 #[repr(transparent)] 5620 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5621 #[doc(hidden)] 5622 pub struct IPartialMediaFailureDetectedEventArgs(::windows::runtime::IInspectable); 5623 unsafe impl ::windows::runtime::Interface for IPartialMediaFailureDetectedEventArgs { 5624 type Vtable = IPartialMediaFailureDetectedEventArgs_abi; 5625 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(45505169, 58785, 17451, [136, 211, 45, 193, 39, 191, 197, 155]); 5626 } 5627 #[repr(C)] 5628 #[doc(hidden)] 5629 pub struct IPartialMediaFailureDetectedEventArgs_abi( 5630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5631 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5632 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5633 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5634 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5635 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5636 #[cfg(feature = "Media_Playback")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Media::Playback::FailedMediaStreamKind) -> ::windows::runtime::HRESULT, 5637 #[cfg(not(feature = "Media_Playback"))] usize, 5638 ); 5639 #[repr(transparent)] 5640 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5641 #[doc(hidden)] 5642 pub struct IPartialMediaFailureDetectedEventArgs2(::windows::runtime::IInspectable); 5643 unsafe impl ::windows::runtime::Interface for IPartialMediaFailureDetectedEventArgs2 { 5644 type Vtable = IPartialMediaFailureDetectedEventArgs2_abi; 5645 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1929857141, 35085, 16747, [185, 174, 232, 77, 253, 156, 75, 27]); 5646 } 5647 #[repr(C)] 5648 #[doc(hidden)] 5649 pub struct IPartialMediaFailureDetectedEventArgs2_abi( 5650 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5651 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5652 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5653 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5654 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5655 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5656 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT, 5657 ); 5658 #[repr(transparent)] 5659 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5660 #[doc(hidden)] 5661 pub struct IPathFigure(::windows::runtime::IInspectable); 5662 unsafe impl ::windows::runtime::Interface for IPathFigure { 5663 type Vtable = IPathFigure_abi; 5664 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1570069644, 24489, 19930, [163, 204, 16, 252, 220, 170, 32, 215]); 5665 } 5666 #[repr(C)] 5667 #[doc(hidden)] 5668 pub struct IPathFigure_abi( 5669 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5670 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5673 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5674 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5675 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5676 #[cfg(not(feature = "Foundation_Collections"))] usize, 5677 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5678 #[cfg(not(feature = "Foundation_Collections"))] usize, 5679 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5680 #[cfg(not(feature = "Foundation"))] usize, 5681 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 5682 #[cfg(not(feature = "Foundation"))] usize, 5683 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 5684 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 5685 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 5686 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 5687 ); 5688 #[repr(transparent)] 5689 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5690 #[doc(hidden)] 5691 pub struct IPathFigureStatics(::windows::runtime::IInspectable); 5692 unsafe impl ::windows::runtime::Interface for IPathFigureStatics { 5693 type Vtable = IPathFigureStatics_abi; 5694 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3053818329, 9109, 17175, [149, 82, 58, 88, 82, 111, 140, 123]); 5695 } 5696 #[repr(C)] 5697 #[doc(hidden)] 5698 pub struct IPathFigureStatics_abi( 5699 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5700 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5701 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5702 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5703 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5704 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5707 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5709 ); 5710 #[repr(transparent)] 5711 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5712 #[doc(hidden)] 5713 pub struct IPathGeometry(::windows::runtime::IInspectable); 5714 unsafe impl ::windows::runtime::Interface for IPathGeometry { 5715 type Vtable = IPathGeometry_abi; 5716 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(136027640, 47846, 19403, [129, 60, 189, 224, 228, 109, 200, 183]); 5717 } 5718 #[repr(C)] 5719 #[doc(hidden)] 5720 pub struct IPathGeometry_abi( 5721 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5722 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5723 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5724 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5725 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5726 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5727 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut FillRule) -> ::windows::runtime::HRESULT, 5728 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: FillRule) -> ::windows::runtime::HRESULT, 5729 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5730 #[cfg(not(feature = "Foundation_Collections"))] usize, 5731 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5732 #[cfg(not(feature = "Foundation_Collections"))] usize, 5733 ); 5734 #[repr(transparent)] 5735 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5736 #[doc(hidden)] 5737 pub struct IPathGeometryStatics(::windows::runtime::IInspectable); 5738 unsafe impl ::windows::runtime::Interface for IPathGeometryStatics { 5739 type Vtable = IPathGeometryStatics_abi; 5740 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3655699386, 11450, 18241, [143, 141, 49, 152, 207, 81, 134, 185]); 5741 } 5742 #[repr(C)] 5743 #[doc(hidden)] 5744 pub struct IPathGeometryStatics_abi( 5745 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5746 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5747 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5748 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5749 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5750 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5751 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5752 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5753 ); 5754 #[repr(transparent)] 5755 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5756 #[doc(hidden)] 5757 pub struct IPathSegment(::windows::runtime::IInspectable); 5758 unsafe impl ::windows::runtime::Interface for IPathSegment { 5759 type Vtable = IPathSegment_abi; 5760 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4244271567, 40163, 18255, [129, 87, 16, 182, 67, 90, 97, 107]); 5761 } 5762 #[repr(C)] 5763 #[doc(hidden)] 5764 pub struct IPathSegment_abi( 5765 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5766 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5767 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5768 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5769 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5770 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5771 ); 5772 #[repr(transparent)] 5773 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5774 #[doc(hidden)] 5775 pub struct IPathSegmentFactory(::windows::runtime::IInspectable); 5776 unsafe impl ::windows::runtime::Interface for IPathSegmentFactory { 5777 type Vtable = IPathSegmentFactory_abi; 5778 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(706480814, 60621, 17508, [161, 72, 111, 253, 179, 170, 40, 31]); 5779 } 5780 #[repr(C)] 5781 #[doc(hidden)] 5782 pub struct IPathSegmentFactory_abi( 5783 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5784 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5785 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5786 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5787 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5788 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5789 ); 5790 #[repr(transparent)] 5791 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5792 #[doc(hidden)] 5793 pub struct IPlaneProjection(::windows::runtime::IInspectable); 5794 unsafe impl ::windows::runtime::Interface for IPlaneProjection { 5795 type Vtable = IPlaneProjection_abi; 5796 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3875023866, 26406, 18074, [178, 89, 165, 24, 131, 71, 202, 143]); 5797 } 5798 #[repr(C)] 5799 #[doc(hidden)] 5800 pub struct IPlaneProjection_abi( 5801 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5802 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5803 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5804 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5805 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5806 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5807 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5808 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5809 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5810 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5811 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5812 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5813 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5814 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5815 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5816 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5817 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5818 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5819 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5820 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5821 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5822 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5823 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5824 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5825 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5826 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5827 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5828 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5829 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 5830 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 5831 #[cfg(feature = "UI_Xaml_Media_Media3D")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut Media3D::Matrix3D) -> ::windows::runtime::HRESULT, 5832 #[cfg(not(feature = "UI_Xaml_Media_Media3D"))] usize, 5833 ); 5834 #[repr(transparent)] 5835 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5836 #[doc(hidden)] 5837 pub struct IPlaneProjectionStatics(::windows::runtime::IInspectable); 5838 unsafe impl ::windows::runtime::Interface for IPlaneProjectionStatics { 5839 type Vtable = IPlaneProjectionStatics_abi; 5840 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2912001127, 15324, 18517, [137, 105, 209, 249, 163, 173, 194, 125]); 5841 } 5842 #[repr(C)] 5843 #[doc(hidden)] 5844 pub struct IPlaneProjectionStatics_abi( 5845 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5846 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5847 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5848 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5849 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5850 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5851 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5852 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5853 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5854 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5855 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5856 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5857 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5858 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5859 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5860 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5861 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5862 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5863 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5864 ); 5865 #[repr(transparent)] 5866 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5867 #[doc(hidden)] 5868 pub struct IPolyBezierSegment(::windows::runtime::IInspectable); 5869 unsafe impl ::windows::runtime::Interface for IPolyBezierSegment { 5870 type Vtable = IPolyBezierSegment_abi; 5871 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(914379377, 14532, 19407, [150, 205, 2, 138, 109, 56, 175, 37]); 5872 } 5873 #[repr(C)] 5874 #[doc(hidden)] 5875 pub struct IPolyBezierSegment_abi( 5876 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5877 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5878 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5879 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5880 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5881 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5882 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5883 #[cfg(not(feature = "Foundation_Collections"))] usize, 5884 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5885 #[cfg(not(feature = "Foundation_Collections"))] usize, 5886 ); 5887 #[repr(transparent)] 5888 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5889 #[doc(hidden)] 5890 pub struct IPolyBezierSegmentStatics(::windows::runtime::IInspectable); 5891 unsafe impl ::windows::runtime::Interface for IPolyBezierSegmentStatics { 5892 type Vtable = IPolyBezierSegmentStatics_abi; 5893 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(496084698, 5266, 19148, [189, 102, 164, 150, 243, 216, 41, 214]); 5894 } 5895 #[repr(C)] 5896 #[doc(hidden)] 5897 pub struct IPolyBezierSegmentStatics_abi( 5898 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5899 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5900 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5901 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5902 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5903 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5904 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5905 ); 5906 #[repr(transparent)] 5907 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5908 #[doc(hidden)] 5909 pub struct IPolyLineSegment(::windows::runtime::IInspectable); 5910 unsafe impl ::windows::runtime::Interface for IPolyLineSegment { 5911 type Vtable = IPolyLineSegment_abi; 5912 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1262059399, 41702, 18333, [189, 200, 111, 68, 100, 100, 104, 135]); 5913 } 5914 #[repr(C)] 5915 #[doc(hidden)] 5916 pub struct IPolyLineSegment_abi( 5917 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5918 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5919 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5920 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5921 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5922 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5923 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5924 #[cfg(not(feature = "Foundation_Collections"))] usize, 5925 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5926 #[cfg(not(feature = "Foundation_Collections"))] usize, 5927 ); 5928 #[repr(transparent)] 5929 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5930 #[doc(hidden)] 5931 pub struct IPolyLineSegmentStatics(::windows::runtime::IInspectable); 5932 unsafe impl ::windows::runtime::Interface for IPolyLineSegmentStatics { 5933 type Vtable = IPolyLineSegmentStatics_abi; 5934 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3595185287, 13297, 20080, [164, 127, 180, 152, 30, 246, 72, 162]); 5935 } 5936 #[repr(C)] 5937 #[doc(hidden)] 5938 pub struct IPolyLineSegmentStatics_abi( 5939 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5940 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5941 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5942 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5945 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5946 ); 5947 #[repr(transparent)] 5948 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5949 #[doc(hidden)] 5950 pub struct IPolyQuadraticBezierSegment(::windows::runtime::IInspectable); 5951 unsafe impl ::windows::runtime::Interface for IPolyQuadraticBezierSegment { 5952 type Vtable = IPolyQuadraticBezierSegment_abi; 5953 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3713854845, 59099, 19606, [182, 161, 63, 206, 150, 233, 135, 166]); 5954 } 5955 #[repr(C)] 5956 #[doc(hidden)] 5957 pub struct IPolyQuadraticBezierSegment_abi( 5958 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5959 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5960 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5961 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5963 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5964 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5965 #[cfg(not(feature = "Foundation_Collections"))] usize, 5966 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5967 #[cfg(not(feature = "Foundation_Collections"))] usize, 5968 ); 5969 #[repr(transparent)] 5970 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5971 #[doc(hidden)] 5972 pub struct IPolyQuadraticBezierSegmentStatics(::windows::runtime::IInspectable); 5973 unsafe impl ::windows::runtime::Interface for IPolyQuadraticBezierSegmentStatics { 5974 type Vtable = IPolyQuadraticBezierSegmentStatics_abi; 5975 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4260752245, 31445, 19593, [129, 105, 140, 151, 134, 171, 217, 235]); 5976 } 5977 #[repr(C)] 5978 #[doc(hidden)] 5979 pub struct IPolyQuadraticBezierSegmentStatics_abi( 5980 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5981 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5982 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5983 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 5984 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5985 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 5986 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5987 ); 5988 #[repr(transparent)] 5989 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5990 #[doc(hidden)] 5991 pub struct IProjection(::windows::runtime::IInspectable); 5992 unsafe impl ::windows::runtime::Interface for IProjection { 5993 type Vtable = IProjection_abi; 5994 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3007591767, 32569, 19716, [168, 156, 132, 67, 56, 202, 200, 151]); 5995 } 5996 #[repr(C)] 5997 #[doc(hidden)] 5998 pub struct IProjection_abi( 5999 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6000 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6001 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6002 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6003 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6004 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6005 ); 6006 #[repr(transparent)] 6007 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6008 #[doc(hidden)] 6009 pub struct IProjectionFactory(::windows::runtime::IInspectable); 6010 unsafe impl ::windows::runtime::Interface for IProjectionFactory { 6011 type Vtable = IProjectionFactory_abi; 6012 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3304234155, 24749, 20260, [189, 39, 157, 105, 195, 18, 124, 154]); 6013 } 6014 #[repr(C)] 6015 #[doc(hidden)] 6016 pub struct IProjectionFactory_abi( 6017 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6018 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6019 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6020 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6021 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6022 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6023 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6024 ); 6025 #[repr(transparent)] 6026 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6027 #[doc(hidden)] 6028 pub struct IQuadraticBezierSegment(::windows::runtime::IInspectable); 6029 unsafe impl ::windows::runtime::Interface for IQuadraticBezierSegment { 6030 type Vtable = IQuadraticBezierSegment_abi; 6031 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(743479899, 48920, 17754, [160, 120, 145, 75, 82, 50, 216, 175]); 6032 } 6033 #[repr(C)] 6034 #[doc(hidden)] 6035 pub struct IQuadraticBezierSegment_abi( 6036 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6037 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6038 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6039 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6040 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6041 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6042 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 6043 #[cfg(not(feature = "Foundation"))] usize, 6044 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 6045 #[cfg(not(feature = "Foundation"))] usize, 6046 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 6047 #[cfg(not(feature = "Foundation"))] usize, 6048 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Point) -> ::windows::runtime::HRESULT, 6049 #[cfg(not(feature = "Foundation"))] usize, 6050 ); 6051 #[repr(transparent)] 6052 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6053 #[doc(hidden)] 6054 pub struct IQuadraticBezierSegmentStatics(::windows::runtime::IInspectable); 6055 unsafe impl ::windows::runtime::Interface for IQuadraticBezierSegmentStatics { 6056 type Vtable = IQuadraticBezierSegmentStatics_abi; 6057 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1774682744, 15371, 19279, [183, 162, 240, 3, 222, 212, 27, 176]); 6058 } 6059 #[repr(C)] 6060 #[doc(hidden)] 6061 pub struct IQuadraticBezierSegmentStatics_abi( 6062 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6063 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6064 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6065 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6066 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6067 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6068 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6069 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6070 ); 6071 #[repr(transparent)] 6072 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6073 #[doc(hidden)] 6074 pub struct IRateChangedRoutedEventArgs(::windows::runtime::IInspectable); 6075 unsafe impl ::windows::runtime::Interface for IRateChangedRoutedEventArgs { 6076 type Vtable = IRateChangedRoutedEventArgs_abi; 6077 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2417404527, 15528, 19584, [142, 47, 136, 81, 166, 143, 19, 31]); 6078 } 6079 #[repr(C)] 6080 #[doc(hidden)] 6081 pub struct IRateChangedRoutedEventArgs_abi( 6082 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6083 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6084 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6085 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6086 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6087 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6088 ); 6089 #[repr(transparent)] 6090 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6091 #[doc(hidden)] 6092 pub struct IRectangleGeometry(::windows::runtime::IInspectable); 6093 unsafe impl ::windows::runtime::Interface for IRectangleGeometry { 6094 type Vtable = IRectangleGeometry_abi; 6095 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2723815256, 50549, 16790, [145, 207, 159, 223, 177, 4, 69, 195]); 6096 } 6097 #[repr(C)] 6098 #[doc(hidden)] 6099 pub struct IRectangleGeometry_abi( 6100 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6101 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6102 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6103 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6104 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6105 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6106 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::Rect) -> ::windows::runtime::HRESULT, 6107 #[cfg(not(feature = "Foundation"))] usize, 6108 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::Rect) -> ::windows::runtime::HRESULT, 6109 #[cfg(not(feature = "Foundation"))] usize, 6110 ); 6111 #[repr(transparent)] 6112 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6113 #[doc(hidden)] 6114 pub struct IRectangleGeometryStatics(::windows::runtime::IInspectable); 6115 unsafe impl ::windows::runtime::Interface for IRectangleGeometryStatics { 6116 type Vtable = IRectangleGeometryStatics_abi; 6117 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(931106234, 30978, 18659, [131, 190, 124, 128, 2, 166, 101, 60]); 6118 } 6119 #[repr(C)] 6120 #[doc(hidden)] 6121 pub struct IRectangleGeometryStatics_abi( 6122 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6123 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6124 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6125 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6126 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6127 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6128 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6129 ); 6130 #[repr(transparent)] 6131 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6132 #[doc(hidden)] 6133 pub struct IRenderedEventArgs(::windows::runtime::IInspectable); 6134 unsafe impl ::windows::runtime::Interface for IRenderedEventArgs { 6135 type Vtable = IRenderedEventArgs_abi; 6136 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3813245309, 33223, 18744, [130, 140, 167, 226, 121, 123, 53, 166]); 6137 } 6138 #[repr(C)] 6139 #[doc(hidden)] 6140 pub struct IRenderedEventArgs_abi( 6141 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6142 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6143 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6144 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6145 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6146 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6147 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 6148 #[cfg(not(feature = "Foundation"))] usize, 6149 ); 6150 #[repr(transparent)] 6151 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6152 #[doc(hidden)] 6153 pub struct IRenderingEventArgs(::windows::runtime::IInspectable); 6154 unsafe impl ::windows::runtime::Interface for IRenderingEventArgs { 6155 type Vtable = IRenderingEventArgs_abi; 6156 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1542968077, 38728, 19181, [131, 128, 215, 137, 14, 183, 118, 160]); 6157 } 6158 #[repr(C)] 6159 #[doc(hidden)] 6160 pub struct IRenderingEventArgs_abi( 6161 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6164 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6165 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6166 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6167 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 6168 #[cfg(not(feature = "Foundation"))] usize, 6169 ); 6170 #[repr(transparent)] 6171 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6172 #[doc(hidden)] 6173 pub struct IRevealBackgroundBrush(::windows::runtime::IInspectable); 6174 unsafe impl ::windows::runtime::Interface for IRevealBackgroundBrush { 6175 type Vtable = IRevealBackgroundBrush_abi; 6176 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(639486990, 6545, 19679, [174, 224, 99, 80, 163, 249, 11, 185]); 6177 } 6178 #[repr(C)] 6179 #[doc(hidden)] 6180 pub struct IRevealBackgroundBrush_abi( 6181 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6182 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6183 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6184 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6185 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6186 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6187 ); 6188 #[repr(transparent)] 6189 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6190 #[doc(hidden)] 6191 pub struct IRevealBackgroundBrushFactory(::windows::runtime::IInspectable); 6192 unsafe impl ::windows::runtime::Interface for IRevealBackgroundBrushFactory { 6193 type Vtable = IRevealBackgroundBrushFactory_abi; 6194 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2354494634, 677, 20293, [133, 6, 141, 57, 34, 143, 93, 63]); 6195 } 6196 #[repr(C)] 6197 #[doc(hidden)] 6198 pub struct IRevealBackgroundBrushFactory_abi( 6199 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6200 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6201 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6202 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6203 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6204 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6205 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6206 ); 6207 #[repr(transparent)] 6208 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6209 #[doc(hidden)] 6210 pub struct IRevealBorderBrush(::windows::runtime::IInspectable); 6211 unsafe impl ::windows::runtime::Interface for IRevealBorderBrush { 6212 type Vtable = IRevealBorderBrush_abi; 6213 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(101425429, 50498, 18492, [130, 2, 95, 3, 51, 24, 102, 201]); 6214 } 6215 #[repr(C)] 6216 #[doc(hidden)] 6217 pub struct IRevealBorderBrush_abi( 6218 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6219 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6220 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6221 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6222 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6223 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6224 ); 6225 #[repr(transparent)] 6226 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6227 #[doc(hidden)] 6228 pub struct IRevealBorderBrushFactory(::windows::runtime::IInspectable); 6229 unsafe impl ::windows::runtime::Interface for IRevealBorderBrushFactory { 6230 type Vtable = IRevealBorderBrushFactory_abi; 6231 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2495763096, 62968, 17538, [162, 92, 103, 88, 80, 26, 134, 38]); 6232 } 6233 #[repr(C)] 6234 #[doc(hidden)] 6235 pub struct IRevealBorderBrushFactory_abi( 6236 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6237 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6238 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6239 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6240 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6241 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6242 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6243 ); 6244 #[repr(transparent)] 6245 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6246 #[doc(hidden)] 6247 pub struct IRevealBrush(::windows::runtime::IInspectable); 6248 unsafe impl ::windows::runtime::Interface for IRevealBrush { 6249 type Vtable = IRevealBrush_abi; 6250 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(540451053, 33393, 17304, [144, 25, 37, 135, 32, 147, 241, 63]); 6251 } 6252 #[repr(C)] 6253 #[doc(hidden)] 6254 pub struct IRevealBrush_abi( 6255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6257 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6258 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6259 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6260 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6261 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Color) -> ::windows::runtime::HRESULT, 6262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Color) -> ::windows::runtime::HRESULT, 6263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::ApplicationTheme) -> ::windows::runtime::HRESULT, 6264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::ApplicationTheme) -> ::windows::runtime::HRESULT, 6265 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut bool) -> ::windows::runtime::HRESULT, 6266 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: bool) -> ::windows::runtime::HRESULT, 6267 ); 6268 #[repr(transparent)] 6269 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6270 #[doc(hidden)] 6271 pub struct IRevealBrushFactory(::windows::runtime::IInspectable); 6272 unsafe impl ::windows::runtime::Interface for IRevealBrushFactory { 6273 type Vtable = IRevealBrushFactory_abi; 6274 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2643687886, 58272, 19119, [190, 55, 234, 157, 157, 212, 49, 5]); 6275 } 6276 #[repr(C)] 6277 #[doc(hidden)] 6278 pub struct IRevealBrushFactory_abi( 6279 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6280 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6281 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6282 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6283 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6284 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6285 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6286 ); 6287 #[repr(transparent)] 6288 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6289 #[doc(hidden)] 6290 pub struct IRevealBrushStatics(::windows::runtime::IInspectable); 6291 unsafe impl ::windows::runtime::Interface for IRevealBrushStatics { 6292 type Vtable = IRevealBrushStatics_abi; 6293 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(420423205, 29193, 19778, [168, 71, 26, 196, 187, 187, 52, 153]); 6294 } 6295 #[repr(C)] 6296 #[doc(hidden)] 6297 pub struct IRevealBrushStatics_abi( 6298 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6299 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6300 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6301 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6302 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6303 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6304 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6305 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6306 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6307 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6308 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, element: ::windows::runtime::RawPtr, value: RevealBrushState) -> ::windows::runtime::HRESULT, 6309 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, element: ::windows::runtime::RawPtr, result__: *mut RevealBrushState) -> ::windows::runtime::HRESULT, 6310 ); 6311 #[repr(transparent)] 6312 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6313 #[doc(hidden)] 6314 pub struct IRotateTransform(::windows::runtime::IInspectable); 6315 unsafe impl ::windows::runtime::Interface for IRotateTransform { 6316 type Vtable = IRotateTransform_abi; 6317 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1754180025, 7758, 17814, [134, 227, 66, 139, 39, 51, 79, 175]); 6318 } 6319 #[repr(C)] 6320 #[doc(hidden)] 6321 pub struct IRotateTransform_abi( 6322 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6323 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6324 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6325 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6326 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6327 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6328 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6329 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6330 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6331 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6332 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6333 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6334 ); 6335 #[repr(transparent)] 6336 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6337 #[doc(hidden)] 6338 pub struct IRotateTransformStatics(::windows::runtime::IInspectable); 6339 unsafe impl ::windows::runtime::Interface for IRotateTransformStatics { 6340 type Vtable = IRotateTransformStatics_abi; 6341 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2704403338, 20899, 16822, [185, 211, 161, 14, 66, 144, 84, 171]); 6342 } 6343 #[repr(C)] 6344 #[doc(hidden)] 6345 pub struct IRotateTransformStatics_abi( 6346 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6347 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6348 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6349 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6350 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6351 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6352 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6353 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6354 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6355 ); 6356 #[repr(transparent)] 6357 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6358 #[doc(hidden)] 6359 pub struct IScaleTransform(::windows::runtime::IInspectable); 6360 unsafe impl ::windows::runtime::Interface for IScaleTransform { 6361 type Vtable = IScaleTransform_abi; 6362 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3983012237, 37742, 17323, [146, 154, 233, 205, 10, 81, 30, 82]); 6363 } 6364 #[repr(C)] 6365 #[doc(hidden)] 6366 pub struct IScaleTransform_abi( 6367 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6368 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6369 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6370 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6371 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6372 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6373 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6374 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6375 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6376 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6377 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6378 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6379 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6380 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6381 ); 6382 #[repr(transparent)] 6383 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6384 #[doc(hidden)] 6385 pub struct IScaleTransformStatics(::windows::runtime::IInspectable); 6386 unsafe impl ::windows::runtime::Interface for IScaleTransformStatics { 6387 type Vtable = IScaleTransformStatics_abi; 6388 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2643736308, 16551, 18141, [151, 90, 7, 211, 55, 205, 133, 46]); 6389 } 6390 #[repr(C)] 6391 #[doc(hidden)] 6392 pub struct IScaleTransformStatics_abi( 6393 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6394 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6395 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6396 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6397 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6399 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6401 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6402 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6403 ); 6404 #[repr(transparent)] 6405 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6406 #[doc(hidden)] 6407 pub struct IShadow(::windows::runtime::IInspectable); 6408 unsafe impl ::windows::runtime::Interface for IShadow { 6409 type Vtable = IShadow_abi; 6410 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1746118019, 62388, 24527, [134, 148, 44, 208, 174, 252, 47, 173]); 6411 } 6412 #[repr(C)] 6413 #[doc(hidden)] 6414 pub struct IShadow_abi( 6415 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6416 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6417 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6418 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6419 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6420 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6421 ); 6422 #[repr(transparent)] 6423 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6424 #[doc(hidden)] 6425 pub struct IShadowFactory(::windows::runtime::IInspectable); 6426 unsafe impl ::windows::runtime::Interface for IShadowFactory { 6427 type Vtable = IShadowFactory_abi; 6428 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(428449573, 53899, 20966, [148, 176, 215, 231, 9, 104, 99, 5]); 6429 } 6430 #[repr(C)] 6431 #[doc(hidden)] 6432 pub struct IShadowFactory_abi( 6433 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6434 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6435 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6436 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6437 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6438 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6439 ); 6440 #[repr(transparent)] 6441 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6442 #[doc(hidden)] 6443 pub struct ISkewTransform(::windows::runtime::IInspectable); 6444 unsafe impl ::windows::runtime::Interface for ISkewTransform { 6445 type Vtable = ISkewTransform_abi; 6446 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1317681941, 31247, 17943, [158, 152, 30, 101, 189, 201, 33, 21]); 6447 } 6448 #[repr(C)] 6449 #[doc(hidden)] 6450 pub struct ISkewTransform_abi( 6451 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6453 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6454 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6455 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6457 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6459 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6460 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6461 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6462 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6464 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6465 ); 6466 #[repr(transparent)] 6467 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6468 #[doc(hidden)] 6469 pub struct ISkewTransformStatics(::windows::runtime::IInspectable); 6470 unsafe impl ::windows::runtime::Interface for ISkewTransformStatics { 6471 type Vtable = ISkewTransformStatics_abi; 6472 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3973127539, 22036, 19249, [182, 175, 190, 174, 16, 16, 86, 36]); 6473 } 6474 #[repr(C)] 6475 #[doc(hidden)] 6476 pub struct ISkewTransformStatics_abi( 6477 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6478 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6479 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6480 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6481 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6482 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6483 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6484 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6485 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6486 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6487 ); 6488 #[repr(transparent)] 6489 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6490 #[doc(hidden)] 6491 pub struct ISolidColorBrush(::windows::runtime::IInspectable); 6492 unsafe impl ::windows::runtime::Interface for ISolidColorBrush { 6493 type Vtable = ISolidColorBrush_abi; 6494 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2642741328, 26355, 18655, [154, 143, 130, 75, 213, 224, 112, 175]); 6495 } 6496 #[repr(C)] 6497 #[doc(hidden)] 6498 pub struct ISolidColorBrush_abi( 6499 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6500 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6501 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6502 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6503 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6504 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6505 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Color) -> ::windows::runtime::HRESULT, 6506 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Color) -> ::windows::runtime::HRESULT, 6507 ); 6508 #[repr(transparent)] 6509 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6510 #[doc(hidden)] 6511 pub struct ISolidColorBrushFactory(::windows::runtime::IInspectable); 6512 unsafe impl ::windows::runtime::Interface for ISolidColorBrushFactory { 6513 type Vtable = ISolidColorBrushFactory_abi; 6514 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3644182028, 34549, 19878, [138, 39, 177, 97, 158, 247, 249, 43]); 6515 } 6516 #[repr(C)] 6517 #[doc(hidden)] 6518 pub struct ISolidColorBrushFactory_abi( 6519 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6520 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6521 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6522 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6523 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6524 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6525 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: super::super::Color, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6526 ); 6527 #[repr(transparent)] 6528 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6529 #[doc(hidden)] 6530 pub struct ISolidColorBrushStatics(::windows::runtime::IInspectable); 6531 unsafe impl ::windows::runtime::Interface for ISolidColorBrushStatics { 6532 type Vtable = ISolidColorBrushStatics_abi; 6533 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3785776890, 11043, 16826, [185, 186, 112, 148, 236, 142, 78, 159]); 6534 } 6535 #[repr(C)] 6536 #[doc(hidden)] 6537 pub struct ISolidColorBrushStatics_abi( 6538 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6539 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6540 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6541 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6542 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6543 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6544 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6545 ); 6546 #[repr(transparent)] 6547 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6548 #[doc(hidden)] 6549 pub struct IThemeShadow(::windows::runtime::IInspectable); 6550 unsafe impl ::windows::runtime::Interface for IThemeShadow { 6551 type Vtable = IThemeShadow_abi; 6552 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1053601033, 31109, 24377, [139, 98, 108, 16, 105, 109, 202, 111]); 6553 } 6554 #[repr(C)] 6555 #[doc(hidden)] 6556 pub struct IThemeShadow_abi( 6557 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6558 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6559 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6560 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6561 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6562 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6563 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6564 ); 6565 #[repr(transparent)] 6566 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6567 #[doc(hidden)] 6568 pub struct IThemeShadowFactory(::windows::runtime::IInspectable); 6569 unsafe impl ::windows::runtime::Interface for IThemeShadowFactory { 6570 type Vtable = IThemeShadowFactory_abi; 6571 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(779175517, 3943, 22798, [131, 27, 126, 94, 42, 50, 183, 120]); 6572 } 6573 #[repr(C)] 6574 #[doc(hidden)] 6575 pub struct IThemeShadowFactory_abi( 6576 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6577 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6578 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6579 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6580 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6581 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6582 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6583 ); 6584 #[repr(transparent)] 6585 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6586 #[doc(hidden)] 6587 pub struct ITileBrush(::windows::runtime::IInspectable); 6588 unsafe impl ::windows::runtime::Interface for ITileBrush { 6589 type Vtable = ITileBrush_abi; 6590 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3254898438, 52612, 18597, [150, 7, 102, 77, 115, 97, 205, 97]); 6591 } 6592 #[repr(C)] 6593 #[doc(hidden)] 6594 pub struct ITileBrush_abi( 6595 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6596 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6597 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6598 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6599 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6600 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6601 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AlignmentX) -> ::windows::runtime::HRESULT, 6602 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AlignmentX) -> ::windows::runtime::HRESULT, 6603 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut AlignmentY) -> ::windows::runtime::HRESULT, 6604 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: AlignmentY) -> ::windows::runtime::HRESULT, 6605 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut Stretch) -> ::windows::runtime::HRESULT, 6606 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: Stretch) -> ::windows::runtime::HRESULT, 6607 ); 6608 #[repr(transparent)] 6609 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6610 #[doc(hidden)] 6611 pub struct ITileBrushFactory(::windows::runtime::IInspectable); 6612 unsafe impl ::windows::runtime::Interface for ITileBrushFactory { 6613 type Vtable = ITileBrushFactory_abi; 6614 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2853543804, 60778, 20403, [176, 20, 181, 199, 227, 121, 164, 222]); 6615 } 6616 #[repr(C)] 6617 #[doc(hidden)] 6618 pub struct ITileBrushFactory_abi( 6619 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6620 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6621 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6622 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6623 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6624 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6625 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6626 ); 6627 #[repr(transparent)] 6628 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6629 #[doc(hidden)] 6630 pub struct ITileBrushStatics(::windows::runtime::IInspectable); 6631 unsafe impl ::windows::runtime::Interface for ITileBrushStatics { 6632 type Vtable = ITileBrushStatics_abi; 6633 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(882360923, 46434, 20072, [132, 53, 35, 153, 246, 235, 148, 213]); 6634 } 6635 #[repr(C)] 6636 #[doc(hidden)] 6637 pub struct ITileBrushStatics_abi( 6638 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6639 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6640 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6641 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6642 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6643 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6644 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6645 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6646 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6647 ); 6648 #[repr(transparent)] 6649 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6650 #[doc(hidden)] 6651 pub struct ITimelineMarker(::windows::runtime::IInspectable); 6652 unsafe impl ::windows::runtime::Interface for ITimelineMarker { 6653 type Vtable = ITimelineMarker_abi; 6654 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2794385453, 17850, 20048, [140, 173, 170, 234, 58, 34, 122, 245]); 6655 } 6656 #[repr(C)] 6657 #[doc(hidden)] 6658 pub struct ITimelineMarker_abi( 6659 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6660 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6661 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6662 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6663 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6664 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6665 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 6666 #[cfg(not(feature = "Foundation"))] usize, 6667 #[cfg(feature = "Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::super::Foundation::TimeSpan) -> ::windows::runtime::HRESULT, 6668 #[cfg(not(feature = "Foundation"))] usize, 6669 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 6670 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 6671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 6672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 6673 ); 6674 #[repr(transparent)] 6675 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6676 #[doc(hidden)] 6677 pub struct ITimelineMarkerRoutedEventArgs(::windows::runtime::IInspectable); 6678 unsafe impl ::windows::runtime::Interface for ITimelineMarkerRoutedEventArgs { 6679 type Vtable = ITimelineMarkerRoutedEventArgs_abi; 6680 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2084257523, 11400, 19868, [153, 182, 70, 205, 189, 72, 212, 193]); 6681 } 6682 #[repr(C)] 6683 #[doc(hidden)] 6684 pub struct ITimelineMarkerRoutedEventArgs_abi( 6685 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6686 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6687 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6688 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6689 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6690 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6691 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6692 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6693 ); 6694 #[repr(transparent)] 6695 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6696 #[doc(hidden)] 6697 pub struct ITimelineMarkerStatics(::windows::runtime::IInspectable); 6698 unsafe impl ::windows::runtime::Interface for ITimelineMarkerStatics { 6699 type Vtable = ITimelineMarkerStatics_abi; 6700 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3299799238, 5795, 18507, [135, 245, 101, 40, 184, 240, 74, 71]); 6701 } 6702 #[repr(C)] 6703 #[doc(hidden)] 6704 pub struct ITimelineMarkerStatics_abi( 6705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6707 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6709 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6710 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6711 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6712 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6713 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6714 ); 6715 #[repr(transparent)] 6716 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6717 #[doc(hidden)] 6718 pub struct ITransform(::windows::runtime::IInspectable); 6719 unsafe impl ::windows::runtime::Interface for ITransform { 6720 type Vtable = ITransform_abi; 6721 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1308049528, 49110, 20177, [150, 130, 210, 253, 139, 242, 254, 111]); 6722 } 6723 #[repr(C)] 6724 #[doc(hidden)] 6725 pub struct ITransform_abi( 6726 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6727 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6728 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6729 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6730 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6731 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6732 ); 6733 #[repr(transparent)] 6734 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6735 #[doc(hidden)] 6736 pub struct ITransformFactory(::windows::runtime::IInspectable); 6737 unsafe impl ::windows::runtime::Interface for ITransformFactory { 6738 type Vtable = ITransformFactory_abi; 6739 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(445995622, 31988, 17184, [180, 22, 97, 129, 25, 47, 204, 109]); 6740 } 6741 #[repr(C)] 6742 #[doc(hidden)] 6743 pub struct ITransformFactory_abi( 6744 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6745 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6746 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6747 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6748 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6749 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6750 ); 6751 #[repr(transparent)] 6752 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6753 #[doc(hidden)] 6754 pub struct ITransformGroup(::windows::runtime::IInspectable); 6755 unsafe impl ::windows::runtime::Interface for ITransformGroup { 6756 type Vtable = ITransformGroup_abi; 6757 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1665240268, 36141, 18231, [185, 81, 42, 252, 225, 221, 196, 196]); 6758 } 6759 #[repr(C)] 6760 #[doc(hidden)] 6761 pub struct ITransformGroup_abi( 6762 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6763 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6764 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6765 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6766 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6767 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6768 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6769 #[cfg(not(feature = "Foundation_Collections"))] usize, 6770 #[cfg(feature = "Foundation_Collections")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6771 #[cfg(not(feature = "Foundation_Collections"))] usize, 6772 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut Matrix) -> ::windows::runtime::HRESULT, 6773 ); 6774 #[repr(transparent)] 6775 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6776 #[doc(hidden)] 6777 pub struct ITransformGroupStatics(::windows::runtime::IInspectable); 6778 unsafe impl ::windows::runtime::Interface for ITransformGroupStatics { 6779 type Vtable = ITransformGroupStatics_abi; 6780 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(623980330, 53163, 19236, [151, 19, 91, 222, 173, 25, 41, 192]); 6781 } 6782 #[repr(C)] 6783 #[doc(hidden)] 6784 pub struct ITransformGroupStatics_abi( 6785 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6786 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6787 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6788 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6789 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6790 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6791 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6792 ); 6793 #[repr(transparent)] 6794 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6795 #[doc(hidden)] 6796 pub struct ITranslateTransform(::windows::runtime::IInspectable); 6797 unsafe impl ::windows::runtime::Interface for ITranslateTransform { 6798 type Vtable = ITranslateTransform_abi; 6799 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3379925084, 15414, 16937, [129, 123, 23, 143, 100, 192, 225, 19]); 6800 } 6801 #[repr(C)] 6802 #[doc(hidden)] 6803 pub struct ITranslateTransform_abi( 6804 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6805 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6806 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6807 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6808 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6809 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6810 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6811 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6812 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut f64) -> ::windows::runtime::HRESULT, 6813 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f64) -> ::windows::runtime::HRESULT, 6814 ); 6815 #[repr(transparent)] 6816 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6817 #[doc(hidden)] 6818 pub struct ITranslateTransformStatics(::windows::runtime::IInspectable); 6819 unsafe impl ::windows::runtime::Interface for ITranslateTransformStatics { 6820 type Vtable = ITranslateTransformStatics_abi; 6821 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4095322769, 57410, 16657, [156, 47, 210, 1, 48, 65, 35, 221]); 6822 } 6823 #[repr(C)] 6824 #[doc(hidden)] 6825 pub struct ITranslateTransformStatics_abi( 6826 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6827 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6828 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6829 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6830 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6831 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6832 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6833 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6834 ); 6835 #[repr(transparent)] 6836 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6837 #[doc(hidden)] 6838 pub struct IVisualTreeHelper(::windows::runtime::IInspectable); 6839 unsafe impl ::windows::runtime::Interface for IVisualTreeHelper { 6840 type Vtable = IVisualTreeHelper_abi; 6841 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(616117731, 21191, 16705, [139, 172, 167, 61, 6, 19, 5, 105]); 6842 } 6843 #[repr(C)] 6844 #[doc(hidden)] 6845 pub struct IVisualTreeHelper_abi( 6846 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6847 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6848 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6849 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6850 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6851 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6852 ); 6853 #[repr(transparent)] 6854 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6855 #[doc(hidden)] 6856 pub struct IVisualTreeHelperStatics(::windows::runtime::IInspectable); 6857 unsafe impl ::windows::runtime::Interface for IVisualTreeHelperStatics { 6858 type Vtable = IVisualTreeHelperStatics_abi; 6859 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3881261252, 53853, 19229, [151, 31, 89, 111, 23, 241, 43, 170]); 6860 } 6861 #[repr(C)] 6862 #[doc(hidden)] 6863 pub struct IVisualTreeHelperStatics_abi( 6864 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6865 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6866 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6867 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6868 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6869 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6870 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, intersectingpoint: super::super::super::Foundation::Point, subtree: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6871 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 6872 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, intersectingrect: super::super::super::Foundation::Rect, subtree: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6873 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 6874 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, intersectingpoint: super::super::super::Foundation::Point, subtree: ::windows::runtime::RawPtr, includeallelements: bool, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6875 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 6876 #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, intersectingrect: super::super::super::Foundation::Rect, subtree: ::windows::runtime::RawPtr, includeallelements: bool, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6877 #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] usize, 6878 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reference: ::windows::runtime::RawPtr, childindex: i32, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6879 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reference: ::windows::runtime::RawPtr, result__: *mut i32) -> ::windows::runtime::HRESULT, 6880 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reference: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6881 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, element: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6882 ); 6883 #[repr(transparent)] 6884 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6885 #[doc(hidden)] 6886 pub struct IVisualTreeHelperStatics2(::windows::runtime::IInspectable); 6887 unsafe impl ::windows::runtime::Interface for IVisualTreeHelperStatics2 { 6888 type Vtable = IVisualTreeHelperStatics2_abi; 6889 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(129814902, 34463, 17575, [135, 151, 33, 3, 164, 195, 228, 122]); 6890 } 6891 #[repr(C)] 6892 #[doc(hidden)] 6893 pub struct IVisualTreeHelperStatics2_abi( 6894 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6895 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6896 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6897 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6898 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6899 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6900 #[cfg(all(feature = "Foundation_Collections", feature = "UI_Xaml_Controls_Primitives"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, window: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6901 #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Xaml_Controls_Primitives")))] usize, 6902 ); 6903 #[repr(transparent)] 6904 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6905 #[doc(hidden)] 6906 pub struct IVisualTreeHelperStatics3(::windows::runtime::IInspectable); 6907 unsafe impl ::windows::runtime::Interface for IVisualTreeHelperStatics3 { 6908 type Vtable = IVisualTreeHelperStatics3_abi; 6909 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1078070608, 51734, 22490, [138, 172, 148, 76, 138, 245, 119, 253]); 6910 } 6911 #[repr(C)] 6912 #[doc(hidden)] 6913 pub struct IVisualTreeHelperStatics3_abi( 6914 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6915 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6916 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6917 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6918 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6919 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6920 #[cfg(all(feature = "Foundation_Collections", feature = "UI_Xaml_Controls_Primitives"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xamlroot: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6921 #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Xaml_Controls_Primitives")))] usize, 6922 ); 6923 #[repr(transparent)] 6924 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6925 #[doc(hidden)] 6926 pub struct IXamlCompositionBrushBase(::windows::runtime::IInspectable); 6927 unsafe impl ::windows::runtime::Interface for IXamlCompositionBrushBase { 6928 type Vtable = IXamlCompositionBrushBase_abi; 6929 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(65286873, 45916, 19065, [129, 28, 197, 101, 32, 4, 218, 14]); 6930 } 6931 #[repr(C)] 6932 #[doc(hidden)] 6933 pub struct IXamlCompositionBrushBase_abi( 6934 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6935 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6936 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6937 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6938 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6939 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6940 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut super::super::Color) -> ::windows::runtime::HRESULT, 6941 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: super::super::Color) -> ::windows::runtime::HRESULT, 6942 ); 6943 #[repr(transparent)] 6944 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6945 #[doc(hidden)] 6946 pub struct IXamlCompositionBrushBaseFactory(::windows::runtime::IInspectable); 6947 unsafe impl ::windows::runtime::Interface for IXamlCompositionBrushBaseFactory { 6948 type Vtable = IXamlCompositionBrushBaseFactory_abi; 6949 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(961480739, 9297, 20184, [189, 36, 72, 129, 73, 179, 66, 141]); 6950 } 6951 #[repr(C)] 6952 #[doc(hidden)] 6953 pub struct IXamlCompositionBrushBaseFactory_abi( 6954 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6955 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6956 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6957 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6958 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6959 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6960 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6961 ); 6962 #[repr(transparent)] 6963 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6964 #[doc(hidden)] 6965 pub struct IXamlCompositionBrushBaseOverrides(::windows::runtime::IInspectable); 6966 unsafe impl ::windows::runtime::Interface for IXamlCompositionBrushBaseOverrides { 6967 type Vtable = IXamlCompositionBrushBaseOverrides_abi; 6968 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3515951089, 14516, 20129, [143, 51, 132, 150, 41, 164, 201, 193]); 6969 } 6970 #[repr(C)] 6971 #[doc(hidden)] 6972 pub struct IXamlCompositionBrushBaseOverrides_abi( 6973 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6974 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6975 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6976 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6977 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6978 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6979 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6980 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6981 ); 6982 #[repr(transparent)] 6983 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 6984 #[doc(hidden)] 6985 pub struct IXamlCompositionBrushBaseProtected(::windows::runtime::IInspectable); 6986 unsafe impl ::windows::runtime::Interface for IXamlCompositionBrushBaseProtected { 6987 type Vtable = IXamlCompositionBrushBaseProtected_abi; 6988 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(353629144, 1111, 19996, [173, 119, 17, 193, 217, 135, 151, 67]); 6989 } 6990 #[repr(C)] 6991 #[doc(hidden)] 6992 pub struct IXamlCompositionBrushBaseProtected_abi( 6993 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6994 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6995 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 6996 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 6997 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 6998 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 6999 #[cfg(feature = "UI_Composition")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7000 #[cfg(not(feature = "UI_Composition"))] usize, 7001 #[cfg(feature = "UI_Composition")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7002 #[cfg(not(feature = "UI_Composition"))] usize, 7003 ); 7004 #[repr(transparent)] 7005 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 7006 #[doc(hidden)] 7007 pub struct IXamlCompositionBrushBaseStatics(::windows::runtime::IInspectable); 7008 unsafe impl ::windows::runtime::Interface for IXamlCompositionBrushBaseStatics { 7009 type Vtable = IXamlCompositionBrushBaseStatics_abi; 7010 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1339333382, 1562, 17439, [185, 122, 173, 251, 212, 26, 230, 129]); 7011 } 7012 #[repr(C)] 7013 #[doc(hidden)] 7014 pub struct IXamlCompositionBrushBaseStatics_abi( 7015 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7016 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7017 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7018 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 7019 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7020 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 7021 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7022 ); 7023 #[repr(transparent)] 7024 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 7025 #[doc(hidden)] 7026 pub struct IXamlLight(::windows::runtime::IInspectable); 7027 unsafe impl ::windows::runtime::Interface for IXamlLight { 7028 type Vtable = IXamlLight_abi; 7029 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(214170655, 45863, 18968, [150, 72, 124, 132, 219, 38, 206, 34]); 7030 } 7031 #[repr(C)] 7032 #[doc(hidden)] 7033 pub struct IXamlLight_abi( 7034 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7035 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7036 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7037 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 7038 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7039 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 7040 ); 7041 #[repr(transparent)] 7042 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 7043 #[doc(hidden)] 7044 pub struct IXamlLightFactory(::windows::runtime::IInspectable); 7045 unsafe impl ::windows::runtime::Interface for IXamlLightFactory { 7046 type Vtable = IXamlLightFactory_abi; 7047 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2279528296, 12373, 17336, [142, 246, 121, 141, 196, 194, 50, 154]); 7048 } 7049 #[repr(C)] 7050 #[doc(hidden)] 7051 pub struct IXamlLightFactory_abi( 7052 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7053 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7054 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7055 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 7056 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7057 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 7058 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseinterface: ::windows::runtime::RawPtr, innerinterface: *mut ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7059 ); 7060 #[repr(transparent)] 7061 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 7062 #[doc(hidden)] 7063 pub struct IXamlLightOverrides(::windows::runtime::IInspectable); 7064 unsafe impl ::windows::runtime::Interface for IXamlLightOverrides { 7065 type Vtable = IXamlLightOverrides_abi; 7066 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2086835911, 371, 18657, [183, 61, 127, 162, 22, 169, 172, 40]); 7067 } 7068 #[repr(C)] 7069 #[doc(hidden)] 7070 pub struct IXamlLightOverrides_abi( 7071 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7072 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7073 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7074 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 7075 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7076 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 7077 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>) -> ::windows::runtime::HRESULT, 7078 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newelement: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7079 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldelement: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7080 ); 7081 #[repr(transparent)] 7082 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 7083 #[doc(hidden)] 7084 pub struct IXamlLightProtected(::windows::runtime::IInspectable); 7085 unsafe impl ::windows::runtime::Interface for IXamlLightProtected { 7086 type Vtable = IXamlLightProtected_abi; 7087 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1590632971, 4690, 17360, [151, 41, 110, 166, 146, 4, 104, 56]); 7088 } 7089 #[repr(C)] 7090 #[doc(hidden)] 7091 pub struct IXamlLightProtected_abi( 7092 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7093 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7094 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7095 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 7096 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7097 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 7098 #[cfg(feature = "UI_Composition")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, result__: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7099 #[cfg(not(feature = "UI_Composition"))] usize, 7100 #[cfg(feature = "UI_Composition")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7101 #[cfg(not(feature = "UI_Composition"))] usize, 7102 ); 7103 #[repr(transparent)] 7104 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 7105 #[doc(hidden)] 7106 pub struct IXamlLightStatics(::windows::runtime::IInspectable); 7107 unsafe impl ::windows::runtime::Interface for IXamlLightStatics { 7108 type Vtable = IXamlLightStatics_abi; 7109 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3052051817, 46344, 20124, [189, 39, 107, 4, 75, 95, 120, 160]); 7110 } 7111 #[repr(C)] 7112 #[doc(hidden)] 7113 pub struct IXamlLightStatics_abi( 7114 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7115 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7116 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 7117 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32, values: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 7118 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7119 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT, 7120 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lightid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, element: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7121 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lightid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, element: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7122 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lightid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, brush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7123 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lightid: ::std::mem::ManuallyDrop<::windows::runtime::HSTRING>, brush: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 7124 ); 7125 #[repr(transparent)] 7126 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 7127 pub struct ImageBrush(::windows::runtime::IInspectable); 7128 impl ImageBrush { new() -> ::windows::runtime::Result<Self>7129 pub fn new() -> ::windows::runtime::Result<Self> { 7130 Self::IActivationFactory(|f| f.activate_instance::<Self>()) 7131 } IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R>7132 fn IActivationFactory<R, F: FnOnce(&::windows::runtime::IActivationFactory) -> ::windows::runtime::Result<R>>(callback: F) -> ::windows::runtime::Result<R> { 7133 static mut SHARED: ::windows::runtime::FactoryCache<ImageBrush, ::windows::runtime::IActivationFactory> = ::windows::runtime::FactoryCache::new(); 7134 unsafe { SHARED.call(callback) } 7135 } ImageSource(&self) -> ::windows::runtime::Result<ImageSource>7136 pub fn ImageSource(&self) -> ::windows::runtime::Result<ImageSource> { 7137 let this = self; 7138 unsafe { 7139 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 7140 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<ImageSource>(result__) 7141 } 7142 } SetImageSource<'a, Param0: ::windows::runtime::IntoParam<'a, ImageSource>>(&self, value: Param0) -> ::windows::runtime::Result<()>7143 pub fn SetImageSource<'a, Param0: ::windows::runtime::IntoParam<'a, ImageSource>>(&self, value: Param0) -> ::windows::runtime::Result<()> { 7144 let this = self; 7145 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value.into_param().abi()).ok() } 7146 } 7147 #[cfg(feature = "Foundation")] ImageFailed<'a, Param0: ::windows::runtime::IntoParam<'a, super::ExceptionRoutedEventHandler>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>7148 pub fn ImageFailed<'a, Param0: ::windows::runtime::IntoParam<'a, super::ExceptionRoutedEventHandler>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 7149 let this = self; 7150 unsafe { 7151 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 7152 (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 7153 } 7154 } 7155 #[cfg(feature = "Foundation")] RemoveImageFailed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>7156 pub fn RemoveImageFailed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 7157 let this = self; 7158 unsafe { (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 7159 } 7160 #[cfg(feature = "Foundation")] ImageOpened<'a, Param0: ::windows::runtime::IntoParam<'a, super::RoutedEventHandler>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken>7161 pub fn ImageOpened<'a, Param0: ::windows::runtime::IntoParam<'a, super::RoutedEventHandler>>(&self, handler: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::EventRegistrationToken> { 7162 let this = self; 7163 unsafe { 7164 let mut result__: super::super::super::Foundation::EventRegistrationToken = ::std::mem::zeroed(); 7165 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), handler.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::EventRegistrationToken>(result__) 7166 } 7167 } 7168 #[cfg(feature = "Foundation")] RemoveImageOpened<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()>7169 pub fn RemoveImageOpened<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::runtime::Result<()> { 7170 let this = self; 7171 unsafe { (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), token.into_param().abi()).ok() } 7172 } ImageSourceProperty() -> ::windows::runtime::Result<super::DependencyProperty>7173 pub fn ImageSourceProperty() -> ::windows::runtime::Result<super::DependencyProperty> { 7174 Self::IImageBrushStatics(|this| unsafe { 7175 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 7176 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::DependencyProperty>(result__) 7177 }) 7178 } GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>7179 pub fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 7180 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 7181 unsafe { 7182 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 7183 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 7184 } 7185 } SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()>7186 pub fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IInspectable>>(&self, dp: Param0, value: Param1) -> ::windows::runtime::Result<()> { 7187 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 7188 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), value.into_param().abi()).ok() } 7189 } ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()>7190 pub fn ClearValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<()> { 7191 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 7192 unsafe { (::windows::runtime::Interface::vtable(this).8)(::std::mem::transmute_copy(this), dp.into_param().abi()).ok() } 7193 } ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>7194 pub fn ReadLocalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 7195 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 7196 unsafe { 7197 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 7198 (::windows::runtime::Interface::vtable(this).9)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 7199 } 7200 } GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable>7201 pub fn GetAnimationBaseValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0) -> ::windows::runtime::Result<::windows::runtime::IInspectable> { 7202 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 7203 unsafe { 7204 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 7205 (::windows::runtime::Interface::vtable(this).10)(::std::mem::transmute_copy(this), dp.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IInspectable>(result__) 7206 } 7207 } 7208 #[cfg(feature = "UI_Core")] Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher>7209 pub fn Dispatcher(&self) -> ::windows::runtime::Result<super::super::Core::CoreDispatcher> { 7210 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject>(self)?; 7211 unsafe { 7212 let mut result__: ::windows::runtime::RawPtr = ::std::mem::zeroed(); 7213 (::windows::runtime::Interface::vtable(this).11)(::std::mem::transmute_copy(this), &mut result__).from_abi::<super::super::Core::CoreDispatcher>(result__) 7214 } 7215 } RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64>7216 pub fn RegisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>, Param1: ::windows::runtime::IntoParam<'a, super::DependencyPropertyChangedCallback>>(&self, dp: Param0, callback: Param1) -> ::windows::runtime::Result<i64> { 7217 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 7218 unsafe { 7219 let mut result__: i64 = ::std::mem::zeroed(); 7220 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), dp.into_param().abi(), callback.into_param().abi(), &mut result__).from_abi::<i64>(result__) 7221 } 7222 } UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()>7223 pub fn UnregisterPropertyChangedCallback<'a, Param0: ::windows::runtime::IntoParam<'a, super::DependencyProperty>>(&self, dp: Param0, token: i64) -> ::windows::runtime::Result<()> { 7224 let this = &::windows::runtime::Interface::cast::<super::IDependencyObject2>(self)?; 7225 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), dp.into_param().abi(), token).ok() } 7226 } Opacity(&self) -> ::windows::runtime::Result<f64>7227 pub fn Opacity(&self) -> ::windows::runtime::Result<f64> { 7228 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 7229 unsafe { 7230 let mut result__: f64 = ::std::mem::zeroed(); 7231 (::windows::runtime::Interface::vtable(this).6)(::std::mem::transmute_copy(this), &mut result__).from_abi::<f64>(result__) 7232 } 7233 } SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()>7234 pub fn SetOpacity(&self, value: f64) -> ::windows::runtime::Result<()> { 7235 let this = &::windows::runtime::Interface::cast::<IBrush>(self)?; 7236 unsafe { (::windows::runtime::Interface::vtable(this).7)(::std::mem::transmute_copy(this), value).ok() } 7237 } Transform(&self) -> ::windows::runtime::Result<Transform>7238