// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Media_Ocr_2_H #define WINRT_Windows_Media_Ocr_2_H #include "winrt/impl/Windows.Globalization.1.h" #include "winrt/impl/Windows.Media.Ocr.1.h" WINRT_EXPORT namespace winrt::Windows::Media::Ocr { struct WINRT_IMPL_EMPTY_BASES OcrEngine : winrt::Windows::Media::Ocr::IOcrEngine { OcrEngine(std::nullptr_t) noexcept {} OcrEngine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrEngine(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto MaxImageDimension(); [[nodiscard]] static auto AvailableRecognizerLanguages(); static auto IsLanguageSupported(winrt::Windows::Globalization::Language const& language); static auto TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language); static auto TryCreateFromUserProfileLanguages(); }; struct WINRT_IMPL_EMPTY_BASES OcrLine : winrt::Windows::Media::Ocr::IOcrLine { OcrLine(std::nullptr_t) noexcept {} OcrLine(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrLine(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES OcrResult : winrt::Windows::Media::Ocr::IOcrResult { OcrResult(std::nullptr_t) noexcept {} OcrResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrResult(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES OcrWord : winrt::Windows::Media::Ocr::IOcrWord { OcrWord(std::nullptr_t) noexcept {} OcrWord(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Ocr::IOcrWord(ptr, take_ownership_from_abi) {} }; } #endif