// WARNING: Please don't edit this file. It was generated by C++/WinRT // v2.0.250303.1 #pragma once #ifndef WINRT_Microsoft_Windows_AI_0_H #define WINRT_Microsoft_Windows_AI_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; } WINRT_EXPORT namespace winrt::Microsoft::Windows::AI { enum class AIFeatureReadyResultState : int32_t { InProgress = 0, Success = 1, Failure = 2, }; enum class AIFeatureReadyState : int32_t { Ready = 0, NotReady = 1, NotSupportedOnCurrentSystem = 2, DisabledByUser = 3, }; struct IAIFeatureReadyResult; struct AIFeatureReadyResult; struct AIFeatureReadyContract; } 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 <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.AIFeatureReadyResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.AIFeatureReadyResultState"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.AIFeatureReadyState"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.IAIFeatureReadyResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.AIFeatureReadyContract"; template <> inline constexpr guid guid_v{ 0x936A78A6, 0xC242, 0x5937, {0x98, 0x14, 0xE5, 0x12, 0xD4, 0x19, 0x3A, 0x6D}}; // 936A78A6-C242-5937-9814-E512D4193A6D template <> struct default_interface { using type = winrt::Microsoft::Windows::AI::IAIFeatureReadyResult; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Error(winrt::hresult*) noexcept = 0; virtual int32_t __stdcall get_ErrorDisplayText(void**) noexcept = 0; virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; }; }; template struct consume_Microsoft_Windows_AI_IAIFeatureReadyResult { [[nodiscard]] auto Error() const; [[nodiscard]] auto ErrorDisplayText() const; [[nodiscard]] auto ExtendedError() const; [[nodiscard]] auto Status() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_IAIFeatureReadyResult; }; } // namespace winrt::impl #endif