| #[cfg(feature = "UI_Accessibility")] |
| pub mod Accessibility; |
| #[cfg(feature = "UI_ApplicationSettings")] |
| pub mod ApplicationSettings; |
| #[cfg(feature = "UI_Composition")] |
| pub mod Composition; |
| #[cfg(feature = "UI_Core")] |
| pub mod Core; |
| #[cfg(feature = "UI_Input")] |
| pub mod Input; |
| #[cfg(feature = "UI_Notifications")] |
| pub mod Notifications; |
| #[cfg(feature = "UI_Popups")] |
| pub mod Popups; |
| #[cfg(feature = "UI_Shell")] |
| pub mod Shell; |
| #[cfg(feature = "UI_StartScreen")] |
| pub mod StartScreen; |
| #[cfg(feature = "UI_Text")] |
| pub mod Text; |
| #[cfg(feature = "UI_UIAutomation")] |
| pub mod UIAutomation; |
| #[cfg(feature = "UI_ViewManagement")] |
| pub mod ViewManagement; |
| #[cfg(feature = "UI_WebUI")] |
| pub mod WebUI; |
| #[cfg(feature = "UI_WindowManagement")] |
| pub mod WindowManagement; |
| #[doc(hidden)] |
| #[repr(transparent)] |
| pub struct IColorHelper(::windows::core::IUnknown); |
| unsafe impl ::windows::core::Interface for IColorHelper { |
| type Vtable = IColorHelper_Vtbl; |
| } |
| impl ::core::clone::Clone for IColorHelper { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for IColorHelper { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x193cfbe7_65c7_4540_ad08_6283ba76879a); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IColorHelper_Vtbl { |
| pub base__: ::windows::core::IInspectable_Vtbl, |
| } |
| #[doc(hidden)] |
| #[repr(transparent)] |
| pub struct IColorHelperStatics(::windows::core::IUnknown); |
| unsafe impl ::windows::core::Interface for IColorHelperStatics { |
| type Vtable = IColorHelperStatics_Vtbl; |
| } |
| impl ::core::clone::Clone for IColorHelperStatics { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for IColorHelperStatics { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8504dbea_fb6a_4144_a6c2_33499c9284f5); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IColorHelperStatics_Vtbl { |
| pub base__: ::windows::core::IInspectable_Vtbl, |
| pub FromArgb: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, a: u8, r: u8, g: u8, b: u8, result__: *mut Color) -> ::windows::core::HRESULT, |
| } |
| #[doc(hidden)] |
| #[repr(transparent)] |
| pub struct IColorHelperStatics2(::windows::core::IUnknown); |
| unsafe impl ::windows::core::Interface for IColorHelperStatics2 { |
| type Vtable = IColorHelperStatics2_Vtbl; |
| } |
| impl ::core::clone::Clone for IColorHelperStatics2 { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for IColorHelperStatics2 { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x24d9af02_6eb0_4b94_855c_fcf0818d9a16); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IColorHelperStatics2_Vtbl { |
| pub base__: ::windows::core::IInspectable_Vtbl, |
| pub ToDisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, color: Color, result__: *mut ::std::mem::MaybeUninit<::windows::core::HSTRING>) -> ::windows::core::HRESULT, |
| } |
| #[doc(hidden)] |
| #[repr(transparent)] |
| pub struct IColors(::windows::core::IUnknown); |
| unsafe impl ::windows::core::Interface for IColors { |
| type Vtable = IColors_Vtbl; |
| } |
| impl ::core::clone::Clone for IColors { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for IColors { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9b8c9326_4ca6_4ce5_8994_9eff65cabdcc); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IColors_Vtbl { |
| pub base__: ::windows::core::IInspectable_Vtbl, |
| } |
| #[doc(hidden)] |
| #[repr(transparent)] |
| pub struct IColorsStatics(::windows::core::IUnknown); |
| unsafe impl ::windows::core::Interface for IColorsStatics { |
| type Vtable = IColorsStatics_Vtbl; |
| } |
| impl ::core::clone::Clone for IColorsStatics { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for IColorsStatics { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcff52e04_cca6_4614_a17e_754910c84a99); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IColorsStatics_Vtbl { |
| pub base__: ::windows::core::IInspectable_Vtbl, |
| pub AliceBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub AntiqueWhite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Aqua: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Aquamarine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Azure: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Beige: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Bisque: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Black: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub BlanchedAlmond: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Blue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub BlueViolet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Brown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub BurlyWood: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub CadetBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Chartreuse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Chocolate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Coral: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub CornflowerBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Cornsilk: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Crimson: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Cyan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkCyan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkGoldenrod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkGray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkKhaki: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkMagenta: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkOliveGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkOrange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkOrchid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkRed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkSalmon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkSeaGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkSlateBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkSlateGray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkTurquoise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DarkViolet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DeepPink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DeepSkyBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DimGray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub DodgerBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Firebrick: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub FloralWhite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub ForestGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Fuchsia: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Gainsboro: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub GhostWhite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Gold: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Goldenrod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Gray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Green: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub GreenYellow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Honeydew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub HotPink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub IndianRed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Indigo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Ivory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Khaki: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Lavender: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LavenderBlush: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LawnGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LemonChiffon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightCoral: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightCyan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightGoldenrodYellow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightGray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightPink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightSalmon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightSeaGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightSkyBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightSlateGray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightSteelBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LightYellow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Lime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub LimeGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Linen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Magenta: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Maroon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumAquamarine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumOrchid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumPurple: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumSeaGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumSlateBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumSpringGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumTurquoise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MediumVioletRed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MidnightBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MintCream: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub MistyRose: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Moccasin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub NavajoWhite: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Navy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub OldLace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Olive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub OliveDrab: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Orange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub OrangeRed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Orchid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub PaleGoldenrod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub PaleGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub PaleTurquoise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub PaleVioletRed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub PapayaWhip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub PeachPuff: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Peru: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Pink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Plum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub PowderBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Purple: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Red: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub RosyBrown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub RoyalBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SaddleBrown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Salmon: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SandyBrown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SeaGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SeaShell: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Sienna: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Silver: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SkyBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SlateBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SlateGray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Snow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SpringGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub SteelBlue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Tan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Teal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Thistle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Tomato: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Transparent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Turquoise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Violet: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Wheat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub White: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub WhiteSmoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub Yellow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| pub YellowGreen: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut Color) -> ::windows::core::HRESULT, |
| } |
| #[doc(hidden)] |
| #[repr(transparent)] |
| pub struct IUIContentRoot(::windows::core::IUnknown); |
| unsafe impl ::windows::core::Interface for IUIContentRoot { |
| type Vtable = IUIContentRoot_Vtbl; |
| } |
| impl ::core::clone::Clone for IUIContentRoot { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for IUIContentRoot { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1dfcbac6_b36b_5cb9_9bc5_2b7a0eddc378); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IUIContentRoot_Vtbl { |
| pub base__: ::windows::core::IInspectable_Vtbl, |
| pub UIContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| } |
| #[doc(hidden)] |
| #[repr(transparent)] |
| pub struct IUIContext(::windows::core::IUnknown); |
| unsafe impl ::windows::core::Interface for IUIContext { |
| type Vtable = IUIContext_Vtbl; |
| } |
| impl ::core::clone::Clone for IUIContext { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for IUIContext { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbb5cfacd_5bd8_59d0_a59e_1c17a4d6d243); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IUIContext_Vtbl { |
| pub base__: ::windows::core::IInspectable_Vtbl, |
| } |
| #[doc = "*Required features: `\"UI\"`*"] |
| #[repr(transparent)] |
| pub struct ColorHelper(::windows::core::IUnknown); |
| impl ColorHelper { |
| pub fn FromArgb(a: u8, r: u8, g: u8, b: u8) -> ::windows::core::Result<Color> { |
| Self::IColorHelperStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).FromArgb)(::windows::core::Interface::as_raw(this), a, r, g, b, &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn ToDisplayName(color: Color) -> ::windows::core::Result<::windows::core::HSTRING> { |
| Self::IColorHelperStatics2(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); |
| (::windows::core::Interface::vtable(this).ToDisplayName)(::windows::core::Interface::as_raw(this), color, &mut result__).from_abi(result__) |
| }) |
| } |
| #[doc(hidden)] |
| pub fn IColorHelperStatics<R, F: FnOnce(&IColorHelperStatics) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { |
| static SHARED: ::windows::imp::FactoryCache<ColorHelper, IColorHelperStatics> = ::windows::imp::FactoryCache::new(); |
| SHARED.call(callback) |
| } |
| #[doc(hidden)] |
| pub fn IColorHelperStatics2<R, F: FnOnce(&IColorHelperStatics2) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { |
| static SHARED: ::windows::imp::FactoryCache<ColorHelper, IColorHelperStatics2> = ::windows::imp::FactoryCache::new(); |
| SHARED.call(callback) |
| } |
| } |
| impl ::core::cmp::PartialEq for ColorHelper { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ColorHelper {} |
| impl ::core::fmt::Debug for ColorHelper { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ColorHelper").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::RuntimeType for ColorHelper { |
| const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ColorHelper;{193cfbe7-65c7-4540-ad08-6283ba76879a})"); |
| } |
| impl ::core::clone::Clone for ColorHelper { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::Interface for ColorHelper { |
| type Vtable = IColorHelper_Vtbl; |
| } |
| unsafe impl ::windows::core::ComInterface for ColorHelper { |
| const IID: ::windows::core::GUID = <IColorHelper as ::windows::core::ComInterface>::IID; |
| } |
| impl ::windows::core::RuntimeName for ColorHelper { |
| const NAME: &'static str = "Windows.UI.ColorHelper"; |
| } |
| ::windows::imp::interface_hierarchy!(ColorHelper, ::windows::core::IUnknown, ::windows::core::IInspectable); |
| unsafe impl ::core::marker::Send for ColorHelper {} |
| unsafe impl ::core::marker::Sync for ColorHelper {} |
| #[doc = "*Required features: `\"UI\"`*"] |
| #[repr(transparent)] |
| pub struct Colors(::windows::core::IUnknown); |
| impl Colors { |
| pub fn AliceBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).AliceBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn AntiqueWhite() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).AntiqueWhite)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Aqua() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Aqua)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Aquamarine() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Aquamarine)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Azure() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Azure)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Beige() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Beige)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Bisque() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Bisque)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Black() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Black)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn BlanchedAlmond() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).BlanchedAlmond)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Blue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Blue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn BlueViolet() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).BlueViolet)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Brown() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Brown)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn BurlyWood() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).BurlyWood)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn CadetBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).CadetBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Chartreuse() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Chartreuse)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Chocolate() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Chocolate)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Coral() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Coral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn CornflowerBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).CornflowerBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Cornsilk() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Cornsilk)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Crimson() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Crimson)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Cyan() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Cyan)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkCyan() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkCyan)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkGoldenrod() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkGoldenrod)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkGray() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkGray)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkKhaki() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkKhaki)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkMagenta() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkMagenta)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkOliveGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkOliveGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkOrange() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkOrange)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkOrchid() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkOrchid)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkRed() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkRed)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkSalmon() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkSalmon)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkSeaGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkSeaGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkSlateBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkSlateBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkSlateGray() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkSlateGray)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkTurquoise() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkTurquoise)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DarkViolet() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DarkViolet)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DeepPink() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DeepPink)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DeepSkyBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DeepSkyBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DimGray() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DimGray)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn DodgerBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).DodgerBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Firebrick() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Firebrick)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn FloralWhite() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).FloralWhite)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn ForestGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).ForestGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Fuchsia() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Fuchsia)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Gainsboro() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Gainsboro)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn GhostWhite() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).GhostWhite)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Gold() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Gold)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Goldenrod() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Goldenrod)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Gray() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Gray)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Green() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Green)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn GreenYellow() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).GreenYellow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Honeydew() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Honeydew)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn HotPink() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).HotPink)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn IndianRed() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).IndianRed)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Indigo() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Indigo)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Ivory() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Ivory)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Khaki() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Khaki)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Lavender() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Lavender)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LavenderBlush() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LavenderBlush)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LawnGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LawnGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LemonChiffon() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LemonChiffon)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightCoral() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightCoral)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightCyan() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightCyan)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightGoldenrodYellow() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightGoldenrodYellow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightGray() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightGray)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightPink() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightPink)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightSalmon() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightSalmon)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightSeaGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightSeaGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightSkyBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightSkyBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightSlateGray() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightSlateGray)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightSteelBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightSteelBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LightYellow() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LightYellow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Lime() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Lime)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn LimeGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).LimeGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Linen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Linen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Magenta() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Magenta)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Maroon() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Maroon)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumAquamarine() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumAquamarine)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumOrchid() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumOrchid)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumPurple() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumPurple)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumSeaGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumSeaGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumSlateBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumSlateBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumSpringGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumSpringGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumTurquoise() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumTurquoise)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MediumVioletRed() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MediumVioletRed)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MidnightBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MidnightBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MintCream() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MintCream)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn MistyRose() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).MistyRose)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Moccasin() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Moccasin)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn NavajoWhite() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).NavajoWhite)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Navy() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Navy)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn OldLace() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).OldLace)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Olive() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Olive)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn OliveDrab() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).OliveDrab)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Orange() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Orange)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn OrangeRed() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).OrangeRed)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Orchid() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Orchid)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn PaleGoldenrod() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).PaleGoldenrod)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn PaleGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).PaleGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn PaleTurquoise() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).PaleTurquoise)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn PaleVioletRed() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).PaleVioletRed)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn PapayaWhip() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).PapayaWhip)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn PeachPuff() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).PeachPuff)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Peru() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Peru)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Pink() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Pink)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Plum() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Plum)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn PowderBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).PowderBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Purple() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Purple)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Red() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Red)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn RosyBrown() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).RosyBrown)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn RoyalBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).RoyalBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SaddleBrown() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SaddleBrown)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Salmon() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Salmon)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SandyBrown() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SandyBrown)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SeaGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SeaGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SeaShell() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SeaShell)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Sienna() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Sienna)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Silver() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Silver)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SkyBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SkyBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SlateBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SlateBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SlateGray() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SlateGray)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Snow() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Snow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SpringGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SpringGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn SteelBlue() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).SteelBlue)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Tan() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Tan)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Teal() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Teal)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Thistle() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Thistle)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Tomato() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Tomato)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Transparent() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Transparent)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Turquoise() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Turquoise)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Violet() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Violet)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Wheat() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Wheat)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn White() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).White)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn WhiteSmoke() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).WhiteSmoke)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn Yellow() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).Yellow)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| pub fn YellowGreen() -> ::windows::core::Result<Color> { |
| Self::IColorsStatics(|this| unsafe { |
| let mut result__ = ::windows::core::zeroed::<Color>(); |
| (::windows::core::Interface::vtable(this).YellowGreen)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| }) |
| } |
| #[doc(hidden)] |
| pub fn IColorsStatics<R, F: FnOnce(&IColorsStatics) -> ::windows::core::Result<R>>(callback: F) -> ::windows::core::Result<R> { |
| static SHARED: ::windows::imp::FactoryCache<Colors, IColorsStatics> = ::windows::imp::FactoryCache::new(); |
| SHARED.call(callback) |
| } |
| } |
| impl ::core::cmp::PartialEq for Colors { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for Colors {} |
| impl ::core::fmt::Debug for Colors { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("Colors").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::RuntimeType for Colors { |
| const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Colors;{9b8c9326-4ca6-4ce5-8994-9eff65cabdcc})"); |
| } |
| impl ::core::clone::Clone for Colors { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::Interface for Colors { |
| type Vtable = IColors_Vtbl; |
| } |
| unsafe impl ::windows::core::ComInterface for Colors { |
| const IID: ::windows::core::GUID = <IColors as ::windows::core::ComInterface>::IID; |
| } |
| impl ::windows::core::RuntimeName for Colors { |
| const NAME: &'static str = "Windows.UI.Colors"; |
| } |
| ::windows::imp::interface_hierarchy!(Colors, ::windows::core::IUnknown, ::windows::core::IInspectable); |
| unsafe impl ::core::marker::Send for Colors {} |
| unsafe impl ::core::marker::Sync for Colors {} |
| #[doc = "*Required features: `\"UI\"`*"] |
| #[repr(transparent)] |
| pub struct UIContentRoot(::windows::core::IUnknown); |
| impl UIContentRoot { |
| pub fn UIContext(&self) -> ::windows::core::Result<UIContext> { |
| let this = self; |
| unsafe { |
| let mut result__ = ::windows::core::zeroed::<UIContext>(); |
| (::windows::core::Interface::vtable(this).UIContext)(::windows::core::Interface::as_raw(this), &mut result__).from_abi(result__) |
| } |
| } |
| } |
| impl ::core::cmp::PartialEq for UIContentRoot { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for UIContentRoot {} |
| impl ::core::fmt::Debug for UIContentRoot { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("UIContentRoot").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::RuntimeType for UIContentRoot { |
| const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIContentRoot;{1dfcbac6-b36b-5cb9-9bc5-2b7a0eddc378})"); |
| } |
| impl ::core::clone::Clone for UIContentRoot { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::Interface for UIContentRoot { |
| type Vtable = IUIContentRoot_Vtbl; |
| } |
| unsafe impl ::windows::core::ComInterface for UIContentRoot { |
| const IID: ::windows::core::GUID = <IUIContentRoot as ::windows::core::ComInterface>::IID; |
| } |
| impl ::windows::core::RuntimeName for UIContentRoot { |
| const NAME: &'static str = "Windows.UI.UIContentRoot"; |
| } |
| ::windows::imp::interface_hierarchy!(UIContentRoot, ::windows::core::IUnknown, ::windows::core::IInspectable); |
| unsafe impl ::core::marker::Send for UIContentRoot {} |
| unsafe impl ::core::marker::Sync for UIContentRoot {} |
| #[doc = "*Required features: `\"UI\"`*"] |
| #[repr(transparent)] |
| pub struct UIContext(::windows::core::IUnknown); |
| impl UIContext {} |
| impl ::core::cmp::PartialEq for UIContext { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for UIContext {} |
| impl ::core::fmt::Debug for UIContext { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("UIContext").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::RuntimeType for UIContext { |
| const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIContext;{bb5cfacd-5bd8-59d0-a59e-1c17a4d6d243})"); |
| } |
| impl ::core::clone::Clone for UIContext { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::Interface for UIContext { |
| type Vtable = IUIContext_Vtbl; |
| } |
| unsafe impl ::windows::core::ComInterface for UIContext { |
| const IID: ::windows::core::GUID = <IUIContext as ::windows::core::ComInterface>::IID; |
| } |
| impl ::windows::core::RuntimeName for UIContext { |
| const NAME: &'static str = "Windows.UI.UIContext"; |
| } |
| ::windows::imp::interface_hierarchy!(UIContext, ::windows::core::IUnknown, ::windows::core::IInspectable); |
| unsafe impl ::core::marker::Send for UIContext {} |
| unsafe impl ::core::marker::Sync for UIContext {} |
| #[repr(C)] |
| #[doc = "*Required features: `\"UI\"`*"] |
| pub struct Color { |
| pub A: u8, |
| pub R: u8, |
| pub G: u8, |
| pub B: u8, |
| } |
| impl ::core::marker::Copy for Color {} |
| impl ::core::clone::Clone for Color { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for Color { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("Color").field("A", &self.A).field("R", &self.R).field("G", &self.G).field("B", &self.B).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for Color { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::windows::core::RuntimeType for Color { |
| const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Color;u1;u1;u1;u1)"); |
| } |
| impl ::core::cmp::PartialEq for Color { |
| fn eq(&self, other: &Self) -> bool { |
| self.A == other.A && self.R == other.R && self.G == other.G && self.B == other.B |
| } |
| } |
| impl ::core::cmp::Eq for Color {} |
| impl ::core::default::Default for Color { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"UI\"`*"] |
| pub struct WindowId { |
| pub Value: u64, |
| } |
| impl ::core::marker::Copy for WindowId {} |
| impl ::core::clone::Clone for WindowId { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WindowId { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WindowId").field("Value", &self.Value).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WindowId { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::windows::core::RuntimeType for WindowId { |
| const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.WindowId;u8)"); |
| } |
| impl ::core::cmp::PartialEq for WindowId { |
| fn eq(&self, other: &Self) -> bool { |
| self.Value == other.Value |
| } |
| } |
| impl ::core::cmp::Eq for WindowId {} |
| impl ::core::default::Default for WindowId { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[cfg(feature = "implement")] |
| ::core::include!("impl.rs"); |