// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_Web_WebView2_Core_H #define WINRT_Microsoft_Web_WebView2_Core_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Security.Cryptography.Certificates.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Core.2.h" #include "winrt/impl/Microsoft.Web.WebView2.Core.2.h" namespace winrt::impl { template auto consume_Microsoft_Web_WebView2_Core_CoreWebView2Certificate_Manual::ToCertificate() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Certificate_Manual)->ToCertificate(&result)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_CoreWebView2ClientCertificate_Manual::ToCertificate() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ClientCertificate_Manual)->ToCertificate(&result)); return winrt::Windows::Security::Cryptography::Certificates::Certificate{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_CoreWebView2Profile_Manual::ClearBrowsingDataAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2BrowsingDataKinds const& dataKinds, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Profile_Manual)->ClearBrowsingDataAsync(static_cast(dataKinds), impl::bind_in(startTime), impl::bind_in(endTime), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_CoreWebView2Profile_Manual::ClearBrowsingDataAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Profile_Manual)->ClearBrowsingDataAsync2(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_CoreWebView2Profile_Manual2::GetNonDefaultPermissionSettingsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Profile_Manual2)->GetNonDefaultPermissionSettingsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::Settings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->get_Settings(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2Settings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->get_Source(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::BrowserProcessId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->get_BrowserProcessId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::CanGoBack() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->get_CanGoBack(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::CanGoForward() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->get_CanGoForward(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::DocumentTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->get_DocumentTitle(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ContainsFullScreenElement() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->get_ContainsFullScreenElement(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_NavigationStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStarting(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_NavigationStarting(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_ContentLoading(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentLoading(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ContentLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_ContentLoading(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::SourceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_SourceChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SourceChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::SourceChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_SourceChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::HistoryChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_HistoryChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HistoryChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::HistoryChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_HistoryChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_NavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationCompleted(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_NavigationCompleted(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_FrameNavigationStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameNavigationStarting(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::FrameNavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_FrameNavigationStarting(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_FrameNavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameNavigationCompleted(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::FrameNavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_FrameNavigationCompleted(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ScriptDialogOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_ScriptDialogOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ScriptDialogOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScriptDialogOpening(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ScriptDialogOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_ScriptDialogOpening(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_PermissionRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PermissionRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::PermissionRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_PermissionRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ProcessFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_ProcessFailed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ProcessFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProcessFailed(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ProcessFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_ProcessFailed(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WebMessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_WebMessageReceived(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WebMessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WebMessageReceived(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WebMessageReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_WebMessageReceived(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_NewWindowRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NewWindowRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NewWindowRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_NewWindowRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::DocumentTitleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_DocumentTitleChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::DocumentTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DocumentTitleChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::DocumentTitleChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_DocumentTitleChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_ContainsFullScreenElementChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContainsFullScreenElementChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_ContainsFullScreenElementChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_WebResourceRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WebResourceRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WebResourceRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_WebResourceRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WindowCloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->add_WindowCloseRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WindowCloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WindowCloseRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::WindowCloseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->remove_WindowCloseRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::Navigate(param::hstring const& uri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->Navigate(*(void**)(&uri))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::NavigateToString(param::hstring const& htmlContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->NavigateToString(*(void**)(&htmlContent))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::AddScriptToExecuteOnDocumentCreatedAsync(param::hstring const& javaScript) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->AddScriptToExecuteOnDocumentCreatedAsync(*(void**)(&javaScript), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::RemoveScriptToExecuteOnDocumentCreated(param::hstring const& id) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->RemoveScriptToExecuteOnDocumentCreated(*(void**)(&id))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::ExecuteScriptAsync(param::hstring const& javaScript) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->ExecuteScriptAsync(*(void**)(&javaScript), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::CapturePreviewAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2CapturePreviewImageFormat const& imageFormat, winrt::Windows::Storage::Streams::IRandomAccessStream const& imageStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->CapturePreviewAsync(static_cast(imageFormat), *(void**)(&imageStream), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::Reload() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->Reload()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::PostWebMessageAsJson(param::hstring const& webMessageAsJson) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->PostWebMessageAsJson(*(void**)(&webMessageAsJson))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::PostWebMessageAsString(param::hstring const& webMessageAsString) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->PostWebMessageAsString(*(void**)(&webMessageAsString))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::CallDevToolsProtocolMethodAsync(param::hstring const& methodName, param::hstring const& parametersAsJson) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->CallDevToolsProtocolMethodAsync(*(void**)(&methodName), *(void**)(¶metersAsJson), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::GoBack() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->GoBack()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::GoForward() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->GoForward()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::GetDevToolsProtocolEventReceiver(param::hstring const& eventName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->GetDevToolsProtocolEventReceiver(*(void**)(&eventName), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2DevToolsProtocolEventReceiver{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->Stop()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::AddHostObjectToScript(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& rawObject) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->AddHostObjectToScript(*(void**)(&name), *(void**)(&rawObject))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::RemoveHostObjectFromScript(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->RemoveHostObjectFromScript(*(void**)(&name))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::OpenDevToolsWindow() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->OpenDevToolsWindow()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::AddWebResourceRequestedFilter(param::hstring const& uri, winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceContext const& ResourceContext) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->AddWebResourceRequestedFilter(*(void**)(&uri), static_cast(ResourceContext))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2::RemoveWebResourceRequestedFilter(param::hstring const& uri, winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceContext const& ResourceContext) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2)->RemoveWebResourceRequestedFilter(*(void**)(&uri), static_cast(ResourceContext))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2AcceleratorKeyPressedEventArgs::KeyEventKind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2KeyEventKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2AcceleratorKeyPressedEventArgs)->get_KeyEventKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2AcceleratorKeyPressedEventArgs::VirtualKey() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2AcceleratorKeyPressedEventArgs)->get_VirtualKey(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2AcceleratorKeyPressedEventArgs::KeyEventLParam() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2AcceleratorKeyPressedEventArgs)->get_KeyEventLParam(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2AcceleratorKeyPressedEventArgs::PhysicalKeyStatus() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2AcceleratorKeyPressedEventArgs)->get_PhysicalKeyStatus(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2AcceleratorKeyPressedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2AcceleratorKeyPressedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2AcceleratorKeyPressedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2AcceleratorKeyPressedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationRequestedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationRequestedEventArgs)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationRequestedEventArgs::Challenge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationRequestedEventArgs)->get_Challenge(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationRequestedEventArgs::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationRequestedEventArgs)->get_Response(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2BasicAuthenticationResponse{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationRequestedEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationRequestedEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationRequestedEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationRequestedEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationResponse::UserName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationResponse)->get_UserName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationResponse::UserName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationResponse)->put_UserName(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationResponse::Password() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationResponse)->get_Password(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BasicAuthenticationResponse::Password(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BasicAuthenticationResponse)->put_Password(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BrowserProcessExitedEventArgs::BrowserProcessExitKind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2BrowserProcessExitKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BrowserProcessExitedEventArgs)->get_BrowserProcessExitKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2BrowserProcessExitedEventArgs::BrowserProcessId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2BrowserProcessExitedEventArgs)->get_BrowserProcessId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::Issuer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->get_Issuer(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::ValidFrom() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->get_ValidFrom(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::ValidTo() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->get_ValidTo(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::DerEncodedSerialNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->get_DerEncodedSerialNumber(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::PemEncodedIssuerCertificateChain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->get_PemEncodedIssuerCertificateChain(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Certificate::ToPemEncoding() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Certificate)->ToPemEncoding(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::Subject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_Subject(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::Issuer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_Issuer(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::ValidFrom() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_ValidFrom(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::ValidTo() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_ValidTo(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::DerEncodedSerialNumber() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_DerEncodedSerialNumber(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::PemEncodedIssuerCertificateChain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_PemEncodedIssuerCertificateChain(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::Kind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ClientCertificateKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificate::ToPemEncoding() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificate)->ToPemEncoding(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::Host() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_Host(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::Port() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_Port(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::IsProxy() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_IsProxy(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::AllowedCertificateAuthorities() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_AllowedCertificateAuthorities(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::MutuallyTrustedCertificates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_MutuallyTrustedCertificates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::SelectedCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_SelectedCertificate(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2ClientCertificate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::SelectedCertificate(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ClientCertificate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->put_SelectedCertificate(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ClientCertificateRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ClientCertificateRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::RootVisualTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->get_RootVisualTarget(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::RootVisualTarget(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->put_RootVisualTarget(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::CursorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->add_CursorChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::CursorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CursorChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::CursorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->remove_CursorChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::SendMouseInput(winrt::Microsoft::Web::WebView2::Core::CoreWebView2MouseEventKind const& eventKind, winrt::Microsoft::Web::WebView2::Core::CoreWebView2MouseEventVirtualKeys const& virtualKeys, uint32_t mouseData, winrt::Windows::Foundation::Point const& point) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->SendMouseInput(static_cast(eventKind), static_cast(virtualKeys), mouseData, impl::bind_in(point))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::SendPointerInput(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PointerEventKind const& eventKind, winrt::Microsoft::Web::WebView2::Core::CoreWebView2PointerInfo const& pointerInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->SendPointerInput(static_cast(eventKind), *(void**)(&pointerInfo))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::Cursor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->get_Cursor(&value)); return winrt::Windows::UI::Core::CoreCursor{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::DragEnter(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->DragEnter(*(void**)(&dragInfo), *(void**)(&dragUIOverride), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::DragOver(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->DragOver(*(void**)(&dragInfo), *(void**)(&dragUIOverride), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController::Drop(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController)->Drop(*(void**)(&dragInfo), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CompositionController3::DragLeave() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CompositionController3)->DragLeave()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContentLoadingEventArgs::IsErrorPage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContentLoadingEventArgs)->get_IsErrorPage(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContentLoadingEventArgs::NavigationId() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContentLoadingEventArgs)->get_NavigationId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::CommandId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_CommandId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::ShortcutKeyDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_ShortcutKeyDescription(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_Icon(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::Kind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ContextMenuItemKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_IsEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->put_IsEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_IsChecked(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->put_IsChecked(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::CustomItemSelected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->add_CustomItemSelected(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::CustomItemSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CustomItemSelected(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuItem::CustomItemSelected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuItem)->remove_CustomItemSelected(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::MenuItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->get_MenuItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::ContextMenuTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->get_ContextMenuTarget(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2ContextMenuTarget{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::Location() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->get_Location(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::SelectedCommandId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->get_SelectedCommandId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::SelectedCommandId(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->put_SelectedCommandId(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::Kind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ContextMenuTargetKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::IsEditable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_IsEditable(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::IsRequestedForMainFrame() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_IsRequestedForMainFrame(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::PageUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_PageUri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::FrameUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_FrameUri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::HasLinkUri() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_HasLinkUri(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::LinkUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_LinkUri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::HasLinkText() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_HasLinkText(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::LinkText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_LinkText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::HasSourceUri() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_HasSourceUri(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::SourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_SourceUri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::HasSelection() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_HasSelection(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ContextMenuTarget::SelectionText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ContextMenuTarget)->get_SelectionText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::IsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->get_IsVisible(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::IsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->put_IsVisible(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->get_Bounds(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::Bounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->put_Bounds(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::ZoomFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->get_ZoomFactor(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::ZoomFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->put_ZoomFactor(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::ParentWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->get_ParentWindow(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::ParentWindow(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->put_ParentWindow(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::CoreWebView2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->get_CoreWebView2(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::ZoomFactorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->add_ZoomFactorChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::ZoomFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ZoomFactorChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::ZoomFactorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->remove_ZoomFactorChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->add_MoveFocusRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MoveFocusRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::MoveFocusRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->remove_MoveFocusRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::GotFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->remove_GotFocus(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::LostFocus(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->add_LostFocus(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::LostFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->remove_LostFocus(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->add_AcceleratorKeyPressed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AcceleratorKeyPressed(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::AcceleratorKeyPressed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->remove_AcceleratorKeyPressed(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::SetBoundsAndZoomFactor(winrt::Windows::Foundation::Rect const& Bounds, double ZoomFactor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->SetBoundsAndZoomFactor(impl::bind_in(Bounds), ZoomFactor)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::MoveFocus(winrt::Microsoft::Web::WebView2::Core::CoreWebView2MoveFocusReason const& reason) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->MoveFocus(static_cast(reason))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::NotifyParentWindowPositionChanged() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->NotifyParentWindowPositionChanged()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller)->Close()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller2::DefaultBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller2)->get_DefaultBackgroundColor(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller2::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller2)->put_DefaultBackgroundColor(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::RasterizationScale() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->get_RasterizationScale(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::RasterizationScale(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->put_RasterizationScale(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::ShouldDetectMonitorScaleChanges() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->get_ShouldDetectMonitorScaleChanges(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::ShouldDetectMonitorScaleChanges(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->put_ShouldDetectMonitorScaleChanges(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::BoundsMode() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2BoundsMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->get_BoundsMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::BoundsMode(winrt::Microsoft::Web::WebView2::Core::CoreWebView2BoundsMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->put_BoundsMode(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::RasterizationScaleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->add_RasterizationScaleChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::RasterizationScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RasterizationScaleChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller3::RasterizationScaleChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller3)->remove_RasterizationScaleChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller4::AllowExternalDrop() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller4)->get_AllowExternalDrop(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Controller4::AllowExternalDrop(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Controller4)->put_AllowExternalDrop(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerOptions::ProfileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerOptions)->get_ProfileName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerOptions::ProfileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerOptions)->put_ProfileName(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerOptions::IsInPrivateModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerOptions)->get_IsInPrivateModeEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerOptions::IsInPrivateModeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerOptions)->put_IsInPrivateModeEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerOptions2::ScriptLocale() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerOptions2)->get_ScriptLocale(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerOptions2::ScriptLocale(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerOptions2)->put_ScriptLocale(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerWindowReference::WindowHandle() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerWindowReference)->get_WindowHandle(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerWindowReference::CoreWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerWindowReference)->get_CoreWindow(&value)); return winrt::Windows::UI::Core::CoreWindow{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerWindowReferenceStatics::CreateFromWindowHandle(uint64_t windowHandle) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerWindowReferenceStatics)->CreateFromWindowHandle(windowHandle, &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ControllerWindowReferenceStatics::CreateFromCoreWindow(winrt::Windows::UI::Core::CoreWindow const& coreWindow) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ControllerWindowReferenceStatics)->CreateFromCoreWindow(*(void**)(&coreWindow), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->put_Value(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::Domain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_Domain(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::Expires() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_Expires(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::Expires(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->put_Expires(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::IsHttpOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_IsHttpOnly(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::IsHttpOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->put_IsHttpOnly(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::SameSite() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2CookieSameSiteKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_SameSite(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::SameSite(winrt::Microsoft::Web::WebView2::Core::CoreWebView2CookieSameSiteKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->put_SameSite(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::IsSecure() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_IsSecure(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::IsSecure(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->put_IsSecure(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Cookie::IsSession() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Cookie)->get_IsSession(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager::CreateCookie(param::hstring const& name, param::hstring const& value, param::hstring const& Domain, param::hstring const& Path) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager)->CreateCookie(*(void**)(&name), *(void**)(&value), *(void**)(&Domain), *(void**)(&Path), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2Cookie{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager::CopyCookie(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Cookie const& cookieParam) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager)->CopyCookie(*(void**)(&cookieParam), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2Cookie{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager::AddOrUpdateCookie(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Cookie const& cookie) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager)->AddOrUpdateCookie(*(void**)(&cookie))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager::DeleteCookie(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Cookie const& cookie) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager)->DeleteCookie(*(void**)(&cookie))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager::DeleteCookies(param::hstring const& name, param::hstring const& uri) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager)->DeleteCookies(*(void**)(&name), *(void**)(&uri))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager::DeleteCookiesWithDomainAndPath(param::hstring const& name, param::hstring const& Domain, param::hstring const& Path) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager)->DeleteCookiesWithDomainAndPath(*(void**)(&name), *(void**)(&Domain), *(void**)(&Path))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager::DeleteAllCookies() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager)->DeleteAllCookies()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CookieManager_Manual::GetCookiesAsync(param::hstring const& uri) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CookieManager_Manual)->GetCookiesAsync(*(void**)(&uri), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CustomSchemeRegistration::TreatAsSecure() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CustomSchemeRegistration)->get_TreatAsSecure(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CustomSchemeRegistration::TreatAsSecure(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CustomSchemeRegistration)->put_TreatAsSecure(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CustomSchemeRegistration::HasAuthorityComponent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CustomSchemeRegistration)->get_HasAuthorityComponent(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2CustomSchemeRegistration::HasAuthorityComponent(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2CustomSchemeRegistration)->put_HasAuthorityComponent(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DOMContentLoadedEventArgs::NavigationId() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DOMContentLoadedEventArgs)->get_NavigationId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DevToolsProtocolEventReceivedEventArgs::ParameterObjectAsJson() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DevToolsProtocolEventReceivedEventArgs)->get_ParameterObjectAsJson(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DevToolsProtocolEventReceivedEventArgs2::SessionId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DevToolsProtocolEventReceivedEventArgs2)->get_SessionId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DevToolsProtocolEventReceiver::DevToolsProtocolEventReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DevToolsProtocolEventReceiver)->add_DevToolsProtocolEventReceived(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DevToolsProtocolEventReceiver::DevToolsProtocolEventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DevToolsProtocolEventReceived(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DevToolsProtocolEventReceiver::DevToolsProtocolEventReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DevToolsProtocolEventReceiver)->remove_DevToolsProtocolEventReceived(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DispatchAdapter::WrapNamedObject(param::hstring const& name, winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter const& adapter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter)->WrapNamedObject(*(void**)(&name), *(void**)(&adapter), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DispatchAdapter::WrapObject(winrt::Windows::Foundation::IInspectable const& unwrapped, winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter const& adapter) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter)->WrapObject(*(void**)(&unwrapped), *(void**)(&adapter), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DispatchAdapter::UnwrapObject(winrt::Windows::Foundation::IInspectable const& wrapped) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter)->UnwrapObject(*(void**)(&wrapped), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DispatchAdapter::Clean() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter)->Clean()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::ContentDisposition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_ContentDisposition(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::MimeType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_MimeType(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::TotalBytesToReceive() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_TotalBytesToReceive(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::BytesReceived() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_BytesReceived(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::EstimatedEndTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_EstimatedEndTime(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::ResultFilePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_ResultFilePath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::State() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2DownloadState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::InterruptReason() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2DownloadInterruptReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_InterruptReason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::CanResume() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->get_CanResume(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::BytesReceivedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->add_BytesReceivedChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::BytesReceivedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BytesReceivedChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::BytesReceivedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->remove_BytesReceivedChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::EstimatedEndTimeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->add_EstimatedEndTimeChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::EstimatedEndTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, EstimatedEndTimeChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::EstimatedEndTimeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->remove_EstimatedEndTimeChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->remove_StateChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->Cancel()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->Pause()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadOperation::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadOperation)->Resume()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::DownloadOperation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->get_DownloadOperation(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2DownloadOperation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::ResultFilePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->get_ResultFilePath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::ResultFilePath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->put_ResultFilePath(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->put_Handled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2DownloadStartingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DownloadStartingEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment::BrowserVersionString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment)->get_BrowserVersionString(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment::NewBrowserVersionAvailable(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment)->add_NewBrowserVersionAvailable(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment::NewBrowserVersionAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NewBrowserVersionAvailable(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment::NewBrowserVersionAvailable(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment)->remove_NewBrowserVersionAvailable(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment::CreateCoreWebView2ControllerAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference const& ParentWindow) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment)->CreateCoreWebView2ControllerAsync(*(void**)(&ParentWindow), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment::CreateWebResourceResponse(winrt::Windows::Storage::Streams::IRandomAccessStream const& Content, int32_t StatusCode, param::hstring const& ReasonPhrase, param::hstring const& Headers) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment)->CreateWebResourceResponse(*(void**)(&Content), StatusCode, *(void**)(&ReasonPhrase), *(void**)(&Headers), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceResponse{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment10::CreateCoreWebView2ControllerOptions() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment10)->CreateCoreWebView2ControllerOptions(&result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerOptions{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment11::FailureReportFolderPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment11)->get_FailureReportFolderPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment12::CreateSharedBuffer(uint64_t Size) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment12)->CreateSharedBuffer(Size, &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2SharedBuffer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment2::CreateWebResourceRequest(param::hstring const& uri, param::hstring const& Method, winrt::Windows::Storage::Streams::IRandomAccessStream const& postData, param::hstring const& Headers) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment2)->CreateWebResourceRequest(*(void**)(&uri), *(void**)(&Method), *(void**)(&postData), *(void**)(&Headers), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceRequest{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment3::CreateCoreWebView2CompositionControllerAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference const& ParentWindow) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment3)->CreateCoreWebView2CompositionControllerAsync(*(void**)(&ParentWindow), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment3::CreateCoreWebView2PointerInfo() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment3)->CreateCoreWebView2PointerInfo(&result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2PointerInfo{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment5::BrowserProcessExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment5)->add_BrowserProcessExited(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment5::BrowserProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BrowserProcessExited(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment5::BrowserProcessExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment5)->remove_BrowserProcessExited(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment6::CreatePrintSettings() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment6)->CreatePrintSettings(&result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintSettings{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment7::UserDataFolder() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment7)->get_UserDataFolder(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment8::ProcessInfosChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment8)->add_ProcessInfosChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment8::ProcessInfosChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ProcessInfosChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment8::ProcessInfosChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment8)->remove_ProcessInfosChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment8::GetProcessInfos() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment8)->GetProcessInfos(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment9::CreateContextMenuItem(param::hstring const& Label, winrt::Windows::Storage::Streams::IRandomAccessStream const& iconStream, winrt::Microsoft::Web::WebView2::Core::CoreWebView2ContextMenuItemKind const& Kind) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment9)->CreateContextMenuItem(*(void**)(&Label), *(void**)(&iconStream), static_cast(Kind), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2ContextMenuItem{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::AdditionalBrowserArguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->get_AdditionalBrowserArguments(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::AdditionalBrowserArguments(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->put_AdditionalBrowserArguments(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::Language() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->get_Language(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::Language(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->put_Language(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::TargetCompatibleBrowserVersion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->get_TargetCompatibleBrowserVersion(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::TargetCompatibleBrowserVersion(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->put_TargetCompatibleBrowserVersion(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::AllowSingleSignOnUsingOSPrimaryAccount() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->get_AllowSingleSignOnUsingOSPrimaryAccount(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions::AllowSingleSignOnUsingOSPrimaryAccount(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions)->put_AllowSingleSignOnUsingOSPrimaryAccount(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions2::ExclusiveUserDataFolderAccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions2)->get_ExclusiveUserDataFolderAccess(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions2::ExclusiveUserDataFolderAccess(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions2)->put_ExclusiveUserDataFolderAccess(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions3::IsCustomCrashReportingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions3)->get_IsCustomCrashReportingEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions3::IsCustomCrashReportingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions3)->put_IsCustomCrashReportingEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions5::EnableTrackingPrevention() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions5)->get_EnableTrackingPrevention(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentOptions5::EnableTrackingPrevention(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentOptions5)->put_EnableTrackingPrevention(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentStatics::CreateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentStatics)->CreateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentStatics::CreateWithOptionsAsync(param::hstring const& browserExecutableFolder, param::hstring const& userDataFolder, winrt::Microsoft::Web::WebView2::Core::CoreWebView2EnvironmentOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentStatics)->CreateWithOptionsAsync(*(void**)(&browserExecutableFolder), *(void**)(&userDataFolder), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentStatics::GetAvailableBrowserVersionString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentStatics)->GetAvailableBrowserVersionString(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentStatics::GetAvailableBrowserVersionString(param::hstring const& browserExecutableFolder) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentStatics)->GetAvailableBrowserVersionString2(*(void**)(&browserExecutableFolder), &result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2EnvironmentStatics::CompareBrowserVersionString(param::hstring const& browserVersionString1, param::hstring const& browserVersionString2) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2EnvironmentStatics)->CompareBrowserVersionString(*(void**)(&browserVersionString1), *(void**)(&browserVersionString2), &result)); return result; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment_Manual::CreateCoreWebView2ControllerAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference const& ParentWindow, winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment_Manual)->CreateCoreWebView2ControllerAsync(*(void**)(&ParentWindow), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Environment_Manual::CreateCoreWebView2CompositionControllerAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerWindowReference const& ParentWindow, winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerOptions const& options) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Environment_Manual)->CreateCoreWebView2CompositionControllerAsync(*(void**)(&ParentWindow), *(void**)(&options), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2File::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2File)->get_Path(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::NameChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame)->add_NameChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NameChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::NameChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame)->remove_NameChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::Destroyed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame)->add_Destroyed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Destroyed(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::Destroyed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame)->remove_Destroyed(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::RemoveHostObjectFromScript(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame)->RemoveHostObjectFromScript(*(void**)(&name))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame::IsDestroyed() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame)->IsDestroyed(&result)); return result; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->add_NavigationStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStarting(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::NavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->remove_NavigationStarting(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::ContentLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->add_ContentLoading(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContentLoading(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::ContentLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->remove_ContentLoading(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->add_NavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationCompleted(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::NavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->remove_NavigationCompleted(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->add_DOMContentLoaded(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DOMContentLoaded(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::DOMContentLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->remove_DOMContentLoaded(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::WebMessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->add_WebMessageReceived(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::WebMessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WebMessageReceived(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::WebMessageReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->remove_WebMessageReceived(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::ExecuteScriptAsync(param::hstring const& javaScript) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->ExecuteScriptAsync(*(void**)(&javaScript), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::PostWebMessageAsJson(param::hstring const& webMessageAsJson) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->PostWebMessageAsJson(*(void**)(&webMessageAsJson))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame2::PostWebMessageAsString(param::hstring const& webMessageAsString) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame2)->PostWebMessageAsString(*(void**)(&webMessageAsString))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame3::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame3)->add_PermissionRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame3::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PermissionRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame3::PermissionRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame3)->remove_PermissionRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Frame4::PostSharedBufferToScript(winrt::Microsoft::Web::WebView2::Core::CoreWebView2SharedBuffer const& sharedBuffer, winrt::Microsoft::Web::WebView2::Core::CoreWebView2SharedBufferAccess const& access, param::hstring const& additionalDataAsJson) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Frame4)->PostSharedBufferToScript(*(void**)(&sharedBuffer), static_cast(access), *(void**)(&additionalDataAsJson))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2FrameCreatedEventArgs::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2FrameCreatedEventArgs)->get_Frame(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2Frame{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2FrameInfo::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2FrameInfo)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2FrameInfo::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2FrameInfo)->get_Source(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpRequestHeaders::GetHeader(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpRequestHeaders)->GetHeader(*(void**)(&name), &result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpRequestHeaders::GetHeaders(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpRequestHeaders)->GetHeaders(*(void**)(&name), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2HttpHeadersCollectionIterator{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpRequestHeaders::Contains(param::hstring const& name) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpRequestHeaders)->Contains(*(void**)(&name), &result)); return result; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpRequestHeaders::SetHeader(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpRequestHeaders)->SetHeader(*(void**)(&name), *(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpRequestHeaders::RemoveHeader(param::hstring const& name) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpRequestHeaders)->RemoveHeader(*(void**)(&name))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpResponseHeaders::AppendHeader(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpResponseHeaders)->AppendHeader(*(void**)(&name), *(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpResponseHeaders::Contains(param::hstring const& name) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpResponseHeaders)->Contains(*(void**)(&name), &result)); return result; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpResponseHeaders::GetHeader(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpResponseHeaders)->GetHeader(*(void**)(&name), &result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2HttpResponseHeaders::GetHeaders(param::hstring const& name) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2HttpResponseHeaders)->GetHeaders(*(void**)(&name), &result)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2HttpHeadersCollectionIterator{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2LaunchingExternalUriSchemeEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2LaunchingExternalUriSchemeEventArgs)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2LaunchingExternalUriSchemeEventArgs::InitiatingOrigin() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2LaunchingExternalUriSchemeEventArgs)->get_InitiatingOrigin(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2LaunchingExternalUriSchemeEventArgs::IsUserInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2LaunchingExternalUriSchemeEventArgs)->get_IsUserInitiated(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2LaunchingExternalUriSchemeEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2LaunchingExternalUriSchemeEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2LaunchingExternalUriSchemeEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2LaunchingExternalUriSchemeEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2LaunchingExternalUriSchemeEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2LaunchingExternalUriSchemeEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2MoveFocusRequestedEventArgs::Reason() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2MoveFocusReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2MoveFocusRequestedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2MoveFocusRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2MoveFocusRequestedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2MoveFocusRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2MoveFocusRequestedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationCompletedEventArgs::IsSuccess() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationCompletedEventArgs)->get_IsSuccess(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationCompletedEventArgs::WebErrorStatus() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationCompletedEventArgs)->get_WebErrorStatus(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationCompletedEventArgs::NavigationId() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationCompletedEventArgs)->get_NavigationId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationCompletedEventArgs2::HttpStatusCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationCompletedEventArgs2)->get_HttpStatusCode(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs::IsUserInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs)->get_IsUserInitiated(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs::IsRedirected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs)->get_IsRedirected(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs::RequestHeaders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs)->get_RequestHeaders(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2HttpRequestHeaders{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs::NavigationId() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs)->get_NavigationId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs2::AdditionalAllowedFrameAncestors() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs2)->get_AdditionalAllowedFrameAncestors(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs2::AdditionalAllowedFrameAncestors(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs2)->put_AdditionalAllowedFrameAncestors(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NavigationStartingEventArgs3::NavigationKind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2NavigationKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NavigationStartingEventArgs3)->get_NavigationKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::NewWindow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->get_NewWindow(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::NewWindow(winrt::Microsoft::Web::WebView2::Core::CoreWebView2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->put_NewWindow(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::IsUserInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->get_IsUserInitiated(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::WindowFeatures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->get_WindowFeatures(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2WindowFeatures{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2NewWindowRequestedEventArgs2::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2NewWindowRequestedEventArgs2)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs::PermissionKind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PermissionKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs)->get_PermissionKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs::IsUserInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs)->get_IsUserInitiated(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs::State() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PermissionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs::State(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PermissionState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs)->put_State(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs2::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs2)->get_Handled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs2::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs2)->put_Handled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs3::SavesInProfile() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs3)->get_SavesInProfile(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionRequestedEventArgs3::SavesInProfile(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionRequestedEventArgs3)->put_SavesInProfile(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionSetting::PermissionKind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PermissionKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionSetting)->get_PermissionKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionSetting::PermissionOrigin() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionSetting)->get_PermissionOrigin(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PermissionSetting::PermissionState() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PermissionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PermissionSetting)->get_PermissionState(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerKind() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PointerKind(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerKind(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PointerKind(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PointerId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerId(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PointerId(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::FrameId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_FrameId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::FrameId(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_FrameId(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerFlags() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PointerFlags(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerFlags(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PointerFlags(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerDeviceRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PointerDeviceRect(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PointerDeviceRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PointerDeviceRect(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::DisplayRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_DisplayRect(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::DisplayRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_DisplayRect(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PixelLocation() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PixelLocation(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PixelLocation(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PixelLocation(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::HimetricLocation() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_HimetricLocation(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::HimetricLocation(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_HimetricLocation(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PixelLocationRaw() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PixelLocationRaw(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PixelLocationRaw(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PixelLocationRaw(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::HimetricLocationRaw() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_HimetricLocationRaw(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::HimetricLocationRaw(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_HimetricLocationRaw(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::Time() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_Time(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::Time(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_Time(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::HistoryCount() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_HistoryCount(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::HistoryCount(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_HistoryCount(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::InputData() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_InputData(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::InputData(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_InputData(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::KeyStates() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_KeyStates(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::KeyStates(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_KeyStates(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PerformanceCount() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PerformanceCount(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PerformanceCount(uint64_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PerformanceCount(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::ButtonChangeKind() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_ButtonChangeKind(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::ButtonChangeKind(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_ButtonChangeKind(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenFlags() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PenFlags(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenFlags(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PenFlags(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenMask() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PenMask(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenMask(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PenMask(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenPressure() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PenPressure(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenPressure(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PenPressure(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenRotation() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PenRotation(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenRotation(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PenRotation(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenTiltX() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PenTiltX(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenTiltX(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PenTiltX(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenTiltY() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_PenTiltY(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::PenTiltY(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_PenTiltY(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchFlags() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_TouchFlags(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchFlags(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_TouchFlags(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchMask() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_TouchMask(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchMask(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_TouchMask(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchContact() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_TouchContact(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchContact(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_TouchContact(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchContactRaw() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_TouchContactRaw(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchContactRaw(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_TouchContactRaw(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchOrientation() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_TouchOrientation(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchOrientation(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_TouchOrientation(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchPressure() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->get_TouchPressure(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PointerInfo::TouchPressure(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PointerInfo)->put_TouchPressure(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::Orientation() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::Orientation(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintOrientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ScaleFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_ScaleFactor(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ScaleFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_ScaleFactor(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::PageWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_PageWidth(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::PageWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_PageWidth(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::PageHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_PageHeight(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::PageHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_PageHeight(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginTop() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_MarginTop(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginTop(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_MarginTop(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginBottom() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_MarginBottom(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginBottom(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_MarginBottom(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginLeft() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_MarginLeft(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginLeft(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_MarginLeft(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginRight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_MarginRight(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::MarginRight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_MarginRight(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ShouldPrintBackgrounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_ShouldPrintBackgrounds(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ShouldPrintBackgrounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_ShouldPrintBackgrounds(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ShouldPrintSelectionOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_ShouldPrintSelectionOnly(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ShouldPrintSelectionOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_ShouldPrintSelectionOnly(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ShouldPrintHeaderAndFooter() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_ShouldPrintHeaderAndFooter(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::ShouldPrintHeaderAndFooter(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_ShouldPrintHeaderAndFooter(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::HeaderTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_HeaderTitle(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::HeaderTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_HeaderTitle(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::FooterUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->get_FooterUri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings::FooterUri(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings)->put_FooterUri(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::PageRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_PageRanges(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::PageRanges(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_PageRanges(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::PagesPerSide() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_PagesPerSide(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::PagesPerSide(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_PagesPerSide(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::Copies() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_Copies(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::Copies(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_Copies(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::Collation() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintCollation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_Collation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::Collation(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintCollation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_Collation(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::ColorMode() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintColorMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_ColorMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::ColorMode(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintColorMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_ColorMode(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::Duplex() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintDuplex value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_Duplex(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::Duplex(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintDuplex const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_Duplex(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::MediaSize() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintMediaSize value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_MediaSize(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::MediaSize(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintMediaSize const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_MediaSize(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::PrinterName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->get_PrinterName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrintSettings2::PrinterName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrintSettings2)->put_PrinterName(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2PrivatePartialController::IsBrowserHitTransparent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2PrivatePartialController)->get_IsBrowserHitTransparent(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ProcessFailedEventArgs::ProcessFailedKind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ProcessFailedKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ProcessFailedEventArgs)->get_ProcessFailedKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ProcessFailedEventArgs2::Reason() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ProcessFailedReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ProcessFailedEventArgs2)->get_Reason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ProcessFailedEventArgs2::ExitCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ProcessFailedEventArgs2)->get_ExitCode(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ProcessFailedEventArgs2::ProcessDescription() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ProcessFailedEventArgs2)->get_ProcessDescription(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ProcessFailedEventArgs2::FrameInfosForFailedProcess() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ProcessFailedEventArgs2)->get_FrameInfosForFailedProcess(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ProcessInfo::ProcessId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ProcessInfo)->get_ProcessId(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ProcessInfo::Kind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ProcessKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ProcessInfo)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile::ProfileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile)->get_ProfileName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile::IsInPrivateModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile)->get_IsInPrivateModeEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile::ProfilePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile)->get_ProfilePath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile::DefaultDownloadFolderPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile)->get_DefaultDownloadFolderPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile::DefaultDownloadFolderPath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile)->put_DefaultDownloadFolderPath(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile::PreferredColorScheme() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PreferredColorScheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile)->get_PreferredColorScheme(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile::PreferredColorScheme(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PreferredColorScheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile)->put_PreferredColorScheme(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile2::ClearBrowsingDataAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2BrowsingDataKinds const& dataKinds) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile2)->ClearBrowsingDataAsync(static_cast(dataKinds), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile3::PreferredTrackingPreventionLevel() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2TrackingPreventionLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile3)->get_PreferredTrackingPreventionLevel(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile3::PreferredTrackingPreventionLevel(winrt::Microsoft::Web::WebView2::Core::CoreWebView2TrackingPreventionLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile3)->put_PreferredTrackingPreventionLevel(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile4::SetPermissionStateAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PermissionKind const& PermissionKind, param::hstring const& origin, winrt::Microsoft::Web::WebView2::Core::CoreWebView2PermissionState const& State) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile4)->SetPermissionStateAsync(static_cast(PermissionKind), *(void**)(&origin), static_cast(State), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile5::CookieManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile5)->get_CookieManager(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2CookieManager{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile6::IsPasswordAutosaveEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile6)->get_IsPasswordAutosaveEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile6::IsPasswordAutosaveEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile6)->put_IsPasswordAutosaveEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile6::IsGeneralAutofillEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile6)->get_IsGeneralAutofillEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Profile6::IsGeneralAutofillEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Profile6)->put_IsGeneralAutofillEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::Kind() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ScriptDialogKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::DefaultText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->get_DefaultText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::ResultText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->get_ResultText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::ResultText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->put_ResultText(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::Accept() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->Accept()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ScriptDialogOpeningEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ScriptDialogOpeningEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ServerCertificateErrorDetectedEventArgs::ErrorStatus() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebErrorStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ServerCertificateErrorDetectedEventArgs)->get_ErrorStatus(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ServerCertificateErrorDetectedEventArgs::RequestUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ServerCertificateErrorDetectedEventArgs)->get_RequestUri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ServerCertificateErrorDetectedEventArgs::ServerCertificate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ServerCertificateErrorDetectedEventArgs)->get_ServerCertificate(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2Certificate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ServerCertificateErrorDetectedEventArgs::Action() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2ServerCertificateErrorAction value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ServerCertificateErrorDetectedEventArgs)->get_Action(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ServerCertificateErrorDetectedEventArgs::Action(winrt::Microsoft::Web::WebView2::Core::CoreWebView2ServerCertificateErrorAction const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ServerCertificateErrorDetectedEventArgs)->put_Action(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2ServerCertificateErrorDetectedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2ServerCertificateErrorDetectedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsScriptEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_IsScriptEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsScriptEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_IsScriptEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsWebMessageEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_IsWebMessageEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsWebMessageEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_IsWebMessageEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreDefaultScriptDialogsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_AreDefaultScriptDialogsEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreDefaultScriptDialogsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_AreDefaultScriptDialogsEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsStatusBarEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_IsStatusBarEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsStatusBarEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_IsStatusBarEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreDevToolsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_AreDevToolsEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreDevToolsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_AreDevToolsEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreDefaultContextMenusEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_AreDefaultContextMenusEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreDefaultContextMenusEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_AreDefaultContextMenusEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreHostObjectsAllowed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_AreHostObjectsAllowed(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::AreHostObjectsAllowed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_AreHostObjectsAllowed(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsZoomControlEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_IsZoomControlEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsZoomControlEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_IsZoomControlEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsBuiltInErrorPageEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->get_IsBuiltInErrorPageEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings::IsBuiltInErrorPageEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings)->put_IsBuiltInErrorPageEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings2::UserAgent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings2)->get_UserAgent(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings2::UserAgent(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings2)->put_UserAgent(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings3::AreBrowserAcceleratorKeysEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings3)->get_AreBrowserAcceleratorKeysEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings3::AreBrowserAcceleratorKeysEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings3)->put_AreBrowserAcceleratorKeysEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings4::IsPasswordAutosaveEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings4)->get_IsPasswordAutosaveEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings4::IsPasswordAutosaveEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings4)->put_IsPasswordAutosaveEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings4::IsGeneralAutofillEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings4)->get_IsGeneralAutofillEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings4::IsGeneralAutofillEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings4)->put_IsGeneralAutofillEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings5::IsPinchZoomEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings5)->get_IsPinchZoomEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings5::IsPinchZoomEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings5)->put_IsPinchZoomEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings6::IsSwipeNavigationEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings6)->get_IsSwipeNavigationEnabled(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings6::IsSwipeNavigationEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings6)->put_IsSwipeNavigationEnabled(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings7::HiddenPdfToolbarItems() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2PdfToolbarItems value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings7)->get_HiddenPdfToolbarItems(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings7::HiddenPdfToolbarItems(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PdfToolbarItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings7)->put_HiddenPdfToolbarItems(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings8::IsReputationCheckingRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings8)->get_IsReputationCheckingRequired(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings8::IsReputationCheckingRequired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings8)->put_IsReputationCheckingRequired(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings_Manual::HostObjectDispatchAdapter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings_Manual)->get_HostObjectDispatchAdapter(&value)); return winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2Settings_Manual::HostObjectDispatchAdapter(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2DispatchAdapter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2Settings_Manual)->put_HostObjectDispatchAdapter(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2SharedBuffer::Size() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2SharedBuffer)->get_Size(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2SharedBuffer::OpenStream() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2SharedBuffer)->OpenStream(&result)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2SharedBuffer_Manual::Buffer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2SharedBuffer_Manual)->get_Buffer(&value)); return winrt::Windows::Foundation::IMemoryBufferReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2SourceChangedEventArgs::IsNewDocument() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2SourceChangedEventArgs)->get_IsNewDocument(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebMessageReceivedEventArgs::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebMessageReceivedEventArgs)->get_Source(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebMessageReceivedEventArgs::WebMessageAsJson() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebMessageReceivedEventArgs)->get_WebMessageAsJson(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebMessageReceivedEventArgs::TryGetWebMessageAsString() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebMessageReceivedEventArgs)->TryGetWebMessageAsString(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebMessageReceivedEventArgs2::AdditionalObjects() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebMessageReceivedEventArgs2)->get_AdditionalObjects(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequest)->get_Uri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequest::Uri(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequest)->put_Uri(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequest::Method() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequest)->get_Method(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequest::Method(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequest)->put_Method(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequest::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequest)->get_Content(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequest::Content(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequest)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequest::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequest)->get_Headers(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2HttpRequestHeaders{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequestedEventArgs)->get_Request(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceRequest{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequestedEventArgs::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequestedEventArgs)->get_Response(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceResponse{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequestedEventArgs::Response(winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceResponse const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequestedEventArgs)->put_Response(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequestedEventArgs::ResourceContext() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceContext value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequestedEventArgs)->get_ResourceContext(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponse::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponse)->get_Content(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStream{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponse::Content(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponse)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponse::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponse)->get_Headers(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2HttpResponseHeaders{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponse::StatusCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponse)->get_StatusCode(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponse::StatusCode(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponse)->put_StatusCode(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponse::ReasonPhrase() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponse)->get_ReasonPhrase(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponse::ReasonPhrase(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponse)->put_ReasonPhrase(*(void**)(&value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponseReceivedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponseReceivedEventArgs)->get_Request(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceRequest{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponseReceivedEventArgs::Response() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponseReceivedEventArgs)->get_Response(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceResponseView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponseView::Headers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponseView)->get_Headers(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2HttpResponseHeaders{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponseView::StatusCode() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponseView)->get_StatusCode(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponseView::ReasonPhrase() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponseView)->get_ReasonPhrase(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WebResourceResponseView::GetContentAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WebResourceResponseView)->GetContentAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::HasPosition() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_HasPosition(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::HasSize() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_HasSize(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::Left() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_Left(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::Top() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_Top(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_Height(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_Width(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::ShouldDisplayMenuBar() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_ShouldDisplayMenuBar(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::ShouldDisplayStatus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_ShouldDisplayStatus(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::ShouldDisplayToolbar() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_ShouldDisplayToolbar(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2WindowFeatures::ShouldDisplayScrollBars() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2WindowFeatures)->get_ShouldDisplayScrollBars(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_10::BasicAuthenticationRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_10)->add_BasicAuthenticationRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_10::BasicAuthenticationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BasicAuthenticationRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_10::BasicAuthenticationRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_10)->remove_BasicAuthenticationRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_11::ContextMenuRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_11)->add_ContextMenuRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_11::ContextMenuRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_11::ContextMenuRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_11)->remove_ContextMenuRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_11::CallDevToolsProtocolMethodForSessionAsync(param::hstring const& sessionId, param::hstring const& methodName, param::hstring const& parametersAsJson) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_11)->CallDevToolsProtocolMethodForSessionAsync(*(void**)(&sessionId), *(void**)(&methodName), *(void**)(¶metersAsJson), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_12::StatusBarText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_12)->get_StatusBarText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_12::StatusBarTextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_12)->add_StatusBarTextChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_12::StatusBarTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusBarTextChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_12::StatusBarTextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_12)->remove_StatusBarTextChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_13::Profile() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_13)->get_Profile(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2Profile{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_14::ServerCertificateErrorDetected(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_14)->add_ServerCertificateErrorDetected(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_14::ServerCertificateErrorDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ServerCertificateErrorDetected(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_14::ServerCertificateErrorDetected(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_14)->remove_ServerCertificateErrorDetected(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_14::ClearServerCertificateErrorActionsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_14)->ClearServerCertificateErrorActionsAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_15::FaviconUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_15)->get_FaviconUri(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_15::FaviconChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_15)->add_FaviconChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_15::FaviconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FaviconChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_15::FaviconChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_15)->remove_FaviconChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_15::GetFaviconAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2FaviconImageFormat const& format) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_15)->GetFaviconAsync(static_cast(format), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_16::PrintAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintSettings const& printSettings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_16)->PrintAsync(*(void**)(&printSettings), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_16::ShowPrintUI(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintDialogKind const& printDialogKind) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_16)->ShowPrintUI(static_cast(printDialogKind))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_16::PrintToPdfStreamAsync(winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintSettings const& printSettings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_16)->PrintToPdfStreamAsync(*(void**)(&printSettings), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_17::PostSharedBufferToScript(winrt::Microsoft::Web::WebView2::Core::CoreWebView2SharedBuffer const& sharedBuffer, winrt::Microsoft::Web::WebView2::Core::CoreWebView2SharedBufferAccess const& access, param::hstring const& additionalDataAsJson) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_17)->PostSharedBufferToScript(*(void**)(&sharedBuffer), static_cast(access), *(void**)(&additionalDataAsJson))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_18::LaunchingExternalUriScheme(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_18)->add_LaunchingExternalUriScheme(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_18::LaunchingExternalUriScheme(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LaunchingExternalUriScheme(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_18::LaunchingExternalUriScheme(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_18)->remove_LaunchingExternalUriScheme(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_19::MemoryUsageTargetLevel() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2MemoryUsageTargetLevel value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_19)->get_MemoryUsageTargetLevel(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_19::MemoryUsageTargetLevel(winrt::Microsoft::Web::WebView2::Core::CoreWebView2MemoryUsageTargetLevel const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_19)->put_MemoryUsageTargetLevel(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::CookieManager() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_2)->get_CookieManager(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2CookieManager{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::Environment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_2)->get_Environment(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2Environment{ value, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::WebResourceResponseReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_2)->add_WebResourceResponseReceived(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::WebResourceResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WebResourceResponseReceived(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::WebResourceResponseReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_2)->remove_WebResourceResponseReceived(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_2)->add_DOMContentLoaded(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DOMContentLoaded(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::DOMContentLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_2)->remove_DOMContentLoaded(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_2::NavigateWithWebResourceRequest(winrt::Microsoft::Web::WebView2::Core::CoreWebView2WebResourceRequest const& Request) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_2)->NavigateWithWebResourceRequest(*(void**)(&Request))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_3::IsSuspended() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_3)->get_IsSuspended(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_3::TrySuspendAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_3)->TrySuspendAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_3::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_3)->Resume()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_3::SetVirtualHostNameToFolderMapping(param::hstring const& hostName, param::hstring const& folderPath, winrt::Microsoft::Web::WebView2::Core::CoreWebView2HostResourceAccessKind const& accessKind) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_3)->SetVirtualHostNameToFolderMapping(*(void**)(&hostName), *(void**)(&folderPath), static_cast(accessKind))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_3::ClearVirtualHostNameToFolderMapping(param::hstring const& hostName) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_3)->ClearVirtualHostNameToFolderMapping(*(void**)(&hostName))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_4::FrameCreated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_4)->add_FrameCreated(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_4::FrameCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FrameCreated(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_4::FrameCreated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_4)->remove_FrameCreated(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_4::DownloadStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_4)->add_DownloadStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_4::DownloadStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DownloadStarting(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_4::DownloadStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_4)->remove_DownloadStarting(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_5::ClientCertificateRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_5)->add_ClientCertificateRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_5::ClientCertificateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ClientCertificateRequested(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_5::ClientCertificateRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_5)->remove_ClientCertificateRequested(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_6::OpenTaskManagerWindow() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_6)->OpenTaskManagerWindow()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_7::PrintToPdfAsync(param::hstring const& ResultFilePath, winrt::Microsoft::Web::WebView2::Core::CoreWebView2PrintSettings const& printSettings) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_7)->PrintToPdfAsync(*(void**)(&ResultFilePath), *(void**)(&printSettings), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsMuted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_8)->get_IsMuted(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsMuted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_8)->put_IsMuted(value)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsDocumentPlayingAudio() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_8)->get_IsDocumentPlayingAudio(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_8)->add_IsMutedChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsMutedChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsMutedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_8)->remove_IsMutedChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsDocumentPlayingAudioChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_8)->add_IsDocumentPlayingAudioChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsDocumentPlayingAudioChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsDocumentPlayingAudioChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_8::IsDocumentPlayingAudioChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_8)->remove_IsDocumentPlayingAudioChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::IsDefaultDownloadDialogOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->get_IsDefaultDownloadDialogOpen(&value)); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::DefaultDownloadDialogCornerAlignment() const { winrt::Microsoft::Web::WebView2::Core::CoreWebView2DefaultDownloadDialogCornerAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->get_DefaultDownloadDialogCornerAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::DefaultDownloadDialogCornerAlignment(winrt::Microsoft::Web::WebView2::Core::CoreWebView2DefaultDownloadDialogCornerAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->put_DefaultDownloadDialogCornerAlignment(static_cast(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::DefaultDownloadDialogMargin() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->get_DefaultDownloadDialogMargin(put_abi(value))); return value; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::DefaultDownloadDialogMargin(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->put_DefaultDownloadDialogMargin(impl::bind_in(value))); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::IsDefaultDownloadDialogOpenChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->add_IsDefaultDownloadDialogOpenChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::IsDefaultDownloadDialogOpenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsDefaultDownloadDialogOpenChanged(handler)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::IsDefaultDownloadDialogOpenChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->remove_IsDefaultDownloadDialogOpenChanged(impl::bind_in(token)); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::OpenDefaultDownloadDialog() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->OpenDefaultDownloadDialog()); } template auto consume_Microsoft_Web_WebView2_Core_ICoreWebView2_9::CloseDefaultDownloadDialog() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Web::WebView2::Core::ICoreWebView2_9)->CloseDefaultDownloadDialog()); } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ToCertificate(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ToCertificate()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ToCertificate(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ToCertificate()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ClearBrowsingDataAsync(uint32_t dataKinds, int64_t startTime, int64_t endTime, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().ClearBrowsingDataAsync(*reinterpret_cast(&dataKinds), *reinterpret_cast(&startTime), *reinterpret_cast(&endTime))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ClearBrowsingDataAsync2(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().ClearBrowsingDataAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetNonDefaultPermissionSettingsAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().GetNonDefaultPermissionSettingsAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Settings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Settings()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Source(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Source()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BrowserProcessId(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BrowserProcessId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanGoBack(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanGoBack()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanGoForward(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanGoForward()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DocumentTitle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DocumentTitle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContainsFullScreenElement(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContainsFullScreenElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_NavigationStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ContentLoading(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContentLoading(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContentLoading(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContentLoading(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SourceChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SourceChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SourceChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SourceChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_HistoryChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().HistoryChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_HistoryChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().HistoryChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_NavigationCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_FrameNavigationStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().FrameNavigationStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_FrameNavigationStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().FrameNavigationStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_FrameNavigationCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().FrameNavigationCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_FrameNavigationCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().FrameNavigationCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ScriptDialogOpening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ScriptDialogOpening(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ScriptDialogOpening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ScriptDialogOpening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PermissionRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PermissionRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PermissionRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PermissionRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ProcessFailed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ProcessFailed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ProcessFailed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ProcessFailed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_WebMessageReceived(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().WebMessageReceived(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_WebMessageReceived(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().WebMessageReceived(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_NewWindowRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NewWindowRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NewWindowRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NewWindowRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DocumentTitleChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DocumentTitleChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DocumentTitleChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DocumentTitleChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ContainsFullScreenElementChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContainsFullScreenElementChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContainsFullScreenElementChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContainsFullScreenElementChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_WebResourceRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().WebResourceRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_WebResourceRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().WebResourceRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_WindowCloseRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().WindowCloseRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_WindowCloseRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().WindowCloseRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall Navigate(void* uri) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Navigate(*reinterpret_cast(&uri)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall NavigateToString(void* htmlContent) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NavigateToString(*reinterpret_cast(&htmlContent)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddScriptToExecuteOnDocumentCreatedAsync(void* javaScript, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().AddScriptToExecuteOnDocumentCreatedAsync(*reinterpret_cast(&javaScript))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveScriptToExecuteOnDocumentCreated(void* id) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveScriptToExecuteOnDocumentCreated(*reinterpret_cast(&id)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ExecuteScriptAsync(void* javaScript, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ExecuteScriptAsync(*reinterpret_cast(&javaScript))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CapturePreviewAsync(int32_t imageFormat, void* imageStream, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().CapturePreviewAsync(*reinterpret_cast(&imageFormat), *reinterpret_cast(&imageStream))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Reload() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Reload(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PostWebMessageAsJson(void* webMessageAsJson) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PostWebMessageAsJson(*reinterpret_cast(&webMessageAsJson)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PostWebMessageAsString(void* webMessageAsString) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PostWebMessageAsString(*reinterpret_cast(&webMessageAsString)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CallDevToolsProtocolMethodAsync(void* methodName, void* parametersAsJson, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CallDevToolsProtocolMethodAsync(*reinterpret_cast(&methodName), *reinterpret_cast(¶metersAsJson))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GoBack() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GoBack(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GoForward() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GoForward(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDevToolsProtocolEventReceiver(void* eventName, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDevToolsProtocolEventReceiver(*reinterpret_cast(&eventName))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddHostObjectToScript(void* name, void* rawObject) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddHostObjectToScript(*reinterpret_cast(&name), *reinterpret_cast(&rawObject)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveHostObjectFromScript(void* name) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveHostObjectFromScript(*reinterpret_cast(&name)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OpenDevToolsWindow() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenDevToolsWindow(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddWebResourceRequestedFilter(void* uri, int32_t ResourceContext) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddWebResourceRequestedFilter(*reinterpret_cast(&uri), *reinterpret_cast(&ResourceContext)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveWebResourceRequestedFilter(void* uri, int32_t ResourceContext) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveWebResourceRequestedFilter(*reinterpret_cast(&uri), *reinterpret_cast(&ResourceContext)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeyEventKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyEventKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VirtualKey(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VirtualKey()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyEventLParam(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyEventLParam()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PhysicalKeyStatus(struct struct_Microsoft_Web_WebView2_Core_CoreWebView2PhysicalKeyStatus* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PhysicalKeyStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Challenge(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Challenge()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Response(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Response()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_UserName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UserName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UserName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UserName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Password(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Password()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Password(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Password(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BrowserProcessExitKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BrowserProcessExitKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BrowserProcessId(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BrowserProcessId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Subject(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Subject()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Issuer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Issuer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValidFrom(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValidFrom()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValidTo(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValidTo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DerEncodedSerialNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DerEncodedSerialNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PemEncodedIssuerCertificateChain(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PemEncodedIssuerCertificateChain()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ToPemEncoding(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ToPemEncoding()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Subject(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Subject()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Issuer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Issuer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValidFrom(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValidFrom()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValidTo(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValidTo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DerEncodedSerialNumber(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DerEncodedSerialNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PemEncodedIssuerCertificateChain(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PemEncodedIssuerCertificateChain()); return 0; } catch (...) { return to_hresult(); } 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 ToPemEncoding(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ToPemEncoding()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Host(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Host()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Port(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Port()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsProxy(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsProxy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowedCertificateAuthorities(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AllowedCertificateAuthorities()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MutuallyTrustedCertificates(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MutuallyTrustedCertificates()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedCertificate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedCertificate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedCertificate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedCertificate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RootVisualTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RootVisualTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RootVisualTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RootVisualTarget(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CursorChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CursorChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CursorChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CursorChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall SendMouseInput(int32_t eventKind, uint32_t virtualKeys, uint32_t mouseData, winrt::Windows::Foundation::Point point) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SendMouseInput(*reinterpret_cast(&eventKind), *reinterpret_cast(&virtualKeys), mouseData, *reinterpret_cast(&point)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SendPointerInput(int32_t eventKind, void* pointerInfo) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SendPointerInput(*reinterpret_cast(&eventKind), *reinterpret_cast(&pointerInfo)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cursor(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cursor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DragEnter(void* dragInfo, void* dragUIOverride, uint32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().DragEnter(*reinterpret_cast(&dragInfo), *reinterpret_cast(&dragUIOverride))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DragOver(void* dragInfo, void* dragUIOverride, uint32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().DragOver(*reinterpret_cast(&dragInfo), *reinterpret_cast(&dragUIOverride))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Drop(void* dragInfo, uint32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Drop(*reinterpret_cast(&dragInfo))); 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 DragLeave() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DragLeave(); 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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsErrorPage(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsErrorPage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NavigationId(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigationId()); 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 get_Label(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Label()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShortcutKeyDescription(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShortcutKeyDescription()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Icon(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Icon()); return 0; } catch (...) { return to_hresult(); } 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_IsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsChecked(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsChecked()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsChecked(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsChecked(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Children(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Children()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CustomItemSelected(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CustomItemSelected(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CustomItemSelected(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CustomItemSelected(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MenuItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MenuItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContextMenuTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContextMenuTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedCommandId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedCommandId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedCommandId(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedCommandId(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); 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 get_IsEditable(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEditable()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRequestedForMainFrame(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRequestedForMainFrame()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FrameUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasLinkUri(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasLinkUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LinkUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LinkUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasLinkText(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasLinkText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LinkText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LinkText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasSourceUri(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasSourceUri()); 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_HasSelection(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasSelection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionText()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Bounds(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Bounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Bounds(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Bounds(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomFactor(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomFactor(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomFactor(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ParentWindow(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ParentWindow()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ParentWindow(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParentWindow(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CoreWebView2(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CoreWebView2()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ZoomFactorChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ZoomFactorChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ZoomFactorChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ZoomFactorChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MoveFocusRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MoveFocusRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MoveFocusRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MoveFocusRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_GotFocus(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().GotFocus(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_GotFocus(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().GotFocus(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_LostFocus(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().LostFocus(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_LostFocus(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().LostFocus(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_AcceleratorKeyPressed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().AcceleratorKeyPressed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AcceleratorKeyPressed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AcceleratorKeyPressed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall SetBoundsAndZoomFactor(winrt::Windows::Foundation::Rect Bounds, double ZoomFactor) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetBoundsAndZoomFactor(*reinterpret_cast(&Bounds), ZoomFactor); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MoveFocus(int32_t reason) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MoveFocus(*reinterpret_cast(&reason)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall NotifyParentWindowPositionChanged() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NotifyParentWindowPositionChanged(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Close() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Close(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DefaultBackgroundColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultBackgroundColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultBackgroundColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultBackgroundColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RasterizationScale(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RasterizationScale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RasterizationScale(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RasterizationScale(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldDetectMonitorScaleChanges(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldDetectMonitorScaleChanges()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShouldDetectMonitorScaleChanges(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShouldDetectMonitorScaleChanges(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BoundsMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BoundsMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BoundsMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BoundsMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_RasterizationScaleChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().RasterizationScaleChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_RasterizationScaleChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().RasterizationScaleChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AllowExternalDrop(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowExternalDrop()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowExternalDrop(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowExternalDrop(value); 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_ProfileName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProfileName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ProfileName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ProfileName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInPrivateModeEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInPrivateModeEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsInPrivateModeEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsInPrivateModeEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ScriptLocale(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScriptLocale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScriptLocale(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScriptLocale(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_WindowHandle(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WindowHandle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CoreWindow(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CoreWindow()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromWindowHandle(uint64_t windowHandle, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromWindowHandle(windowHandle)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromCoreWindow(void* coreWindow, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromCoreWindow(*reinterpret_cast(&coreWindow))); 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 get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Domain(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Domain()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Path(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Path()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Expires(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Expires()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Expires(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Expires(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHttpOnly(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHttpOnly()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsHttpOnly(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsHttpOnly(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SameSite(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SameSite()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SameSite(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SameSite(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSecure(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSecure()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSecure(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSecure(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSession(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSession()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateCookie(void* name, void* value, void* Domain, void* Path, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateCookie(*reinterpret_cast(&name), *reinterpret_cast(&value), *reinterpret_cast(&Domain), *reinterpret_cast(&Path))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CopyCookie(void* cookieParam, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CopyCookie(*reinterpret_cast(&cookieParam))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddOrUpdateCookie(void* cookie) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddOrUpdateCookie(*reinterpret_cast(&cookie)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DeleteCookie(void* cookie) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeleteCookie(*reinterpret_cast(&cookie)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DeleteCookies(void* name, void* uri) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeleteCookies(*reinterpret_cast(&name), *reinterpret_cast(&uri)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DeleteCookiesWithDomainAndPath(void* name, void* Domain, void* Path) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeleteCookiesWithDomainAndPath(*reinterpret_cast(&name), *reinterpret_cast(&Domain), *reinterpret_cast(&Path)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DeleteAllCookies() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeleteAllCookies(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetCookiesAsync(void* uri, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().GetCookiesAsync(*reinterpret_cast(&uri))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TreatAsSecure(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TreatAsSecure()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TreatAsSecure(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TreatAsSecure(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasAuthorityComponent(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasAuthorityComponent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HasAuthorityComponent(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HasAuthorityComponent(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NavigationId(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ParameterObjectAsJson(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ParameterObjectAsJson()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SessionId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SessionId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_DevToolsProtocolEventReceived(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DevToolsProtocolEventReceived(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DevToolsProtocolEventReceived(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DevToolsProtocolEventReceived(*reinterpret_cast(&token)); return 0; } }; #endif template struct produce : produce_base { int32_t __stdcall WrapNamedObject(void* name, void* adapter, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().WrapNamedObject(*reinterpret_cast(&name), *reinterpret_cast(&adapter))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall WrapObject(void* unwrapped, void* adapter, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().WrapObject(*reinterpret_cast(&unwrapped), *reinterpret_cast(&adapter))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UnwrapObject(void* wrapped, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().UnwrapObject(*reinterpret_cast(&wrapped))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Clean() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Clean(); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentDisposition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentDisposition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MimeType(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MimeType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TotalBytesToReceive(int64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TotalBytesToReceive()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BytesReceived(int64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BytesReceived()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EstimatedEndTime(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EstimatedEndTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ResultFilePath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ResultFilePath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_State(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().State()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InterruptReason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InterruptReason()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanResume(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanResume()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_BytesReceivedChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BytesReceivedChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BytesReceivedChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BytesReceivedChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_EstimatedEndTimeChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().EstimatedEndTimeChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_EstimatedEndTimeChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().EstimatedEndTimeChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_StateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().StateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_StateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().StateChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall Cancel() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Pause() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Resume() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Resume(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DownloadOperation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DownloadOperation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ResultFilePath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ResultFilePath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ResultFilePath(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ResultFilePath(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BrowserVersionString(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BrowserVersionString()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_NewBrowserVersionAvailable(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NewBrowserVersionAvailable(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NewBrowserVersionAvailable(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NewBrowserVersionAvailable(*reinterpret_cast(&token)); return 0; } int32_t __stdcall CreateCoreWebView2ControllerAsync(void* ParentWindow, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateCoreWebView2ControllerAsync(*reinterpret_cast(&ParentWindow))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateWebResourceResponse(void* Content, int32_t StatusCode, void* ReasonPhrase, void* Headers, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateWebResourceResponse(*reinterpret_cast(&Content), StatusCode, *reinterpret_cast(&ReasonPhrase), *reinterpret_cast(&Headers))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateCoreWebView2ControllerOptions(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateCoreWebView2ControllerOptions()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FailureReportFolderPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FailureReportFolderPath()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateSharedBuffer(uint64_t Size, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateSharedBuffer(Size)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateWebResourceRequest(void* uri, void* Method, void* postData, void* Headers, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateWebResourceRequest(*reinterpret_cast(&uri), *reinterpret_cast(&Method), *reinterpret_cast(&postData), *reinterpret_cast(&Headers))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateCoreWebView2CompositionControllerAsync(void* ParentWindow, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateCoreWebView2CompositionControllerAsync(*reinterpret_cast(&ParentWindow))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateCoreWebView2PointerInfo(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateCoreWebView2PointerInfo()); 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 add_BrowserProcessExited(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BrowserProcessExited(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BrowserProcessExited(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BrowserProcessExited(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreatePrintSettings(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreatePrintSettings()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_UserDataFolder(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UserDataFolder()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_ProcessInfosChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ProcessInfosChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ProcessInfosChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ProcessInfosChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall GetProcessInfos(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetProcessInfos()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateContextMenuItem(void* Label, void* iconStream, int32_t Kind, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateContextMenuItem(*reinterpret_cast(&Label), *reinterpret_cast(&iconStream), *reinterpret_cast(&Kind))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AdditionalBrowserArguments(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AdditionalBrowserArguments()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AdditionalBrowserArguments(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AdditionalBrowserArguments(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Language(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Language()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Language(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Language(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TargetCompatibleBrowserVersion(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetCompatibleBrowserVersion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetCompatibleBrowserVersion(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetCompatibleBrowserVersion(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowSingleSignOnUsingOSPrimaryAccount(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowSingleSignOnUsingOSPrimaryAccount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowSingleSignOnUsingOSPrimaryAccount(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowSingleSignOnUsingOSPrimaryAccount(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ExclusiveUserDataFolderAccess(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExclusiveUserDataFolderAccess()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExclusiveUserDataFolderAccess(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExclusiveUserDataFolderAccess(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsCustomCrashReportingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCustomCrashReportingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsCustomCrashReportingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsCustomCrashReportingEnabled(value); 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_EnableTrackingPrevention(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableTrackingPrevention()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableTrackingPrevention(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableTrackingPrevention(value); 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 CreateAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateWithOptionsAsync(void* browserExecutableFolder, void* userDataFolder, void* options, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateWithOptionsAsync(*reinterpret_cast(&browserExecutableFolder), *reinterpret_cast(&userDataFolder), *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAvailableBrowserVersionString(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAvailableBrowserVersionString()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAvailableBrowserVersionString2(void* browserExecutableFolder, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAvailableBrowserVersionString(*reinterpret_cast(&browserExecutableFolder))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CompareBrowserVersionString(void* browserVersionString1, void* browserVersionString2, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CompareBrowserVersionString(*reinterpret_cast(&browserVersionString1), *reinterpret_cast(&browserVersionString2))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateCoreWebView2ControllerAsync(void* ParentWindow, void* options, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateCoreWebView2ControllerAsync(*reinterpret_cast(&ParentWindow), *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateCoreWebView2CompositionControllerAsync(void* ParentWindow, void* options, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateCoreWebView2CompositionControllerAsync(*reinterpret_cast(&ParentWindow), *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Path(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Path()); 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 add_NameChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NameChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NameChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NameChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Destroyed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Destroyed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Destroyed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Destroyed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall RemoveHostObjectFromScript(void* name) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveHostObjectFromScript(*reinterpret_cast(&name)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsDestroyed(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsDestroyed()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_NavigationStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ContentLoading(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContentLoading(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContentLoading(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContentLoading(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_NavigationCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DOMContentLoaded(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DOMContentLoaded(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DOMContentLoaded(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DOMContentLoaded(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_WebMessageReceived(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().WebMessageReceived(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_WebMessageReceived(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().WebMessageReceived(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ExecuteScriptAsync(void* javaScript, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ExecuteScriptAsync(*reinterpret_cast(&javaScript))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PostWebMessageAsJson(void* webMessageAsJson) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PostWebMessageAsJson(*reinterpret_cast(&webMessageAsJson)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PostWebMessageAsString(void* webMessageAsString) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PostWebMessageAsString(*reinterpret_cast(&webMessageAsString)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_PermissionRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PermissionRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PermissionRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PermissionRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall PostSharedBufferToScript(void* sharedBuffer, int32_t access, void* additionalDataAsJson) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PostSharedBufferToScript(*reinterpret_cast(&sharedBuffer), *reinterpret_cast(&access), *reinterpret_cast(&additionalDataAsJson)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Frame(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Frame()); 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 get_Source(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Source()); 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 GetHeader(void* name, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHeader(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHeaders(void* name, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHeaders(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Contains(void* name, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Contains(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetHeader(void* name, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetHeader(*reinterpret_cast(&name), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveHeader(void* name) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveHeader(*reinterpret_cast(&name)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall AppendHeader(void* name, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AppendHeader(*reinterpret_cast(&name), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Contains(void* name, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Contains(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHeader(void* name, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHeader(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHeaders(void* name, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHeaders(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InitiatingOrigin(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InitiatingOrigin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsUserInitiated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsUserInitiated()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Reason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Reason()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsSuccess(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSuccess()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WebErrorStatus(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WebErrorStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NavigationId(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HttpStatusCode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HttpStatusCode()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsUserInitiated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsUserInitiated()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRedirected(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRedirected()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequestHeaders(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestHeaders()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NavigationId(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AdditionalAllowedFrameAncestors(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AdditionalAllowedFrameAncestors()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AdditionalAllowedFrameAncestors(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AdditionalAllowedFrameAncestors(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NavigationKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigationKind()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewWindow(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewWindow()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NewWindow(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NewWindow(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsUserInitiated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsUserInitiated()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WindowFeatures(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WindowFeatures()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PermissionKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PermissionKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsUserInitiated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsUserInitiated()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_State(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().State()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_State(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().State(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SavesInProfile(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SavesInProfile()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SavesInProfile(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SavesInProfile(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PermissionKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PermissionKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PermissionOrigin(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PermissionOrigin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PermissionState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PermissionState()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerKind(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerKind(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerKind(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerId(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerId(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerId(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FrameId(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FrameId(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FrameId(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerFlags(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerFlags()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerFlags(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerFlags(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerDeviceRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerDeviceRect(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerDeviceRect(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisplayRect(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayRect(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PixelLocation(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PixelLocation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PixelLocation(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PixelLocation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HimetricLocation(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HimetricLocation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HimetricLocation(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HimetricLocation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PixelLocationRaw(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PixelLocationRaw()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PixelLocationRaw(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PixelLocationRaw(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HimetricLocationRaw(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HimetricLocationRaw()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HimetricLocationRaw(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HimetricLocationRaw(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Time(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Time()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Time(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Time(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HistoryCount(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HistoryCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HistoryCount(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HistoryCount(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputData(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputData()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InputData(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InputData(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyStates(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyStates()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyStates(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyStates(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PerformanceCount(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PerformanceCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PerformanceCount(uint64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PerformanceCount(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ButtonChangeKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ButtonChangeKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ButtonChangeKind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ButtonChangeKind(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenFlags(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenFlags()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenFlags(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenFlags(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenMask(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenMask()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenMask(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenMask(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenPressure(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenPressure()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenPressure(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenPressure(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenRotation(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenRotation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenRotation(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenRotation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenTiltX(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenTiltX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenTiltX(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenTiltX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PenTiltY(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PenTiltY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PenTiltY(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PenTiltY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TouchFlags(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TouchFlags()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TouchFlags(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TouchFlags(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TouchMask(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TouchMask()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TouchMask(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TouchMask(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TouchContact(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TouchContact()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TouchContact(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TouchContact(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TouchContactRaw(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TouchContactRaw()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TouchContactRaw(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TouchContactRaw(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TouchOrientation(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TouchOrientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TouchOrientation(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TouchOrientation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TouchPressure(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TouchPressure()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TouchPressure(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TouchPressure(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Orientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Orientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Orientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Orientation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleFactor(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleFactor(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleFactor(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PageWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PageWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PageHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PageHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PageHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MarginTop(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MarginTop()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MarginTop(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MarginTop(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MarginBottom(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MarginBottom()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MarginBottom(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MarginBottom(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MarginLeft(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MarginLeft()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MarginLeft(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MarginLeft(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MarginRight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MarginRight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MarginRight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MarginRight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldPrintBackgrounds(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldPrintBackgrounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShouldPrintBackgrounds(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShouldPrintBackgrounds(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldPrintSelectionOnly(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldPrintSelectionOnly()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShouldPrintSelectionOnly(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShouldPrintSelectionOnly(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldPrintHeaderAndFooter(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldPrintHeaderAndFooter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShouldPrintHeaderAndFooter(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShouldPrintHeaderAndFooter(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTitle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTitle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTitle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTitle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FooterUri(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FooterUri(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PageRanges(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PageRanges()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PageRanges(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PageRanges(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PagesPerSide(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PagesPerSide()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PagesPerSide(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PagesPerSide(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Copies(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Copies()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Copies(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Copies(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Collation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Collation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Collation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Collation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColorMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColorMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Duplex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Duplex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Duplex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Duplex(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MediaSize(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MediaSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MediaSize(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MediaSize(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrinterName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrinterName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PrinterName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrinterName(*reinterpret_cast(&value)); 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_IsBrowserHitTransparent(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBrowserHitTransparent()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ProcessFailedKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProcessFailedKind()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Reason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Reason()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitCode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExitCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProcessDescription(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProcessDescription()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FrameInfosForFailedProcess(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().FrameInfosForFailedProcess()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ProcessId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProcessId()); return 0; } catch (...) { return to_hresult(); } 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ProfileName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProfileName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInPrivateModeEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInPrivateModeEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProfilePath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProfilePath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultDownloadFolderPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultDownloadFolderPath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultDownloadFolderPath(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultDownloadFolderPath(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreferredColorScheme(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreferredColorScheme()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreferredColorScheme(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreferredColorScheme(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ClearBrowsingDataAsync(uint32_t dataKinds, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().ClearBrowsingDataAsync(*reinterpret_cast(&dataKinds))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PreferredTrackingPreventionLevel(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreferredTrackingPreventionLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreferredTrackingPreventionLevel(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreferredTrackingPreventionLevel(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall SetPermissionStateAsync(int32_t PermissionKind, void* origin, int32_t State, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().SetPermissionStateAsync(*reinterpret_cast(&PermissionKind), *reinterpret_cast(&origin), *reinterpret_cast(&State))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CookieManager(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CookieManager()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsPasswordAutosaveEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPasswordAutosaveEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPasswordAutosaveEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPasswordAutosaveEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGeneralAutofillEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGeneralAutofillEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsGeneralAutofillEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsGeneralAutofillEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } 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_Message(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Message()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ResultText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ResultText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ResultText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ResultText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Accept() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Accept(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ErrorStatus(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ErrorStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequestUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ServerCertificate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ServerCertificate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Action(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Action()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Action(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Action(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsScriptEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsScriptEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsScriptEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsScriptEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsWebMessageEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsWebMessageEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsWebMessageEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsWebMessageEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreDefaultScriptDialogsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreDefaultScriptDialogsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreDefaultScriptDialogsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreDefaultScriptDialogsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStatusBarEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStatusBarEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsStatusBarEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsStatusBarEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreDevToolsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreDevToolsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreDevToolsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreDevToolsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreDefaultContextMenusEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreDefaultContextMenusEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreDefaultContextMenusEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreDefaultContextMenusEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreHostObjectsAllowed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreHostObjectsAllowed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreHostObjectsAllowed(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreHostObjectsAllowed(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomControlEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomControlEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomControlEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomControlEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsBuiltInErrorPageEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBuiltInErrorPageEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsBuiltInErrorPageEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsBuiltInErrorPageEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_UserAgent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UserAgent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UserAgent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UserAgent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AreBrowserAcceleratorKeysEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreBrowserAcceleratorKeysEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreBrowserAcceleratorKeysEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreBrowserAcceleratorKeysEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsPasswordAutosaveEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPasswordAutosaveEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPasswordAutosaveEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPasswordAutosaveEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGeneralAutofillEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGeneralAutofillEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsGeneralAutofillEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsGeneralAutofillEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsPinchZoomEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPinchZoomEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPinchZoomEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPinchZoomEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsSwipeNavigationEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSwipeNavigationEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSwipeNavigationEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSwipeNavigationEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HiddenPdfToolbarItems(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HiddenPdfToolbarItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HiddenPdfToolbarItems(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HiddenPdfToolbarItems(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsReputationCheckingRequired(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsReputationCheckingRequired()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsReputationCheckingRequired(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsReputationCheckingRequired(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HostObjectDispatchAdapter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HostObjectDispatchAdapter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HostObjectDispatchAdapter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HostObjectDispatchAdapter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Size(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Size()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OpenStream(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().OpenStream()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Buffer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Buffer()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsNewDocument(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsNewDocument()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Source(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Source()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WebMessageAsJson(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WebMessageAsJson()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryGetWebMessageAsString(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryGetWebMessageAsString()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AdditionalObjects(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AdditionalObjects()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Uri(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Uri(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Method(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Method()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Method(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Method(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Content(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Content()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Content(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Content(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Headers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Headers()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Request(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Request()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Response(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Response()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Response(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Response(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ResourceContext(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ResourceContext()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Content(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Content()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Content(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Content(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Headers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Headers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StatusCode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StatusCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StatusCode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StatusCode(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReasonPhrase(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReasonPhrase()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ReasonPhrase(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ReasonPhrase(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Request(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Request()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Response(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Response()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Headers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Headers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StatusCode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StatusCode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReasonPhrase(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReasonPhrase()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetContentAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetContentAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HasPosition(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasSize(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Left(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Left()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Top(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Top()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Height(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Height()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Width(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Width()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldDisplayMenuBar(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldDisplayMenuBar()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldDisplayStatus(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldDisplayStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldDisplayToolbar(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldDisplayToolbar()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldDisplayScrollBars(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldDisplayScrollBars()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_BasicAuthenticationRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BasicAuthenticationRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BasicAuthenticationRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BasicAuthenticationRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_ContextMenuRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContextMenuRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContextMenuRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContextMenuRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall CallDevToolsProtocolMethodForSessionAsync(void* sessionId, void* methodName, void* parametersAsJson, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CallDevToolsProtocolMethodForSessionAsync(*reinterpret_cast(&sessionId), *reinterpret_cast(&methodName), *reinterpret_cast(¶metersAsJson))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_StatusBarText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StatusBarText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_StatusBarTextChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().StatusBarTextChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_StatusBarTextChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().StatusBarTextChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Profile(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Profile()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_ServerCertificateErrorDetected(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ServerCertificateErrorDetected(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ServerCertificateErrorDetected(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ServerCertificateErrorDetected(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ClearServerCertificateErrorActionsAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().ClearServerCertificateErrorActionsAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FaviconUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FaviconUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_FaviconChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().FaviconChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_FaviconChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().FaviconChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall GetFaviconAsync(int32_t format, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetFaviconAsync(*reinterpret_cast(&format))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall PrintAsync(void* printSettings, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().PrintAsync(*reinterpret_cast(&printSettings))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ShowPrintUI(int32_t printDialogKind) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowPrintUI(*reinterpret_cast(&printDialogKind)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PrintToPdfStreamAsync(void* printSettings, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().PrintToPdfStreamAsync(*reinterpret_cast(&printSettings))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall PostSharedBufferToScript(void* sharedBuffer, int32_t access, void* additionalDataAsJson) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PostSharedBufferToScript(*reinterpret_cast(&sharedBuffer), *reinterpret_cast(&access), *reinterpret_cast(&additionalDataAsJson)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_LaunchingExternalUriScheme(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().LaunchingExternalUriScheme(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_LaunchingExternalUriScheme(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().LaunchingExternalUriScheme(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MemoryUsageTargetLevel(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MemoryUsageTargetLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MemoryUsageTargetLevel(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MemoryUsageTargetLevel(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CookieManager(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CookieManager()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Environment(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Environment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_WebResourceResponseReceived(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().WebResourceResponseReceived(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_WebResourceResponseReceived(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().WebResourceResponseReceived(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DOMContentLoaded(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DOMContentLoaded(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DOMContentLoaded(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DOMContentLoaded(*reinterpret_cast(&token)); return 0; } int32_t __stdcall NavigateWithWebResourceRequest(void* Request) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NavigateWithWebResourceRequest(*reinterpret_cast(&Request)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsSuspended(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSuspended()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySuspendAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySuspendAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Resume() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Resume(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetVirtualHostNameToFolderMapping(void* hostName, void* folderPath, int32_t accessKind) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetVirtualHostNameToFolderMapping(*reinterpret_cast(&hostName), *reinterpret_cast(&folderPath), *reinterpret_cast(&accessKind)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ClearVirtualHostNameToFolderMapping(void* hostName) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClearVirtualHostNameToFolderMapping(*reinterpret_cast(&hostName)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_FrameCreated(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().FrameCreated(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_FrameCreated(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().FrameCreated(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DownloadStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DownloadStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DownloadStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DownloadStarting(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_ClientCertificateRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ClientCertificateRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ClientCertificateRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ClientCertificateRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall OpenTaskManagerWindow() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenTaskManagerWindow(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall PrintToPdfAsync(void* ResultFilePath, void* printSettings, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().PrintToPdfAsync(*reinterpret_cast(&ResultFilePath), *reinterpret_cast(&printSettings))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsMuted(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsMuted()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsMuted(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsMuted(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsDocumentPlayingAudio(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDocumentPlayingAudio()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_IsMutedChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsMutedChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsMutedChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsMutedChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_IsDocumentPlayingAudioChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsDocumentPlayingAudioChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsDocumentPlayingAudioChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsDocumentPlayingAudioChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsDefaultDownloadDialogOpen(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultDownloadDialogOpen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultDownloadDialogCornerAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultDownloadDialogCornerAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultDownloadDialogCornerAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultDownloadDialogCornerAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultDownloadDialogMargin(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultDownloadDialogMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultDownloadDialogMargin(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultDownloadDialogMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_IsDefaultDownloadDialogOpenChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsDefaultDownloadDialogOpenChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsDefaultDownloadDialogOpenChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsDefaultDownloadDialogOpenChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall OpenDefaultDownloadDialog() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenDefaultDownloadDialog(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CloseDefaultDownloadDialog() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseDefaultDownloadDialog(); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Microsoft::Web::WebView2::Core { constexpr auto operator|(CoreWebView2BrowsingDataKinds const left, CoreWebView2BrowsingDataKinds const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(CoreWebView2BrowsingDataKinds& left, CoreWebView2BrowsingDataKinds const right) noexcept { left = left | right; return left; } constexpr auto operator&(CoreWebView2BrowsingDataKinds const left, CoreWebView2BrowsingDataKinds const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(CoreWebView2BrowsingDataKinds& left, CoreWebView2BrowsingDataKinds const right) noexcept { left = left & right; return left; } constexpr auto operator~(CoreWebView2BrowsingDataKinds const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(CoreWebView2BrowsingDataKinds const left, CoreWebView2BrowsingDataKinds const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(CoreWebView2BrowsingDataKinds& left, CoreWebView2BrowsingDataKinds const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(CoreWebView2MouseEventVirtualKeys const left, CoreWebView2MouseEventVirtualKeys const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(CoreWebView2MouseEventVirtualKeys& left, CoreWebView2MouseEventVirtualKeys const right) noexcept { left = left | right; return left; } constexpr auto operator&(CoreWebView2MouseEventVirtualKeys const left, CoreWebView2MouseEventVirtualKeys const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(CoreWebView2MouseEventVirtualKeys& left, CoreWebView2MouseEventVirtualKeys const right) noexcept { left = left & right; return left; } constexpr auto operator~(CoreWebView2MouseEventVirtualKeys const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(CoreWebView2MouseEventVirtualKeys const left, CoreWebView2MouseEventVirtualKeys const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(CoreWebView2MouseEventVirtualKeys& left, CoreWebView2MouseEventVirtualKeys const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(CoreWebView2PdfToolbarItems const left, CoreWebView2PdfToolbarItems const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(CoreWebView2PdfToolbarItems& left, CoreWebView2PdfToolbarItems const right) noexcept { left = left | right; return left; } constexpr auto operator&(CoreWebView2PdfToolbarItems const left, CoreWebView2PdfToolbarItems const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(CoreWebView2PdfToolbarItems& left, CoreWebView2PdfToolbarItems const right) noexcept { left = left & right; return left; } constexpr auto operator~(CoreWebView2PdfToolbarItems const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(CoreWebView2PdfToolbarItems const left, CoreWebView2PdfToolbarItems const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(CoreWebView2PdfToolbarItems& left, CoreWebView2PdfToolbarItems const right) noexcept { left = left ^ right; return left; } inline auto CoreWebView2ControllerWindowReference::CreateFromWindowHandle(uint64_t windowHandle) { return impl::call_factory([&](ICoreWebView2ControllerWindowReferenceStatics const& f) { return f.CreateFromWindowHandle(windowHandle); }); } inline auto CoreWebView2ControllerWindowReference::CreateFromCoreWindow(winrt::Windows::UI::Core::CoreWindow const& coreWindow) { return impl::call_factory([&](ICoreWebView2ControllerWindowReferenceStatics const& f) { return f.CreateFromCoreWindow(coreWindow); }); } inline auto CoreWebView2Environment::CreateAsync() { return impl::call_factory_cast(*)(ICoreWebView2EnvironmentStatics const&), CoreWebView2Environment, ICoreWebView2EnvironmentStatics>([](ICoreWebView2EnvironmentStatics const& f) { return f.CreateAsync(); }); } inline auto CoreWebView2Environment::CreateWithOptionsAsync(param::hstring const& browserExecutableFolder, param::hstring const& userDataFolder, winrt::Microsoft::Web::WebView2::Core::CoreWebView2EnvironmentOptions const& options) { return impl::call_factory([&](ICoreWebView2EnvironmentStatics const& f) { return f.CreateWithOptionsAsync(browserExecutableFolder, userDataFolder, options); }); } inline auto CoreWebView2Environment::GetAvailableBrowserVersionString() { return impl::call_factory_cast([](ICoreWebView2EnvironmentStatics const& f) { return f.GetAvailableBrowserVersionString(); }); } inline auto CoreWebView2Environment::GetAvailableBrowserVersionString(param::hstring const& browserExecutableFolder) { return impl::call_factory([&](ICoreWebView2EnvironmentStatics const& f) { return f.GetAvailableBrowserVersionString(browserExecutableFolder); }); } inline auto CoreWebView2Environment::CompareBrowserVersionString(param::hstring const& browserVersionString1, param::hstring const& browserVersionString2) { return impl::call_factory([&](ICoreWebView2EnvironmentStatics const& f) { return f.CompareBrowserVersionString(browserVersionString1, browserVersionString2); }); } inline CoreWebView2EnvironmentOptions::CoreWebView2EnvironmentOptions() : CoreWebView2EnvironmentOptions(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } } 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 {}; 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 {}; 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 {}; 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 {}; 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