// C++/WinRT v2.0.200609.3 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef WINRT_Windows_Media_ClosedCaptioning_0_H #define WINRT_Windows_Media_ClosedCaptioning_0_H WINRT_EXPORT namespace winrt::Windows::UI { struct Color; } WINRT_EXPORT namespace winrt::Windows::Media::ClosedCaptioning { enum class ClosedCaptionColor : int32_t { Default = 0, White = 1, Black = 2, Red = 3, Green = 4, Blue = 5, Yellow = 6, Magenta = 7, Cyan = 8, }; enum class ClosedCaptionEdgeEffect : int32_t { Default = 0, None = 1, Raised = 2, Depressed = 3, Uniform = 4, DropShadow = 5, }; enum class ClosedCaptionOpacity : int32_t { Default = 0, OneHundredPercent = 1, SeventyFivePercent = 2, TwentyFivePercent = 3, ZeroPercent = 4, }; enum class ClosedCaptionSize : int32_t { Default = 0, FiftyPercent = 1, OneHundredPercent = 2, OneHundredFiftyPercent = 3, TwoHundredPercent = 4, }; enum class ClosedCaptionStyle : int32_t { Default = 0, MonospacedWithSerifs = 1, ProportionalWithSerifs = 2, MonospacedWithoutSerifs = 3, ProportionalWithoutSerifs = 4, Casual = 5, Cursive = 6, SmallCapitals = 7, }; struct IClosedCaptionPropertiesStatics; struct ClosedCaptionProperties; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionProperties"; template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionColor"; template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionEdgeEffect"; template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionOpacity"; template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionSize"; template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.ClosedCaptionStyle"; template <> inline constexpr auto& name_v = L"Windows.Media.ClosedCaptioning.IClosedCaptionPropertiesStatics"; template <> inline constexpr guid guid_v{ 0x10AA1F84,0xCC30,0x4141,{ 0xB5,0x03,0x52,0x72,0x28,0x9E,0x0C,0x20 } }; // 10AA1F84-CC30-4141-B503-5272289E0C20 template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_FontColor(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ComputedFontColor(struct struct_Windows_UI_Color*) noexcept = 0; virtual int32_t __stdcall get_FontOpacity(int32_t*) noexcept = 0; virtual int32_t __stdcall get_FontSize(int32_t*) noexcept = 0; virtual int32_t __stdcall get_FontStyle(int32_t*) noexcept = 0; virtual int32_t __stdcall get_FontEffect(int32_t*) noexcept = 0; virtual int32_t __stdcall get_BackgroundColor(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ComputedBackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0; virtual int32_t __stdcall get_BackgroundOpacity(int32_t*) noexcept = 0; virtual int32_t __stdcall get_RegionColor(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ComputedRegionColor(struct struct_Windows_UI_Color*) noexcept = 0; virtual int32_t __stdcall get_RegionOpacity(int32_t*) noexcept = 0; }; }; template struct consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics { [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionColor) FontColor() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::UI::Color) ComputedFontColor() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) FontOpacity() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionSize) FontSize() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionStyle) FontStyle() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect) FontEffect() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionColor) BackgroundColor() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::UI::Color) ComputedBackgroundColor() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) BackgroundOpacity() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionColor) RegionColor() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::UI::Color) ComputedRegionColor() const; [[nodiscard]] WINRT_IMPL_AUTO(Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) RegionOpacity() const; }; template <> struct consume { template using type = consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics; }; } #endif