// C++/WinRT v2.0.230511.6 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_AI_Actions_H #define WINRT_Windows_AI_Actions_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.230511.6"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.230511.6" #include "winrt/impl/Windows.AI.Actions.Hosting.2.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.AI.Actions.2.h" namespace winrt::impl { template auto consume_Windows_AI_Actions_IActionEntity::Kind() const { winrt::Windows::AI::Actions::ActionEntityKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntity)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Windows_AI_Actions_IActionEntity::DisplayInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntity)->get_DisplayInfo(&value)); return winrt::Windows::AI::Actions::ActionEntityDisplayInfo{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntity2::Id() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntity2)->get_Id(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityDisplayInfo::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityDisplayInfo)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory2::CreateFileEntity(param::hstring const& path) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory2)->CreateFileEntity(*(void**)(&path), &result)); return winrt::Windows::AI::Actions::FileActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory2::CreateDocumentEntity(param::hstring const& path) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory2)->CreateDocumentEntity(*(void**)(&path), &result)); return winrt::Windows::AI::Actions::DocumentActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory2::CreatePhotoEntity(param::hstring const& path) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory2)->CreatePhotoEntity(*(void**)(&path), &result)); return winrt::Windows::AI::Actions::PhotoActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory2::CreateTextEntity(param::hstring const& text) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory2)->CreateTextEntity(*(void**)(&text), &result)); return winrt::Windows::AI::Actions::TextActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory3::CreateRemoteFileEntity(param::hstring const& sourceId, winrt::Windows::AI::Actions::RemoteFileKind const& fileKind, winrt::Windows::Foundation::Uri const& sourceUri, param::hstring const& fileId, param::hstring const& contentType, param::hstring const& driveId, param::hstring const& accountId, param::hstring const& extension) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory3)->CreateRemoteFileEntity(*(void**)(&sourceId), static_cast(fileKind), *(void**)(&sourceUri), *(void**)(&fileId), *(void**)(&contentType), *(void**)(&driveId), *(void**)(&accountId), *(void**)(&extension), &result)); return winrt::Windows::AI::Actions::RemoteFileActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory3::CreateTextEntity(param::hstring const& text, winrt::Windows::AI::Actions::ActionEntityTextFormat const& textFormat) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory3)->CreateTextEntityWithTextFormat(*(void**)(&text), static_cast(textFormat), &result)); return winrt::Windows::AI::Actions::TextActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory3::CreateStreamingTextActionEntityWriter(winrt::Windows::AI::Actions::ActionEntityTextFormat const& textFormat) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory3)->CreateStreamingTextActionEntityWriter(static_cast(textFormat), &result)); return winrt::Windows::AI::Actions::StreamingTextActionEntityWriter{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory3::CreateTableEntity(array_view data, uint32_t columnCount) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory3)->CreateTableEntity(data.size(), get_abi(data), columnCount, &result)); return winrt::Windows::AI::Actions::TableActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionEntityFactory3::CreateContactEntity(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionEntityFactory3)->CreateContactEntity(*(void**)(&contact), &result)); return winrt::Windows::AI::Actions::ContactActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionFeedback::FeedbackKind() const { winrt::Windows::AI::Actions::ActionFeedbackKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionFeedback)->get_FeedbackKind(reinterpret_cast(&value))); return value; } template auto consume_Windows_AI_Actions_IActionInvocationContext::ActionName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->get_ActionName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationContext::EntityFactory() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->get_EntityFactory(&value)); return winrt::Windows::AI::Actions::ActionEntityFactory{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationContext::InvokerPackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->get_InvokerPackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationContext::SetInputEntity(param::hstring const& inputName, winrt::Windows::AI::Actions::ActionEntity const& inputValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->SetInputEntity(*(void**)(&inputName), *(void**)(&inputValue))); } template auto consume_Windows_AI_Actions_IActionInvocationContext::GetInputEntities() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->GetInputEntities(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationContext::SetOutputEntity(param::hstring const& outputName, winrt::Windows::AI::Actions::ActionEntity const& outputValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->SetOutputEntity(*(void**)(&outputName), *(void**)(&outputValue))); } template auto consume_Windows_AI_Actions_IActionInvocationContext::GetOutputEntities() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->GetOutputEntities(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationContext::Result() const { winrt::Windows::AI::Actions::ActionInvocationResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->get_Result(reinterpret_cast(&value))); return value; } template auto consume_Windows_AI_Actions_IActionInvocationContext::Result(winrt::Windows::AI::Actions::ActionInvocationResult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->put_Result(static_cast(value))); } template auto consume_Windows_AI_Actions_IActionInvocationContext::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->get_ExtendedError(put_abi(value))); return value; } template auto consume_Windows_AI_Actions_IActionInvocationContext::ExtendedError(winrt::hresult const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext)->put_ExtendedError(impl::bind_in(value))); } template auto consume_Windows_AI_Actions_IActionInvocationContext2::InvokerWindowId() const { winrt::Windows::UI::WindowId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext2)->get_InvokerWindowId(put_abi(value))); return value; } template auto consume_Windows_AI_Actions_IActionInvocationContext2::HelpDetails() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext2)->get_HelpDetails(&value)); return winrt::Windows::AI::Actions::ActionInvocationHelpDetails{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationContext2::ActionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext2)->get_ActionId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationContext2::InvokerAppUserModelId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationContext2)->get_InvokerAppUserModelId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::Kind() const { winrt::Windows::AI::Actions::ActionInvocationHelpKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::Kind(winrt::Windows::AI::Actions::ActionInvocationHelpKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->put_Kind(static_cast(value))); } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->put_Title(*(void**)(&value))); } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->put_Description(*(void**)(&value))); } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::HelpUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->get_HelpUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::HelpUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->put_HelpUri(*(void**)(&value))); } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::HelpUriDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->get_HelpUriDescription(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionInvocationHelpDetails::HelpUriDescription(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionInvocationHelpDetails)->put_HelpUriDescription(*(void**)(&value))); } template auto consume_Windows_AI_Actions_IActionRuntime::ActionCatalog() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime)->get_ActionCatalog(&value)); return winrt::Windows::AI::Actions::Hosting::ActionCatalog{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionRuntime::EntityFactory() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime)->get_EntityFactory(&value)); return winrt::Windows::AI::Actions::ActionEntityFactory{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionRuntime::CreateInvocationContext(param::hstring const& actionId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime)->CreateInvocationContext(*(void**)(&actionId), &result)); return winrt::Windows::AI::Actions::ActionInvocationContext{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionRuntime2::CreateInvocationContextWithWindowId(param::hstring const& actionId, winrt::Windows::UI::WindowId const& invokerWindowId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime2)->CreateInvocationContextWithWindowId(*(void**)(&actionId), impl::bind_in(invokerWindowId), &result)); return winrt::Windows::AI::Actions::ActionInvocationContext{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionRuntime2::CreateActionFeedback(winrt::Windows::AI::Actions::ActionFeedbackKind const& feedbackKind) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime2)->CreateActionFeedback(static_cast(feedbackKind), &result)); return winrt::Windows::AI::Actions::ActionFeedback{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionRuntime2::SetActionAvailability(param::hstring const& actionId, bool isAvailable) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime2)->SetActionAvailability(*(void**)(&actionId), isAvailable)); } template auto consume_Windows_AI_Actions_IActionRuntime2::GetActionAvailability(param::hstring const& actionId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime2)->GetActionAvailability(*(void**)(&actionId), &result)); return result; } template auto consume_Windows_AI_Actions_IActionRuntime2::GetActionEntityById(param::hstring const& entityId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime2)->GetActionEntityById(*(void**)(&entityId), &result)); return winrt::Windows::AI::Actions::ActionEntity{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IActionRuntime2::LatestSupportedSchemaVersion() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IActionRuntime2)->get_LatestSupportedSchemaVersion(&value)); return value; } template auto consume_Windows_AI_Actions_IContactActionEntity::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IContactActionEntity)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IDocumentActionEntity::FullPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IDocumentActionEntity)->get_FullPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IFileActionEntity::FullPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IFileActionEntity)->get_FullPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_INamedActionEntity::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::INamedActionEntity)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_INamedActionEntity::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::INamedActionEntity)->put_Name(*(void**)(&value))); } template auto consume_Windows_AI_Actions_INamedActionEntity::Entity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::INamedActionEntity)->get_Entity(&value)); return winrt::Windows::AI::Actions::ActionEntity{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_INamedActionEntity::Entity(winrt::Windows::AI::Actions::ActionEntity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::INamedActionEntity)->put_Entity(*(void**)(&value))); } template auto consume_Windows_AI_Actions_IPhotoActionEntity::FullPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IPhotoActionEntity)->get_FullPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::SourceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_SourceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::FileKind() const { winrt::Windows::AI::Actions::RemoteFileKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_FileKind(reinterpret_cast(&value))); return value; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::SourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_SourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::FileId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_FileId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_ContentType(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::DriveId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_DriveId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::AccountId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_AccountId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IRemoteFileActionEntity::Extension() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IRemoteFileActionEntity)->get_Extension(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntity::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntity)->get_IsComplete(&value)); return value; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntity::GetText() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntity)->GetText(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntity::TextFormat() const { winrt::Windows::AI::Actions::ActionEntityTextFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntity)->get_TextFormat(reinterpret_cast(&value))); return value; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntity::TextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntity)->add_TextChanged(*(void**)(&handler), put_abi(token))); return token; } template typename consume_Windows_AI_Actions_IStreamingTextActionEntity::TextChanged_revoker consume_Windows_AI_Actions_IStreamingTextActionEntity::TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanged(handler)); } template auto consume_Windows_AI_Actions_IStreamingTextActionEntity::TextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntity)->remove_TextChanged(impl::bind_in(token)); } template auto consume_Windows_AI_Actions_IStreamingTextActionEntityTextChangedArgs::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntityTextChangedArgs)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntityTextChangedArgs::IsComplete() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntityTextChangedArgs)->get_IsComplete(&value)); return value; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntityWriter::ReaderEntity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntityWriter)->get_ReaderEntity(&value)); return winrt::Windows::AI::Actions::StreamingTextActionEntity{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntityWriter::TextFormat() const { winrt::Windows::AI::Actions::ActionEntityTextFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntityWriter)->get_TextFormat(reinterpret_cast(&value))); return value; } template auto consume_Windows_AI_Actions_IStreamingTextActionEntityWriter::SetText(param::hstring const& text) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::IStreamingTextActionEntityWriter)->SetText(*(void**)(&text))); } template auto consume_Windows_AI_Actions_ITableActionEntity::GetTextContent() const { uint32_t result_impl_size{}; void** result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::ITableActionEntity)->GetTextContent(&result_impl_size, &result)); return com_array{ result, result_impl_size, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_ITableActionEntity::RowCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::ITableActionEntity)->get_RowCount(&value)); return value; } template auto consume_Windows_AI_Actions_ITableActionEntity::ColumnCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::ITableActionEntity)->get_ColumnCount(&value)); return value; } template auto consume_Windows_AI_Actions_ITextActionEntity::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::ITextActionEntity)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_AI_Actions_ITextActionEntity2::TextFormat() const { winrt::Windows::AI::Actions::ActionEntityTextFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::Actions::ITextActionEntity2)->get_TextFormat(reinterpret_cast(&value))); return value; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayInfo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayInfo()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Id(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Id()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Title(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Title()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFileEntity(void* path, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFileEntity(*reinterpret_cast(&path))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateDocumentEntity(void* path, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateDocumentEntity(*reinterpret_cast(&path))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreatePhotoEntity(void* path, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreatePhotoEntity(*reinterpret_cast(&path))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateTextEntity(void* text, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateTextEntity(*reinterpret_cast(&text))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateRemoteFileEntity(void* sourceId, int32_t fileKind, void* sourceUri, void* fileId, void* contentType, void* driveId, void* accountId, void* extension, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateRemoteFileEntity(*reinterpret_cast(&sourceId), *reinterpret_cast(&fileKind), *reinterpret_cast(&sourceUri), *reinterpret_cast(&fileId), *reinterpret_cast(&contentType), *reinterpret_cast(&driveId), *reinterpret_cast(&accountId), *reinterpret_cast(&extension))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateTextEntityWithTextFormat(void* text, int32_t textFormat, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateTextEntity(*reinterpret_cast(&text), *reinterpret_cast(&textFormat))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateStreamingTextActionEntityWriter(int32_t textFormat, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateStreamingTextActionEntityWriter(*reinterpret_cast(&textFormat))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateTableEntity(uint32_t __dataSize, void** data, uint32_t columnCount, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateTableEntity(array_view(reinterpret_cast(data), reinterpret_cast(data) + __dataSize), columnCount)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateContactEntity(void* contact, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateContactEntity(*reinterpret_cast(&contact))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FeedbackKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FeedbackKind()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ActionName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EntityFactory(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EntityFactory()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InvokerPackageFamilyName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InvokerPackageFamilyName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetInputEntity(void* inputName, void* inputValue) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetInputEntity(*reinterpret_cast(&inputName), *reinterpret_cast(&inputValue)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetInputEntities(uint32_t* __resultSize, void*** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); std::tie(*__resultSize, *result) = detach_abi(this->shim().GetInputEntities()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetOutputEntity(void* outputName, void* outputValue) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetOutputEntity(*reinterpret_cast(&outputName), *reinterpret_cast(&outputValue)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOutputEntities(uint32_t* __resultSize, void*** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); std::tie(*__resultSize, *result) = detach_abi(this->shim().GetOutputEntities()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Result(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Result()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Result(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Result(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtendedError(winrt::hresult* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtendedError()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExtendedError(winrt::hresult value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExtendedError(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InvokerWindowId(struct struct_Windows_UI_WindowId* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InvokerWindowId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HelpDetails(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HelpDetails()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InvokerAppUserModelId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InvokerAppUserModelId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Kind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Kind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Title(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Title()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Title(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Title(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Description(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Description()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Description(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Description(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HelpUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HelpUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HelpUri(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HelpUri(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HelpUriDescription(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HelpUriDescription()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HelpUriDescription(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HelpUriDescription(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ActionCatalog(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionCatalog()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EntityFactory(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EntityFactory()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInvocationContext(void* actionId, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateInvocationContext(*reinterpret_cast(&actionId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInvocationContextWithWindowId(void* actionId, struct struct_Windows_UI_WindowId invokerWindowId, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateInvocationContextWithWindowId(*reinterpret_cast(&actionId), *reinterpret_cast(&invokerWindowId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateActionFeedback(int32_t feedbackKind, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateActionFeedback(*reinterpret_cast(&feedbackKind))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetActionAvailability(void* actionId, bool isAvailable) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetActionAvailability(*reinterpret_cast(&actionId), isAvailable); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetActionAvailability(void* actionId, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetActionAvailability(*reinterpret_cast(&actionId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetActionEntityById(void* entityId, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetActionEntityById(*reinterpret_cast(&entityId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LatestSupportedSchemaVersion(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LatestSupportedSchemaVersion()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Contact(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Contact()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FullPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FullPath()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FullPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FullPath()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Name(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Name(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Entity(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Entity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Entity(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Entity(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FullPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FullPath()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SourceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FileKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FileKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SourceUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FileId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FileId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentType(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DriveId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DriveId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AccountId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AccountId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Extension(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Extension()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsComplete(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsComplete()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetText(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextFormat(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TextChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Text(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Text()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsComplete(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsComplete()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ReaderEntity(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReaderEntity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextFormat(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetText(void* text) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetText(*reinterpret_cast(&text)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetTextContent(uint32_t* __resultSize, void*** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); std::tie(*__resultSize, *result) = detach_abi(this->shim().GetTextContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RowCount(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnCount(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnCount()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Text(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Text()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TextFormat(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextFormat()); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::AI::Actions { } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif