From 9f8d186e42ff6c70d0217aa883002beab25d2049 Mon Sep 17 00:00:00 2001 From: jfcarroll Date: Mon, 30 Aug 2021 09:22:21 -0700 Subject: [PATCH] Updating the winrt headers After this C/L you must update your Windows SDK to 10.0.20348.0 in order to build on Visual Studio PiperOrigin-RevId: 393786833 --- .../winrt/Windows.AI.MachineLearning.h | 18 + .../winrt/Windows.ApplicationModel.Core.h | 21 + .../Windows.ApplicationModel.DataTransfer.h | 98 +- .../Windows.ApplicationModel.Resources.h | 25 + .../winrt/Windows.ApplicationModel.h | 44 + .../winrt/Windows.Devices.Geolocation.h | 35 + .../winrt/Windows.Graphics.Capture.h | 102 ++ .../winrt/Windows.Graphics.Display.h | 35 + .../winrt/Windows.Graphics.Holographic.h | 52 + .../generated/winrt/Windows.Media.Audio.h | 25 + .../generated/winrt/Windows.Media.Core.h | 269 +++++ .../generated/winrt/Windows.Media.Devices.h | 305 ++++++ .../Windows.Networking.NetworkOperators.h | 385 +++++++ .../generated/winrt/Windows.Networking.Vpn.h | 51 + .../winrt/Windows.Security.Isolation.h | 250 +++++ .../winrt/Windows.Storage.Provider.h | 394 ++++++++ .../windows/generated/winrt/Windows.Storage.h | 117 +++ .../winrt/Windows.System.Diagnostics.h | 41 + .../generated/winrt/Windows.System.Profile.h | 21 + .../windows/generated/winrt/Windows.System.h | 25 + .../generated/winrt/Windows.UI.Composition.h | 948 ++++++++++++++++++ .../generated/winrt/Windows.UI.Input.Inking.h | 18 + .../winrt/Windows.UI.WindowManagement.h | 26 + .../winrt/Windows.UI.Xaml.Controls.h | 234 ++++- .../winrt/impl/Windows.AI.MachineLearning.0.h | 20 + .../winrt/impl/Windows.AI.MachineLearning.1.h | 11 + .../winrt/impl/Windows.AI.MachineLearning.2.h | 2 +- .../winrt/impl/Windows.ApplicationModel.0.h | 48 + .../winrt/impl/Windows.ApplicationModel.1.h | 22 + .../winrt/impl/Windows.ApplicationModel.2.h | 2 +- .../impl/Windows.ApplicationModel.Core.0.h | 21 + .../impl/Windows.ApplicationModel.Core.1.h | 11 + .../impl/Windows.ApplicationModel.Core.2.h | 2 +- .../Windows.ApplicationModel.DataTransfer.0.h | 12 +- .../Windows.ApplicationModel.Resources.0.h | 20 + .../Windows.ApplicationModel.Resources.1.h | 11 + .../Windows.ApplicationModel.Resources.2.h | 1 + .../impl/Windows.Devices.Geolocation.0.h | 22 + .../impl/Windows.Devices.Geolocation.1.h | 11 + .../impl/Windows.Devices.Geolocation.2.h | 3 +- .../generated/winrt/impl/Windows.Graphics.0.h | 11 + .../generated/winrt/impl/Windows.Graphics.2.h | 12 + .../winrt/impl/Windows.Graphics.Capture.0.h | 82 ++ .../winrt/impl/Windows.Graphics.Capture.1.h | 33 + .../winrt/impl/Windows.Graphics.Capture.2.h | 10 +- .../winrt/impl/Windows.Graphics.Display.0.h | 46 + .../winrt/impl/Windows.Graphics.Display.1.h | 22 + .../winrt/impl/Windows.Graphics.Display.2.h | 10 + .../impl/Windows.Graphics.Holographic.0.h | 49 + .../impl/Windows.Graphics.Holographic.1.h | 22 + .../impl/Windows.Graphics.Holographic.2.h | 5 +- .../winrt/impl/Windows.Media.Audio.0.h | 20 + .../winrt/impl/Windows.Media.Audio.1.h | 11 + .../winrt/impl/Windows.Media.Audio.2.h | 1 + .../winrt/impl/Windows.Media.Capture.0.h | 5 + .../impl/Windows.Media.Capture.Frames.0.h | 1 + .../winrt/impl/Windows.Media.Core.0.h | 152 +++ .../winrt/impl/Windows.Media.Core.1.h | 33 + .../winrt/impl/Windows.Media.Core.2.h | 20 +- .../winrt/impl/Windows.Media.Devices.0.h | 134 +++ .../winrt/impl/Windows.Media.Devices.1.h | 44 + .../winrt/impl/Windows.Media.Devices.2.h | 30 +- .../winrt/impl/Windows.Media.Effects.0.h | 1 + .../impl/Windows.Networking.Connectivity.0.h | 4 + .../Windows.Networking.NetworkOperators.0.h | 220 ++++ .../Windows.Networking.NetworkOperators.1.h | 77 ++ .../Windows.Networking.NetworkOperators.2.h | 50 +- .../winrt/impl/Windows.Networking.Vpn.0.h | 26 + .../winrt/impl/Windows.Networking.Vpn.1.h | 11 + .../winrt/impl/Windows.Networking.Vpn.2.h | 2 +- .../winrt/impl/Windows.Security.Isolation.0.h | 162 +++ .../winrt/impl/Windows.Security.Isolation.1.h | 69 +- .../winrt/impl/Windows.Security.Isolation.2.h | 36 +- .../generated/winrt/impl/Windows.Storage.0.h | 113 +++ .../generated/winrt/impl/Windows.Storage.1.h | 55 + .../generated/winrt/impl/Windows.Storage.2.h | 33 +- .../winrt/impl/Windows.Storage.Provider.0.h | 218 ++++ .../winrt/impl/Windows.Storage.Provider.1.h | 88 ++ .../winrt/impl/Windows.Storage.Provider.2.h | 32 + .../generated/winrt/impl/Windows.System.0.h | 21 + .../generated/winrt/impl/Windows.System.1.h | 11 + .../generated/winrt/impl/Windows.System.2.h | 1 + .../winrt/impl/Windows.System.Diagnostics.0.h | 24 + .../winrt/impl/Windows.System.Diagnostics.1.h | 11 + .../winrt/impl/Windows.System.Diagnostics.2.h | 2 + .../winrt/impl/Windows.System.Profile.0.h | 20 + .../winrt/impl/Windows.System.Profile.1.h | 11 + .../winrt/impl/Windows.System.Profile.2.h | 3 +- .../generated/winrt/impl/Windows.UI.0.h | 11 + .../generated/winrt/impl/Windows.UI.2.h | 12 + .../winrt/impl/Windows.UI.Composition.0.h | 482 +++++++++ .../winrt/impl/Windows.UI.Composition.1.h | 187 ++++ .../winrt/impl/Windows.UI.Composition.2.h | 152 ++- .../impl/Windows.UI.Composition.Scenes.2.h | 2 +- .../winrt/impl/Windows.UI.Input.Inking.0.h | 20 + .../winrt/impl/Windows.UI.Input.Inking.1.h | 11 + .../winrt/impl/Windows.UI.Input.Inking.2.h | 3 +- .../impl/Windows.UI.ViewManagement.Core.0.h | 1 + .../impl/Windows.UI.WindowManagement.0.h | 24 + .../impl/Windows.UI.WindowManagement.1.h | 11 + .../impl/Windows.UI.WindowManagement.2.h | 5 + .../winrt/impl/Windows.UI.Xaml.Controls.0.h | 114 +++ .../winrt/impl/Windows.UI.Xaml.Controls.1.h | 44 + .../winrt/impl/Windows.UI.Xaml.Controls.2.h | 22 +- .../impl/Windows.UI.Xaml.Core.Direct.0.h | 2 + .../winrt/impl/Windows.UI.Xaml.Input.0.h | 1 + .../impl/windows/generated/winrt/winrt.ixx | 4 + 107 files changed, 6826 insertions(+), 94 deletions(-) diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.AI.MachineLearning.h b/cpp/platform/impl/windows/generated/winrt/Windows.AI.MachineLearning.h index f3af2fa9..8e81ae7f 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.AI.MachineLearning.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.AI.MachineLearning.h @@ -276,6 +276,10 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->put_CloseModelOnSessionCreation(value)); } + template WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3)->OverrideNamedDimension(*(void**)(&name), dimension)); + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_AI_MachineLearning_ILearningModelStatics::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const { void* operation{}; @@ -1351,6 +1355,19 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall OverrideNamedDimension(void* name, uint32_t dimension) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().OverrideNamedDimension(*reinterpret_cast(&name), dimension); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -2847,6 +2864,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Core.h b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Core.h index 15ce2c8c..c0e2dec3 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Core.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Core.h @@ -39,6 +39,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry3)->LaunchForUserAsync(*(void**)(&user), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_Core_IAppListEntry4::AppInfo() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry4)->get_AppInfo(&value)); + return winrt::Windows::ApplicationModel::AppInfo{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Core_ICoreApplication::Id() const { void* value{}; @@ -457,6 +463,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_AppInfo(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AppInfo()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1188,6 +1208,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h index 19debe49..300845ab 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h @@ -695,9 +695,9 @@ namespace winrt::impl } template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral) consume_Windows_ApplicationModel_DataTransfer_IDataRequest::GetDeferral() const { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->GetDeferral(&value)); - return winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral{ value, take_ownership_from_abi }; + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->GetDeferral(&result)); + return winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral::Complete() const { @@ -709,33 +709,33 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequestedEventArgs)->get_Request(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataRequest{ value, take_ownership_from_abi }; } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { - winrt::event_token eventCookie{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_DataRequested(*(void**)(&eventHandler), put_abi(eventCookie))); - return eventCookie; + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_DataRequested(*(void**)(&handler), put_abi(token))); + return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { - return impl::make_event_revoker(this, DataRequested(eventHandler)); + return impl::make_event_revoker(this, DataRequested(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::event_token const& eventCookie) const noexcept + template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::DataRequested(winrt::event_token const& token) const noexcept { - WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_DataRequested(impl::bind_in(eventCookie))); + WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_DataRequested(impl::bind_in(token))); } - template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const { - winrt::event_token eventCookie{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_TargetApplicationChosen(*(void**)(&eventHandler), put_abi(eventCookie))); - return eventCookie; + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_TargetApplicationChosen(*(void**)(&handler), put_abi(token))); + return token; } - template typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const + template typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { - return impl::make_event_revoker(this, TargetApplicationChosen(eventHandler)); + return impl::make_event_revoker(this, TargetApplicationChosen(handler)); } - template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::event_token const& eventCookie) const noexcept + template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager::TargetApplicationChosen(winrt::event_token const& token) const noexcept { - WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_TargetApplicationChosen(impl::bind_in(eventCookie))); + WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_TargetApplicationChosen(impl::bind_in(token))); } template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2::ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { @@ -757,15 +757,15 @@ namespace winrt::impl } template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics::GetForCurrentView() const { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics)->GetForCurrentView(&value)); - return winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager{ value, take_ownership_from_abi }; + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics)->GetForCurrentView(&result)); + return winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2::IsSupported() const { - bool value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2)->IsSupported(&value)); - return value; + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2)->IsSupported(&result)); + return result; } template WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics3::ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const { @@ -865,9 +865,9 @@ namespace winrt::impl } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs::GetDeferral() const { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->GetDeferral(&value)); - return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->GetDeferral(&result)); + return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo::AppUserModelId() const { @@ -2064,11 +2064,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall GetDeferral(void** value) noexcept final try + int32_t __stdcall GetDeferral(void** result) noexcept final try { - clear_abi(value); + clear_abi(result); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().GetDeferral()); + *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } @@ -2105,32 +2105,32 @@ namespace winrt::impl template struct produce : produce_base { - int32_t __stdcall add_DataRequested(void* eventHandler, winrt::event_token* eventCookie) noexcept final try + int32_t __stdcall add_DataRequested(void* handler, winrt::event_token* token) noexcept final try { - zero_abi(eventCookie); + zero_abi(token); typename D::abi_guard guard(this->shim()); - *eventCookie = detach_from(this->shim().DataRequested(*reinterpret_cast const*>(&eventHandler))); + *token = detach_from(this->shim().DataRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall remove_DataRequested(winrt::event_token eventCookie) noexcept final + int32_t __stdcall remove_DataRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); - this->shim().DataRequested(*reinterpret_cast(&eventCookie)); + this->shim().DataRequested(*reinterpret_cast(&token)); return 0; } - int32_t __stdcall add_TargetApplicationChosen(void* eventHandler, winrt::event_token* eventCookie) noexcept final try + int32_t __stdcall add_TargetApplicationChosen(void* handler, winrt::event_token* token) noexcept final try { - zero_abi(eventCookie); + zero_abi(token); typename D::abi_guard guard(this->shim()); - *eventCookie = detach_from(this->shim().TargetApplicationChosen(*reinterpret_cast const*>(&eventHandler))); + *token = detach_from(this->shim().TargetApplicationChosen(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall remove_TargetApplicationChosen(winrt::event_token eventCookie) noexcept final + int32_t __stdcall remove_TargetApplicationChosen(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); - this->shim().TargetApplicationChosen(*reinterpret_cast(&eventCookie)); + this->shim().TargetApplicationChosen(*reinterpret_cast(&token)); return 0; } }; @@ -2166,11 +2166,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall GetForCurrentView(void** value) noexcept final try + int32_t __stdcall GetForCurrentView(void** result) noexcept final try { - clear_abi(value); + clear_abi(result); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().GetForCurrentView()); + *result = detach_from(this->shim().GetForCurrentView()); return 0; } catch (...) { return to_hresult(); } @@ -2180,10 +2180,10 @@ namespace winrt::impl template struct produce : produce_base { - int32_t __stdcall IsSupported(bool* value) noexcept final try + int32_t __stdcall IsSupported(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().IsSupported()); + *result = detach_from(this->shim().IsSupported()); return 0; } catch (...) { return to_hresult(); } @@ -2373,11 +2373,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall GetDeferral(void** value) noexcept final try + int32_t __stdcall GetDeferral(void** result) noexcept final try { - clear_abi(value); + clear_abi(result); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().GetDeferral()); + *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Resources.h b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Resources.h index 0b9b996c..9cf00444 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Resources.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.Resources.h @@ -65,6 +65,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3)->GetForUIContext(*(void**)(&context), &result)); return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ result, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4::GetDefaultPriPath(param::hstring const& packageFullName) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4)->GetDefaultPriPath(*(void**)(&packageFullName), &value)); + return hstring{ value, take_ownership_from_abi }; + } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -173,6 +179,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall GetDefaultPriPath(void* packageFullName, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().GetDefaultPriPath(*reinterpret_cast(&packageFullName))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif } WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources { @@ -208,6 +228,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources { return impl::call_factory([&](IResourceLoaderStatics3 const& f) { return f.GetForUIContext(context); }); } + inline auto ResourceLoader::GetDefaultPriPath(param::hstring const& packageFullName) + { + return impl::call_factory([&](IResourceLoaderStatics4 const& f) { return f.GetDefaultPriPath(packageFullName); }); + } } namespace std { @@ -218,6 +242,7 @@ namespace std 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 } diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.h b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.h index bbb98531..37c91ce7 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.ApplicationModel.h @@ -63,6 +63,19 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo2)->get_Package(&value)); return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) consume_Windows_ApplicationModel_IAppInfo3::ExecutionContext() const + { + winrt::Windows::ApplicationModel::AppExecutionContext value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo3)->get_ExecutionContext(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(com_array) consume_Windows_ApplicationModel_IAppInfo4::SupportedFileExtensions() const + { + uint32_t value_impl_size{}; + void** value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo4)->get_SupportedFileExtensions(&value_impl_size, &value)); + return com_array{ value, value_impl_size, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics::Current() const { void* value{}; @@ -1123,6 +1136,34 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_ExecutionContext(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ExecutionContext()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_SupportedFileExtensions(uint32_t* __valueSize, void*** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + std::tie(*__valueSize, *value) = detach_abi(this->shim().SupportedFileExtensions()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { @@ -1151,6 +1192,7 @@ namespace winrt::impl } catch (...) { return to_hresult(); } }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -2774,6 +2816,8 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Devices.Geolocation.h b/cpp/platform/impl/windows/generated/winrt/Windows.Devices.Geolocation.h index d1192282..947055a8 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Devices.Geolocation.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Devices.Geolocation.h @@ -203,6 +203,18 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_VerticalDilutionOfPrecision(&ppValue)); return winrt::Windows::Foundation::IReference{ ppValue, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2::GeometricDilutionOfPrecision() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_GeometricDilutionOfPrecision(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2::TimeDilutionOfPrecision() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_TimeDilutionOfPrecision(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint::Point() const { void* value{}; @@ -821,6 +833,28 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_GeometricDilutionOfPrecision(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().GeometricDilutionOfPrecision()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TimeDilutionOfPrecision(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().TimeDilutionOfPrecision()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1482,6 +1516,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Capture.h b/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Capture.h index 1555fe83..58d2b8eb 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Capture.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Capture.h @@ -10,7 +10,9 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210505.3"), "Mismatche #include "winrt/impl/Windows.Graphics.2.h" #include "winrt/impl/Windows.Graphics.DirectX.2.h" #include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h" +#include "winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h" #include "winrt/impl/Windows.System.2.h" +#include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.Graphics.Capture.2.h" namespace winrt::impl @@ -81,6 +83,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2)->CreateFreeThreaded(*(void**)(&device), static_cast(pixelFormat), numberOfBuffers, impl::bind_in(size), &result)); return winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool{ result, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const + { + void* operation{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics)->RequestAccessAsync(static_cast(request), &operation)); + return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Capture_IGraphicsCaptureItem::DisplayName() const { void* value{}; @@ -113,6 +121,18 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics)->CreateFromVisual(*(void**)(&visual), &result)); return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2::TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2)->TryCreateFromWindowId(impl::bind_in(windowId), &result)); + return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2::TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2)->TryCreateFromDisplayId(impl::bind_in(displayId), &result)); + return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Graphics_Capture_IGraphicsCapturePicker::PickSingleItemAsync() const { void* operation{}; @@ -133,6 +153,16 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2)->put_IsCursorCaptureEnabled(value)); } + template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3::IsBorderRequired() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->get_IsBorderRequired(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3::IsBorderRequired(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->put_IsBorderRequired(value)); + } template WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics::IsSupported() const { bool result{}; @@ -248,6 +278,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall RequestAccessAsync(int32_t request, void** operation) noexcept final try + { + clear_abi(operation); + typename D::abi_guard guard(this->shim()); + *operation = detach_from>(this->shim().RequestAccessAsync(*reinterpret_cast(&request))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -298,6 +342,28 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall TryCreateFromWindowId(struct struct_Windows_UI_WindowId windowId, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().TryCreateFromWindowId(*reinterpret_cast(&windowId))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall TryCreateFromDisplayId(struct struct_Windows_Graphics_DisplayId displayId, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().TryCreateFromDisplayId(*reinterpret_cast(&displayId))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -345,6 +411,26 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsBorderRequired(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsBorderRequired()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IsBorderRequired(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IsBorderRequired(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -369,10 +455,22 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture { return impl::call_factory([&](IDirect3D11CaptureFramePoolStatics2 const& f) { return f.CreateFreeThreaded(device, pixelFormat, numberOfBuffers, size); }); } + inline auto GraphicsCaptureAccess::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) + { + return impl::call_factory([&](IGraphicsCaptureAccessStatics const& f) { return f.RequestAccessAsync(request); }); + } inline auto GraphicsCaptureItem::CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual) { return impl::call_factory([&](IGraphicsCaptureItemStatics const& f) { return f.CreateFromVisual(visual); }); } + inline auto GraphicsCaptureItem::TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) + { + return impl::call_factory([&](IGraphicsCaptureItemStatics2 const& f) { return f.TryCreateFromWindowId(windowId); }); + } + inline auto GraphicsCaptureItem::TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) + { + return impl::call_factory([&](IGraphicsCaptureItemStatics2 const& f) { return f.TryCreateFromDisplayId(displayId); }); + } inline GraphicsCapturePicker::GraphicsCapturePicker() : GraphicsCapturePicker(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { @@ -389,14 +487,18 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Display.h b/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Display.h index 4d5dc0ea..6b67de6d 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Display.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Display.h @@ -8,6 +8,7 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210505.3"), "Mismatche #include "winrt/Windows.Graphics.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Windows.Graphics.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Graphics.Display.2.h" namespace winrt::impl @@ -632,6 +633,13 @@ namespace winrt::impl { WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_DisplayContentsInvalidated(impl::bind_in(token))); } + template WINRT_IMPL_AUTO(com_array) consume_Windows_Graphics_Display_IDisplayServicesStatics::FindAll() const + { + uint32_t result_impl_size{}; + struct struct_Windows_Graphics_DisplayId* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayServicesStatics)->FindAll(&result_impl_size, &result)); + return com_array{ result, result_impl_size, take_ownership_from_abi }; + } template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} @@ -1480,6 +1488,26 @@ namespace winrt::impl } }; #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 FindAll(uint32_t* __resultSize, struct struct_Windows_Graphics_DisplayId** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + std::tie(*__resultSize, *result) = detach_abi(this->shim().FindAll()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif } WINRT_EXPORT namespace winrt::Windows::Graphics::Display { @@ -1699,6 +1727,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display { impl::call_factory([&](IDisplayPropertiesStatics const& f) { return f.DisplayContentsInvalidated(token); }); } + inline auto DisplayServices::FindAll() + { + return impl::call_factory_cast(*)(IDisplayServicesStatics const&), DisplayServices, IDisplayServicesStatics>([](IDisplayServicesStatics const& f) { return f.FindAll(); }); + } template DisplayPropertiesEventHandler::DisplayPropertiesEventHandler(L handler) : DisplayPropertiesEventHandler(impl::make_delegate(std::forward(handler))) { @@ -1745,6 +1777,8 @@ namespace std 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 {}; @@ -1754,6 +1788,7 @@ namespace std 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 } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Holographic.h b/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Holographic.h index 356a46dd..4becf602 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Holographic.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Graphics.Holographic.h @@ -229,6 +229,16 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3)->put_IsContentProtectionEnabled(value)); } + template WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4::DepthReprojectionMethod() const + { + winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->get_DepthReprojectionMethod(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4::DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->put_DepthReprojectionMethod(static_cast(value))); + } template WINRT_IMPL_AUTO(com_array) consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters::HiddenAreaMesh() const { uint32_t value_impl_size{}; @@ -743,6 +753,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->put_IsEnabled(value)); } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2::SupportedDepthReprojectionMethods() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2)->get_SupportedDepthReprojectionMethods(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1103,6 +1119,26 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_DepthReprojectionMethod(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DepthReprojectionMethod()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_DepthReprojectionMethod(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().DepthReprojectionMethod(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1929,6 +1965,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_SupportedDepthReprojectionMethods(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().SupportedDepthReprojectionMethods()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif } WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic { @@ -1988,6 +2038,7 @@ namespace std 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 {}; @@ -2015,6 +2066,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Media.Audio.h b/cpp/platform/impl/windows/generated/winrt/Windows.Media.Audio.h index abf59c1c..ed4ea33b 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Media.Audio.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Media.Audio.h @@ -1612,6 +1612,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_DTSXUltra(&value)); return hstring{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2::DTSXForHomeTheater() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2)->get_DTSXForHomeTheater(&value)); + return hstring{ value, take_ownership_from_abi }; + } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -4116,6 +4122,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_DTSXForHomeTheater(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DTSXForHomeTheater()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif } WINRT_EXPORT namespace winrt::Windows::Media::Audio { @@ -4274,6 +4294,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio { return impl::call_factory_cast([](ISpatialAudioFormatSubtypeStatics const& f) { return f.DTSXUltra(); }); } + inline auto SpatialAudioFormatSubtype::DTSXForHomeTheater() + { + return impl::call_factory_cast([](ISpatialAudioFormatSubtypeStatics2 const& f) { return f.DTSXForHomeTheater(); }); + } } namespace std { @@ -4342,6 +4366,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Media.Core.h b/cpp/platform/impl/windows/generated/winrt/Windows.Media.Core.h index 8ee174bf..ea03f113 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Media.Core.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Media.Core.h @@ -2008,6 +2008,36 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackProvider)->get_TimedMetadataTracks(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenType) consume_Windows_Media_Core_ITimedTextBouten::Type() const + { + winrt::Windows::Media::Core::TimedTextBoutenType value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Type(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten::Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Type(static_cast(value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextBouten::Color() const + { + winrt::Windows::UI::Color value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Color(put_abi(value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten::Color(winrt::Windows::UI::Color const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Color(impl::bind_in(value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenPosition) consume_Windows_Media_Core_ITimedTextBouten::Position() const + { + winrt::Windows::Media::Core::TimedTextBoutenPosition value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Position(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten::Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Position(static_cast(value))); + } template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRegion) consume_Windows_Media_Core_ITimedTextCue::CueRegion() const { void* value{}; @@ -2170,6 +2200,46 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_ScrollMode(static_cast(value))); } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextRuby::Text() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Text(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Text(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Text(*(void**)(&value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyPosition) consume_Windows_Media_Core_ITimedTextRuby::Position() const + { + winrt::Windows::Media::Core::TimedTextRubyPosition value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Position(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Position(static_cast(value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyAlign) consume_Windows_Media_Core_ITimedTextRuby::Align() const + { + winrt::Windows::Media::Core::TimedTextRubyAlign value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Align(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Align(static_cast(value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyReserve) consume_Windows_Media_Core_ITimedTextRuby::Reserve() const + { + winrt::Windows::Media::Core::TimedTextRubyReserve value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Reserve(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby::Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Reserve(static_cast(value))); + } template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedTextSource::Resolved(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; @@ -2404,6 +2474,38 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsOverlineEnabled(value)); } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRuby) consume_Windows_Media_Core_ITimedTextStyle3::Ruby() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_Ruby(&value)); + return winrt::Windows::Media::Core::TimedTextRuby{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBouten) consume_Windows_Media_Core_ITimedTextStyle3::Bouten() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_Bouten(&value)); + return winrt::Windows::Media::Core::TimedTextBouten{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle3::IsTextCombined() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_IsTextCombined(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3::IsTextCombined(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_IsTextCombined(value)); + } + template WINRT_IMPL_AUTO(double) consume_Windows_Media_Core_ITimedTextStyle3::FontAngleInDegrees() const + { + double value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_FontAngleInDegrees(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3::FontAngleInDegrees(double value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_FontAngleInDegrees(value)); + } template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextSubformat::StartIndex() const { int32_t value{}; @@ -5650,6 +5752,55 @@ namespace winrt::impl } catch (...) { return to_hresult(); } }; +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Type(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Type()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Type(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Type(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Color(struct struct_Windows_UI_Color* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Color()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Color(struct struct_Windows_UI_Color value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Color(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Position(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Position()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Position(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Position(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -5903,6 +6054,69 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Text(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Text()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Text(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Text(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Position(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Position()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Position(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Position(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Align(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Align()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Align(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Align(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Reserve(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Reserve()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Reserve(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Reserve(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -6265,6 +6479,56 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Ruby(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Ruby()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Bouten(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Bouten()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsTextCombined(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsTextCombined()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IsTextCombined(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IsTextCombined(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FontAngleInDegrees(double* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().FontAngleInDegrees()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_FontAngleInDegrees(double value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().FontAngleInDegrees(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -6987,15 +7251,18 @@ namespace std 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 {}; @@ -7060,9 +7327,11 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Media.Devices.h b/cpp/platform/impl/windows/generated/winrt/Windows.Media.Devices.h index adb55634..b042f0b7 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Media.Devices.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Media.Devices.h @@ -234,6 +234,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8)->get_PanelBasedOptimizationControl(&value)); return winrt::Windows::Media::Devices::PanelBasedOptimizationControl{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9::DigitalWindowControl() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9)->get_DigitalWindowControl(&value)); + return winrt::Windows::Media::Devices::DigitalWindowControl{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceController::Muted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->put_Muted(value)); @@ -478,6 +484,117 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDialRequestedEventArgs)->get_Contact(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginTop() const + { + double value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginTop(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginTop(double value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginTop(value)); + } + template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginLeft() const + { + double value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginLeft(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds::NormalizedOriginLeft(double value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginLeft(value)); + } + template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds::Scale() const + { + double value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_Scale(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds::Scale(double value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_Scale(value)); + } + template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability::Width() const + { + int32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Width(&value)); + return value; + } + template WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability::Height() const + { + int32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Height(&value)); + return value; + } + template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability::MinScaleValue() const + { + double value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValue(&value)); + return value; + } + template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability::MaxScaleValue() const + { + double value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MaxScaleValue(&value)); + return value; + } + template WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability::MinScaleValueWithoutUpsampling() const + { + double value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValueWithoutUpsampling(&value)); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Devices_IDigitalWindowCapability::NormalizedFieldOfViewLimit() const + { + winrt::Windows::Foundation::Rect value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_NormalizedFieldOfViewLimit(put_abi(value))); + return value; + } + template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IDigitalWindowControl::IsSupported() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_IsSupported(&value)); + return value; + } + template WINRT_IMPL_AUTO(com_array) consume_Windows_Media_Devices_IDigitalWindowControl::SupportedModes() const + { + uint32_t value_impl_size{}; + int32_t* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_SupportedModes(&value_impl_size, &value)); + return com_array{ value, value_impl_size, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowMode) consume_Windows_Media_Devices_IDigitalWindowControl::CurrentMode() const + { + winrt::Windows::Media::Devices::DigitalWindowMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_CurrentMode(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowBounds) consume_Windows_Media_Devices_IDigitalWindowControl::GetBounds() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->GetBounds(&result)); + return winrt::Windows::Media::Devices::DigitalWindowBounds{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->Configure(static_cast(digitalWindowMode))); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->ConfigureWithBounds(static_cast(digitalWindowMode), *(void**)(&digitalWindowBounds))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Media_Devices_IDigitalWindowControl::SupportedCapabilities() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_SupportedCapabilities(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowCapability) consume_Windows_Media_Devices_IDigitalWindowControl::GetCapabilityForSize(int32_t width, int32_t height) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->GetCapabilityForSize(width, height, &result)); + return winrt::Windows::Media::Devices::DigitalWindowCapability{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureCompensationControl::Supported() const { bool value{}; @@ -2124,6 +2241,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_DigitalWindowControl(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DigitalWindowControl()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -2468,6 +2599,169 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_NormalizedOriginTop(double* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().NormalizedOriginTop()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_NormalizedOriginTop(double value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().NormalizedOriginTop(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_NormalizedOriginLeft(double* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().NormalizedOriginLeft()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_NormalizedOriginLeft(double value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().NormalizedOriginLeft(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Scale(double* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Scale()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Scale(double value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Scale(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Width(int32_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_Height(int32_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_MinScaleValue(double* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MinScaleValue()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MaxScaleValue(double* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MaxScaleValue()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MinScaleValueWithoutUpsampling(double* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MinScaleValueWithoutUpsampling()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_NormalizedFieldOfViewLimit(winrt::Windows::Foundation::Rect* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().NormalizedFieldOfViewLimit()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsSupported(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsSupported()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_SupportedModes(uint32_t* __valueSize, int32_t** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + std::tie(*__valueSize, *value) = detach_abi(this->shim().SupportedModes()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_CurrentMode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CurrentMode()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetBounds(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetBounds()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall Configure(int32_t digitalWindowMode) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Configure(*reinterpret_cast(&digitalWindowMode)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConfigureWithBounds(int32_t digitalWindowMode, void* digitalWindowBounds) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Configure(*reinterpret_cast(&digitalWindowMode), *reinterpret_cast(&digitalWindowBounds)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_SupportedCapabilities(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().SupportedCapabilities()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetCapabilityForSize(int32_t width, int32_t height, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetCapabilityForSize(width, height)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -4317,6 +4611,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices { return impl::call_factory([&](ICallControlStatics const& f) { return f.FromId(deviceId); }); } + inline DigitalWindowBounds::DigitalWindowBounds() : + DigitalWindowBounds(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } inline FocusSettings::FocusSettings() : FocusSettings(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { @@ -4485,6 +4783,7 @@ namespace std 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 {}; @@ -4494,6 +4793,9 @@ namespace std 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 {}; @@ -4540,6 +4842,9 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Networking.NetworkOperators.h b/cpp/platform/impl/windows/generated/winrt/Windows.Networking.NetworkOperators.h index 75b952a6..ade0ffd9 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Networking.NetworkOperators.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Networking.NetworkOperators.h @@ -981,6 +981,60 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TrackingAreaCode(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::CellId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_CellId(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ChannelNumber() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ChannelNumber(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::PhysicalCellId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_PhysicalCellId(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ProviderId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ProviderId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedPowerInDBm() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedPowerInDBm(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::ReferenceSignalReceivedQualityInDBm() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedQualityInDBm(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TimingAdvanceInNanoseconds() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TimingAdvanceInNanoseconds(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::TrackingAreaCode() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TrackingAreaCode(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR::SignalToNoiseRatioInDB() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_SignalToNoiseRatioInDB(&value)); + return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma::CellId() const { void* value{}; @@ -1137,6 +1191,24 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsUmts(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::NeighboringCellsNR() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_NeighboringCellsNR(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2::ServingCellsNR() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_ServingCellsNR(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs::CurrentSlotIndex() const + { + int32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs)->get_CurrentSlotIndex(&value)); + return value; + } template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation::NetworkDeviceStatus() const { winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus value{}; @@ -1257,6 +1329,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimGid1(&value)); return hstring{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4::SlotManager() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4)->get_SlotManager(&value)); + return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService::DeviceServiceId() const { winrt::guid value{}; @@ -1885,6 +1963,76 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StopTransmissionStateMonitoring()); } + template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::Index() const + { + int32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_Index(&value)); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo::State() const + { + winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_State(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs::SlotInfo() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs)->get_SlotInfo(&value)); + return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfos() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_SlotInfos(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndex() const + { + int32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_CurrentSlotIndex(&value)); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlot(int32_t slotIndex) const + { + winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlot(slotIndex, reinterpret_cast(&result))); + return result; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SetCurrentSlotAsync(int32_t slotIndex) const + { + void* operation{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlotAsync(slotIndex, &operation)); + return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_SlotInfoChanged(*(void**)(&handler), put_abi(token))); + return token; + } + template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, SlotInfoChanged(handler)); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::SlotInfoChanged(winrt::event_token const& token) const noexcept + { + WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_SlotInfoChanged(impl::bind_in(token))); + } + template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_CurrentSlotIndexChanged(*(void**)(&handler), put_abi(token))); + return token; + } + template typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, CurrentSlotIndexChanged(handler)); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager::CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept + { + WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_CurrentSlotIndexChanged(impl::bind_in(token))); + } template WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs::IsTransmitting() const { bool value{}; @@ -3770,6 +3918,84 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_CellId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().CellId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ChannelNumber(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().ChannelNumber()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PhysicalCellId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().PhysicalCellId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ProviderId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ProviderId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().ReferenceSignalReceivedPowerInDBm()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().ReferenceSignalReceivedQualityInDBm()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TimingAdvanceInNanoseconds(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().TimingAdvanceInNanoseconds()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TrackingAreaCode(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().TrackingAreaCode()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_SignalToNoiseRatioInDB(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().SignalToNoiseRatioInDB()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -3996,6 +4222,41 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_NeighboringCellsNR(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().NeighboringCellsNR()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ServingCellsNR(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().ServingCellsNR()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_CurrentSlotIndex(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CurrentSlotIndex()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -4169,6 +4430,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_SlotManager(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SlotManager()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -5153,6 +5428,104 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Index(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Index()); + 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(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_SlotInfo(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SlotInfo()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_SlotInfos(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().SlotInfos()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_CurrentSlotIndex(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CurrentSlotIndex()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SetCurrentSlot(int32_t slotIndex, int32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SetCurrentSlot(slotIndex)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SetCurrentSlotAsync(int32_t slotIndex, void** operation) noexcept final try + { + clear_abi(operation); + typename D::abi_guard guard(this->shim()); + *operation = detach_from>(this->shim().SetCurrentSlotAsync(slotIndex)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall add_SlotInfoChanged(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().SlotInfoChanged(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_SlotInfoChanged(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().SlotInfoChanged(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall add_CurrentSlotIndexChanged(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().CurrentSlotIndexChanged(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_CurrentSlotIndexChanged(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().CurrentSlotIndexChanged(*reinterpret_cast(&token)); + return 0; + } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -6173,12 +6546,16 @@ namespace std 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 {}; @@ -6209,6 +6586,9 @@ namespace std 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 {}; @@ -6269,9 +6649,11 @@ namespace std 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 {}; @@ -6296,6 +6678,9 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Networking.Vpn.h b/cpp/platform/impl/windows/generated/winrt/Windows.Networking.Vpn.h index 6fad9f5d..b1711e2c 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Networking.Vpn.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Networking.Vpn.h @@ -216,6 +216,22 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->get_CurrentRequestTransportContext(&context)); return winrt::Windows::Foundation::IInspectable{ context, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnReceivePacketBuffer(*(void**)(&decapsulatedPacketBuffer))); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnSendPacketBuffer(*(void**)(&encapsulatedPacketBuffer))); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::FlushVpnReceivePacketBuffers() const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnReceivePacketBuffers()); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5::FlushVpnSendPacketBuffers() const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnSendPacketBuffers()); + } template WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs::Type() const { winrt::Windows::Networking::Vpn::VpnChannelActivityEventType value{}; @@ -1457,6 +1473,40 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall AppendVpnReceivePacketBuffer(void* decapsulatedPacketBuffer) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().AppendVpnReceivePacketBuffer(*reinterpret_cast(&decapsulatedPacketBuffer)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall AppendVpnSendPacketBuffer(void* encapsulatedPacketBuffer) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().AppendVpnSendPacketBuffer(*reinterpret_cast(&encapsulatedPacketBuffer)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FlushVpnReceivePacketBuffers() noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().FlushVpnReceivePacketBuffers(); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FlushVpnSendPacketBuffers() noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().FlushVpnSendPacketBuffers(); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -3160,6 +3210,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Security.Isolation.h b/cpp/platform/impl/windows/generated/winrt/Windows.Security.Isolation.h index 1dea78cc..a77046a4 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Security.Isolation.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Security.Isolation.h @@ -84,6 +84,24 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2)->PostMessageToReceiverWithTelemetryAsync(impl::bind_in(receiverId), *(void**)(&message), *(void**)(&telemetryParameters), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::GetUserInfo() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->GetUserInfo(&result)); + return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const + { + void* operation{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->ShareFileAsync(*(void**)(&filePath), *(void**)(&options), &operation)); + return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const + { + void* operation{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->ShareFileWithTelemetryAsync(*(void**)(&filePath), *(void**)(&options), *(void**)(&telemetryParameters), &operation)); + return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult::Status() const { winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus value{}; @@ -142,6 +160,18 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile)->Close()); } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2::GuestPath() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2)->get_GuestPath(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2::IsReadOnly() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2)->get_IsReadOnly(&value)); + return value; + } template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics::IsReady() const { bool value{}; @@ -258,6 +288,16 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowCameraAndMicrophoneAccess(value)); } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2::WindowAnnotationOverride() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2)->get_WindowAnnotationOverride(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2::WindowAnnotationOverride(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2)->put_WindowAnnotationOverride(*(void**)(&value))); + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData::ShareableFolders() const { void* value{}; @@ -342,6 +382,34 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->WaitForExitAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions::AllowWrite() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->get_AllowWrite(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions::AllowWrite(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->put_AllowWrite(value)); + } + template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::Status() const + { + winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_Status(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::ExtendedError() const + { + winrt::hresult value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_ExtendedError(put_abi(value))); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult::File() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_File(&value)); + return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions::AllowWrite() const { bool value{}; @@ -392,6 +460,24 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters)->put_CorrelationId(impl::bind_in(value))); } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::EnvironmentUserSid() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->get_EnvironmentUserSid(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::EnvironmentUserName() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->get_EnvironmentUserName(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo::TryWaitForSignInAsync() const + { + void* operation{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->TryWaitForSignInAsync(&operation)); + return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics::PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics)->PostMessageToReceiver(impl::bind_in(receiverId), *(void**)(&message))); @@ -546,6 +632,36 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall GetUserInfo(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetUserInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ShareFileAsync(void* filePath, void* options, void** operation) noexcept final try + { + clear_abi(operation); + typename D::abi_guard guard(this->shim()); + *operation = detach_from>(this->shim().ShareFileAsync(*reinterpret_cast(&filePath), *reinterpret_cast(&options))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ShareFileWithTelemetryAsync(void* filePath, void* options, void* telemetryParameters, void** operation) noexcept final try + { + clear_abi(operation); + typename D::abi_guard guard(this->shim()); + *operation = detach_from>(this->shim().ShareFileAsync(*reinterpret_cast(&filePath), *reinterpret_cast(&options), *reinterpret_cast(&telemetryParameters))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -641,6 +757,27 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_GuestPath(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().GuestPath()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsReadOnly(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsReadOnly()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -819,6 +956,27 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_WindowAnnotationOverride(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().WindowAnnotationOverride()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_WindowAnnotationOverride(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().WindowAnnotationOverride(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -962,6 +1120,55 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_AllowWrite(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AllowWrite()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_AllowWrite(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().AllowWrite(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Status(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Status()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ExtendedError(winrt::hresult* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ExtendedError()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_File(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().File()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1052,6 +1259,36 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_EnvironmentUserSid(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EnvironmentUserSid()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_EnvironmentUserName(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EnvironmentUserName()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall TryWaitForSignInAsync(void** operation) noexcept final try + { + clear_abi(operation); + typename D::abi_guard guard(this->shim()); + *operation = detach_from>(this->shim().TryWaitForSignInAsync()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1228,6 +1465,10 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IsolatedWindowsEnvironmentOwnerRegistrationData(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } + inline IsolatedWindowsEnvironmentShareFileRequestOptions::IsolatedWindowsEnvironmentShareFileRequestOptions() : + IsolatedWindowsEnvironmentShareFileRequestOptions(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } inline IsolatedWindowsEnvironmentShareFolderRequestOptions::IsolatedWindowsEnvironmentShareFolderRequestOptions() : IsolatedWindowsEnvironmentShareFolderRequestOptions(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { @@ -1306,21 +1547,27 @@ 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 {}; @@ -1334,10 +1581,13 @@ namespace std 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 } diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Storage.Provider.h b/cpp/platform/impl/windows/generated/winrt/Windows.Storage.Provider.h index 0b2c5fa2..3799b825 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Storage.Provider.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Storage.Provider.h @@ -131,6 +131,88 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs)->get_Request(&value)); return winrt::Windows::Storage::Provider::FileUpdateRequest{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::Id() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Id(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::Title() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Title(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::Message() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Message(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError::FilePath() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_FilePath(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::FilePath(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_FilePath(*(void**)(&value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError::PrimaryAction() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_PrimaryAction(&value)); + return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_PrimaryAction(*(void**)(&value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError::SecondaryAction() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_SecondaryAction(&value)); + return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_SecondaryAction(*(void**)(&value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError::InformationalLink() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_InformationalLink(&value)); + return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError::InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_InformationalLink(*(void**)(&value))); + } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderErrorCommand::Label() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommand)->get_Label(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Storage_Provider_IStorageProviderErrorCommand::ActionUri() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommand)->get_ActionUri(&value)); + return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory::CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory)->CreateInstance(*(void**)(&label), *(void**)(&actionUri), &value)); + return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderError) consume_Windows_Storage_Provider_IStorageProviderErrorFactory::CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorFactory)->CreateInstance(*(void**)(&id), *(void**)(&title), *(void**)(&message), &value)); + return winrt::Windows::Storage::Provider::StorageProviderError{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo::FileExtension() const { void* value{}; @@ -199,6 +281,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->put_Path(*(void**)(&value))); } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::IStorageProviderStatusSource) consume_Windows_Storage_Provider_IStorageProviderHandlerFactory::GetStatusSource(param::hstring const& syncRootId) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory)->GetStatusSource(*(void**)(&syncRootId), &result)); + return winrt::Windows::Storage::Provider::IStorageProviderStatusSource{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics::SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable const& itemProperties) const { void* operation{}; @@ -267,6 +355,56 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities)->IsPropertySupported(*(void**)(&propertyCanonicalName), &isSupported)); return isSupported; } + template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderStatus::Message() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_Message(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderState) consume_Windows_Storage_Provider_IStorageProviderStatus::State() const + { + winrt::Windows::Storage::Provider::StorageProviderState value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_State(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_Storage_Provider_IStorageProviderStatus::ErrorMessages() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_ErrorMessages(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory::CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusFactory)->CreateInstance(static_cast(state), *(void**)(&message), &value)); + return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory::CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusFactory)->CreateInstance2(static_cast(state), *(void**)(&message), *(void**)(&errorMessages), &value)); + return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusSource::GetStatus() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->GetStatus(&result)); + return winrt::Windows::Storage::Provider::StorageProviderStatus{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->add_Changed(*(void**)(&handler), put_abi(token))); + return token; + } + template typename consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed_revoker consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, Changed(handler)); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderStatusSource::Changed(winrt::event_token const& token) const noexcept + { + WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->remove_Changed(impl::bind_in(token))); + } template WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo::Id() const { void* value{}; @@ -676,6 +814,146 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Id(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Id()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Title(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Title()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall 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_FilePath(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().FilePath()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_FilePath(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().FilePath(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PrimaryAction(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PrimaryAction()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PrimaryAction(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PrimaryAction(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_SecondaryAction(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SecondaryAction()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_SecondaryAction(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().SecondaryAction(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_InformationalLink(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().InformationalLink()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_InformationalLink(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().InformationalLink(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + 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_ActionUri(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ActionUri()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* label, void* actionUri, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&label), *reinterpret_cast(&actionUri))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* id, void* title, void* message, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&id), *reinterpret_cast(&title), *reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -797,6 +1075,18 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif + template + struct produce : produce_base + { + int32_t __stdcall GetStatusSource(void* syncRootId, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusSource(*reinterpret_cast(&syncRootId))); + return 0; + } + catch (...) { return to_hresult(); } + }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -919,6 +1209,83 @@ namespace winrt::impl } catch (...) { return to_hresult(); } }; +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + 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_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_ErrorMessages(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().ErrorMessages()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(int32_t state, void* message, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&state), *reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(int32_t state, void* message, void* errorMessages, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(*reinterpret_cast(&state), *reinterpret_cast(&message), *reinterpret_cast const*>(&errorMessages))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif + template + struct produce : produce_base + { + int32_t __stdcall GetStatus(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatus()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall add_Changed(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().Changed(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_Changed(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().Changed(*reinterpret_cast(&token)); + return 0; + } + }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1390,6 +1757,14 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider { impl::call_factory([&](ICachedFileUpdaterStatics const& f) { return f.SetUpdateInformation(file, contentId, readMode, writeMode, options); }); } + inline StorageProviderError::StorageProviderError(param::hstring const& id, param::hstring const& title, param::hstring const& message) : + StorageProviderError(impl::call_factory([&](IStorageProviderErrorFactory const& f) { return f.CreateInstance(id, title, message); })) + { + } + inline StorageProviderErrorCommand::StorageProviderErrorCommand(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) : + StorageProviderErrorCommand(impl::call_factory([&](IStorageProviderErrorCommandFactory const& f) { return f.CreateInstance(label, actionUri); })) + { + } inline StorageProviderFileTypeInfo::StorageProviderFileTypeInfo(param::hstring const& fileExtension, param::hstring const& iconResource) : StorageProviderFileTypeInfo(impl::call_factory([&](IStorageProviderFileTypeInfoFactory const& f) { return f.CreateInstance(fileExtension, iconResource); })) { @@ -1414,6 +1789,14 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider StorageProviderItemPropertyDefinition(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } + inline StorageProviderStatus::StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) : + StorageProviderStatus(impl::call_factory([&](IStorageProviderStatusFactory const& f) { return f.CreateInstance(state, message); })) + { + } + inline StorageProviderStatus::StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages) : + StorageProviderStatus(impl::call_factory([&](IStorageProviderStatusFactory const& f) { return f.CreateInstance2(state, message, errorMessages); })) + { + } inline StorageProviderSyncRootInfo::StorageProviderSyncRootInfo() : StorageProviderSyncRootInfo(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { @@ -1453,15 +1836,23 @@ namespace std 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 {}; @@ -1473,12 +1864,15 @@ namespace std 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 diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.Storage.h b/cpp/platform/impl/windows/generated/winrt/Windows.Storage.h index 5a88e9b3..9665074e 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.Storage.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.Storage.h @@ -1037,6 +1037,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader)->AcceptChangesAsync(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryChangeReader2::GetLastChangeId() const + { + uint64_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader2)->GetLastChangeId(&result)); + return result; + } template WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeReader) consume_Windows_Storage_IStorageLibraryChangeTracker::GetChangeReader() const { void* value{}; @@ -1051,6 +1057,30 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker)->Reset()); } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2::Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->EnableWithOptions(*(void**)(&options))); + } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2::Disable() const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->Disable()); + } + template WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions::TrackChangeDetails() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->get_TrackChangeDetails(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions::TrackChangeDetails(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->put_TrackChangeDetails(value)); + } + template WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryLastChangeIdStatics::Unknown() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics)->get_Unknown(&value)); + return value; + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_Storage_IStorageLibraryStatics::GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const { void* operation{}; @@ -3180,6 +3210,19 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall GetLastChangeId(uint64_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetLastChangeId()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -3208,6 +3251,65 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall EnableWithOptions(void* options) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Enable(*reinterpret_cast(&options)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall Disable() noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Disable(); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_TrackChangeDetails(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().TrackChangeDetails()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_TrackChangeDetails(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().TrackChangeDetails(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_Unknown(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Unknown()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -4405,6 +4507,14 @@ WINRT_EXPORT namespace winrt::Windows::Storage { return impl::call_factory([&](IStorageLibraryStatics2 const& f) { return f.GetLibraryForUserAsync(user, libraryId); }); } + inline StorageLibraryChangeTrackerOptions::StorageLibraryChangeTrackerOptions() : + StorageLibraryChangeTrackerOptions(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } + inline auto StorageLibraryLastChangeId::Unknown() + { + return impl::call_factory_cast([](IStorageLibraryLastChangeIdStatics const& f) { return f.Unknown(); }); + } inline auto SystemDataPaths::GetDefault() { return impl::call_factory_cast([](ISystemDataPathsStatics const& f) { return f.GetDefault(); }); @@ -4563,7 +4673,12 @@ namespace std 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 {}; @@ -4600,6 +4715,8 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.System.Diagnostics.h b/cpp/platform/impl/windows/generated/winrt/Windows.System.Diagnostics.h index d6e570ec..6d124c71 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.System.Diagnostics.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.System.Diagnostics.h @@ -307,6 +307,18 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics)->GetForCurrentSystem(&value)); return winrt::Windows::System::Diagnostics::SystemDiagnosticInfo{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->IsArchitectureSupported(static_cast(type), &result)); + return result; + } + template WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2::PreferredArchitecture() const + { + winrt::Windows::System::ProcessorArchitecture value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->get_PreferredArchitecture(reinterpret_cast(&value))); + return value; + } template WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) consume_Windows_System_Diagnostics_ISystemMemoryUsage::GetReport() const { void* value{}; @@ -810,6 +822,26 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall IsArchitectureSupported(int32_t type, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().IsArchitectureSupported(*reinterpret_cast(&type))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreferredArchitecture(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreferredArchitecture()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -882,6 +914,14 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics { return impl::call_factory_cast([](ISystemDiagnosticInfoStatics const& f) { return f.GetForCurrentSystem(); }); } + inline auto SystemDiagnosticInfo::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) + { + return impl::call_factory([&](ISystemDiagnosticInfoStatics2 const& f) { return f.IsArchitectureSupported(type); }); + } + inline auto SystemDiagnosticInfo::PreferredArchitecture() + { + return impl::call_factory_cast([](ISystemDiagnosticInfoStatics2 const& f) { return f.PreferredArchitecture(); }); + } } namespace std { @@ -904,6 +944,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.System.Profile.h b/cpp/platform/impl/windows/generated/winrt/Windows.System.Profile.h index d65fa475..1e8e769c 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.System.Profile.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.System.Profile.h @@ -43,6 +43,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsVersionInfo)->get_DeviceFamilyVersion(&value)); return hstring{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo2::ProductName() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsVersionInfo2)->get_ProductName(&value)); + return hstring{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_System_Profile_IAppApplicabilityStatics::GetUnsupportedAppRequirements(param::iterable const& capabilities) const { void* result{}; @@ -413,6 +419,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_ProductName(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ProductName()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1130,6 +1150,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.System.h b/cpp/platform/impl/windows/generated/winrt/Windows.System.h index b6f2d720..b098c049 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.System.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.System.h @@ -1438,6 +1438,12 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->GetFromId(*(void**)(&nonRoamableId), &result)); return winrt::Windows::System::User{ result, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserStatics2::GetDefault() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics2)->GetDefault(&result)); + return winrt::Windows::System::User{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcherStatus) consume_Windows_System_IUserWatcher::Status() const { winrt::Windows::System::UserWatcherStatus value{}; @@ -3827,6 +3833,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall GetDefault(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetDefault()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -4349,6 +4369,10 @@ WINRT_EXPORT namespace winrt::Windows::System { return impl::call_factory([&](IUserStatics const& f) { return f.GetFromId(nonRoamableId); }); } + inline auto User::GetDefault() + { + return impl::call_factory_cast([](IUserStatics2 const& f) { return f.GetDefault(); }); + } inline auto UserDeviceAssociation::FindUserFromDeviceId(param::hstring const& deviceId) { return impl::call_factory([&](IUserDeviceAssociationStatics const& f) { return f.FindUserFromDeviceId(deviceId); }); @@ -4474,6 +4498,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.UI.Composition.h b/cpp/platform/impl/windows/generated/winrt/Windows.UI.Composition.h index 8dc77e95..2e04efc2 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.UI.Composition.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.UI.Composition.h @@ -102,10 +102,52 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo)->put_AccessMode(static_cast(value))); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionObject) consume_Windows_UI_Composition_IAnimationPropertyInfo2::GetResolvedCompositionObject() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo2)->GetResolvedCompositionObject(&result)); + return winrt::Windows::UI::Composition::CompositionObject{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_IAnimationPropertyInfo2::GetResolvedCompositionObjectProperty() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo2)->GetResolvedCompositionObjectProperty(&result)); + return hstring{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IBackEasingFunction::Mode() const + { + winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBackEasingFunction)->get_Mode(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBackEasingFunction::Amplitude() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBackEasingFunction)->get_Amplitude(&value)); + return value; + } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBooleanKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBooleanKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, value)); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IBounceEasingFunction::Mode() const + { + winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Mode(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IBounceEasingFunction::Bounces() const + { + int32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Bounces(&value)); + return value; + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceEasingFunction::Bounciness() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Bounciness(&value)); + return value; + } template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation::Acceleration() const { float value{}; @@ -166,6 +208,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->put_Restitution(value)); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_ICircleEasingFunction::Mode() const + { + winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICircleEasingFunction)->get_Mode(reinterpret_cast(&value))); + return value; + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) consume_Windows_UI_Composition_IColorKeyFrameAnimation::InterpolationColorSpace() const { winrt::Windows::UI::Composition::CompositionColorSpace value{}; @@ -478,6 +526,72 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->ScrollRectWithClip(impl::bind_in(offset), impl::bind_in(clipRect), impl::bind_in(scrollRect))); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateCubicBezierEasingFunction(*(void**)(&owner), impl::bind_in(controlPoint1), impl::bind_in(controlPoint2), &result)); + return winrt::Windows::UI::Composition::CubicBezierEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateLinearEasingFunction(*(void**)(&owner), &result)); + return winrt::Windows::UI::Composition::LinearEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateStepEasingFunction(*(void**)(&owner), &result)); + return winrt::Windows::UI::Composition::StepEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateStepEasingFunctionWithStepCount(*(void**)(&owner), stepCount, &result)); + return winrt::Windows::UI::Composition::StepEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BackEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateBackEasingFunction(*(void**)(&owner), static_cast(mode), amplitude, &result)); + return winrt::Windows::UI::Composition::BackEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateBounceEasingFunction(*(void**)(&owner), static_cast(mode), bounces, bounciness, &result)); + return winrt::Windows::UI::Composition::BounceEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CircleEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateCircleEasingFunction(*(void**)(&owner), static_cast(mode), &result)); + return winrt::Windows::UI::Composition::CircleEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ElasticEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateElasticEasingFunction(*(void**)(&owner), static_cast(mode), oscillations, springiness, &result)); + return winrt::Windows::UI::Composition::ElasticEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExponentialEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateExponentialEasingFunction(*(void**)(&owner), static_cast(mode), exponent, &result)); + return winrt::Windows::UI::Composition::ExponentialEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PowerEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreatePowerEasingFunction(*(void**)(&owner), static_cast(mode), power, &result)); + return winrt::Windows::UI::Composition::PowerEasingFunction{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SineEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics::CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics)->CreateSineEasingFunction(*(void**)(&owner), static_cast(mode), &result)); + return winrt::Windows::UI::Composition::SineEasingFunction{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionEffectBrush::GetSourceParameter(param::hstring const& name) const { void* result{}; @@ -736,6 +850,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice3)->Trim()); } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) consume_Windows_UI_Composition_ICompositionGraphicsDevice4::CaptureAsync(winrt::Windows::UI::Composition::Visual const& captureVisual, winrt::Windows::Graphics::SizeInt32 const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode, float sdrBoost) const + { + void* operation{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice4)->CaptureAsync(*(void**)(&captureVisual), impl::bind_in(size), static_cast(pixelFormat), static_cast(alphaMode), sdrBoost, &operation)); + return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) consume_Windows_UI_Composition_ICompositionLight::Targets() const { void* value{}; @@ -1704,6 +1824,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush3)->put_SnapToPixels(value)); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_UI_Composition_ICompositionSurfaceFacade::GetRealSurface() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceFacade)->GetRealSurface(&result)); + return winrt::Windows::UI::Composition::ICompositionSurface{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionTarget::Root() const { void* value{}; @@ -2208,6 +2334,36 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor6)->CreateBooleanKeyFrameAnimation(&result)); return winrt::Windows::UI::Composition::BooleanKeyFrameAnimation{ result, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Composition_ICompositor7::DispatcherQueue() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->get_DispatcherQueue(&value)); + return winrt::Windows::System::DispatcherQueue{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyInfo) consume_Windows_UI_Composition_ICompositor7::CreateAnimationPropertyInfo() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateAnimationPropertyInfo(&result)); + return winrt::Windows::UI::Composition::AnimationPropertyInfo{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateRectangleClip(&result)); + return winrt::Windows::UI::Composition::RectangleClip{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip(float left, float top, float right, float bottom) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateRectangleClipWithSides(left, top, right, bottom, &result)); + return winrt::Windows::UI::Composition::RectangleClip{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7::CreateRectangleClip(float left, float top, float right, float bottom, winrt::Windows::Foundation::Numerics::float2 const& topLeftRadius, winrt::Windows::Foundation::Numerics::float2 const& topRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomLeftRadius) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor7)->CreateRectangleClipWithSidesAndRadius(left, top, right, bottom, impl::bind_in(topLeftRadius), impl::bind_in(topRightRadius), impl::bind_in(bottomRightRadius), impl::bind_in(bottomLeftRadius), &result)); + return winrt::Windows::UI::Composition::RectangleClip{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositorStatics::MaxGlobalPlaybackRate() const { float value{}; @@ -2268,6 +2424,38 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICubicBezierEasingFunction)->get_ControlPoint2(put_abi(value))); return value; } + template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::AddTrailPoints(array_view inkPoints) const + { + uint32_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->AddTrailPoints(inkPoints.size(), get_abi(inkPoints), &result)); + return result; + } + template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::AddTrailPointsWithPrediction(array_view inkPoints, array_view predictedInkPoints) const + { + uint32_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->AddTrailPointsWithPrediction(inkPoints.size(), get_abi(inkPoints), predictedInkPoints.size(), get_abi(predictedInkPoints), &result)); + return result; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::RemoveTrailPoints(uint32_t generationId) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->RemoveTrailPoints(generationId)); + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDelegatedInkTrailVisual::StartNewTrail(winrt::Windows::UI::Color const& color) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->StartNewTrail(impl::bind_in(color))); + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisualStatics)->Create(*(void**)(&compositor), &result)); + return winrt::Windows::UI::Composition::DelegatedInkTrailVisual{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics::CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisualStatics)->CreateForSwapChain(*(void**)(&compositor), *(void**)(&swapChain), &result)); + return winrt::Windows::UI::Composition::DelegatedInkTrailVisual{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IDistantLight::Color() const { winrt::Windows::UI::Color value{}; @@ -2368,6 +2556,36 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow2)->put_SourcePolicy(static_cast(value))); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IElasticEasingFunction::Mode() const + { + winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Mode(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IElasticEasingFunction::Oscillations() const + { + int32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Oscillations(&value)); + return value; + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IElasticEasingFunction::Springiness() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Springiness(&value)); + return value; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IExponentialEasingFunction::Mode() const + { + winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExponentialEasingFunction)->get_Mode(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IExponentialEasingFunction::Exponent() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExponentialEasingFunction)->get_Exponent(&value)); + return value; + } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_IExpressionAnimation::Expression() const { void* value{}; @@ -2650,6 +2868,18 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->put_MaxAttenuationCutoff(value)); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IPowerEasingFunction::Mode() const + { + winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPowerEasingFunction)->get_Mode(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPowerEasingFunction::Power() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPowerEasingFunction)->get_Power(&value)); + return value; + } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, impl::bind_in(value))); @@ -2658,6 +2888,86 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation)->InsertKeyFrameWithEasingFunction(normalizedProgressKey, impl::bind_in(value), *(void**)(&easingFunction))); } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Bottom() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Bottom(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Bottom(float value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Bottom(value)); + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::BottomLeftRadius() const + { + winrt::Windows::Foundation::Numerics::float2 value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_BottomLeftRadius(put_abi(value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_BottomLeftRadius(impl::bind_in(value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::BottomRightRadius() const + { + winrt::Windows::Foundation::Numerics::float2 value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_BottomRightRadius(put_abi(value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_BottomRightRadius(impl::bind_in(value))); + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Left() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Left(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Left(float value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Left(value)); + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Right() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Right(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Right(float value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Right(value)); + } + template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip::Top() const + { + float value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Top(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::Top(float value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Top(value)); + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::TopLeftRadius() const + { + winrt::Windows::Foundation::Numerics::float2 value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_TopLeftRadius(put_abi(value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_TopLeftRadius(impl::bind_in(value))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip::TopRightRadius() const + { + winrt::Windows::Foundation::Numerics::float2 value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_TopRightRadius(put_abi(value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip::TopRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_TopRightRadius(impl::bind_in(value))); + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IRedirectVisual::Source() const { void* value{}; @@ -2728,6 +3038,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IShapeVisual)->put_ViewBox(*(void**)(&value))); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_ISineEasingFunction::Mode() const + { + winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISineEasingFunction)->get_Mode(reinterpret_cast(&value))); + return value; + } template WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight::ConstantAttenuation() const { float value{}; @@ -3308,6 +3624,16 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual3)->put_IsHitTestVisible(value)); } + template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IVisual4::IsPixelSnappingEnabled() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual4)->get_IsPixelSnappingEnabled(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual4::IsPixelSnappingEnabled(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual4)->put_IsPixelSnappingEnabled(value)); + } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IVisualCollection::Count() const { int32_t value{}; @@ -3338,6 +3664,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->RemoveAll()); } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IVisualElement2::GetVisualInternal() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualElement2)->GetVisualInternal(&result)); + return winrt::Windows::UI::Composition::Visual{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IVisualUnorderedCollection::Count() const { int32_t value{}; @@ -3510,6 +3842,48 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall GetResolvedCompositionObject(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetResolvedCompositionObject()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetResolvedCompositionObjectProperty(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetResolvedCompositionObjectProperty()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Mode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Mode()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Amplitude(float* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Amplitude()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -3523,6 +3897,33 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Mode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Mode()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Bounces(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Bounces()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Bounciness(float* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Bounciness()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -3625,6 +4026,19 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Mode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Mode()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -4239,6 +4653,100 @@ namespace winrt::impl { }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateCubicBezierEasingFunction(void* owner, winrt::Windows::Foundation::Numerics::float2 controlPoint1, winrt::Windows::Foundation::Numerics::float2 controlPoint2, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateCubicBezierEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&controlPoint1), *reinterpret_cast(&controlPoint2))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateLinearEasingFunction(void* owner, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateLinearEasingFunction(*reinterpret_cast(&owner))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateStepEasingFunction(void* owner, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateStepEasingFunction(*reinterpret_cast(&owner))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateStepEasingFunctionWithStepCount(void* owner, int32_t stepCount, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateStepEasingFunction(*reinterpret_cast(&owner), stepCount)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateBackEasingFunction(void* owner, int32_t mode, float amplitude, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateBackEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&mode), amplitude)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateBounceEasingFunction(void* owner, int32_t mode, int32_t bounces, float bounciness, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateBounceEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&mode), bounces, bounciness)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateCircleEasingFunction(void* owner, int32_t mode, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateCircleEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&mode))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateElasticEasingFunction(void* owner, int32_t mode, int32_t oscillations, float springiness, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateElasticEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&mode), oscillations, springiness)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateExponentialEasingFunction(void* owner, int32_t mode, float exponent, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateExponentialEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&mode), exponent)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreatePowerEasingFunction(void* owner, int32_t mode, float power, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreatePowerEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&mode), power)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateSineEasingFunction(void* owner, int32_t mode, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateSineEasingFunction(*reinterpret_cast(&owner), *reinterpret_cast(&mode))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -4685,6 +5193,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CaptureAsync(void* captureVisual, struct struct_Windows_Graphics_SizeInt32 size, int32_t pixelFormat, int32_t alphaMode, float sdrBoost, void** operation) noexcept final try + { + clear_abi(operation); + typename D::abi_guard guard(this->shim()); + *operation = detach_from>(this->shim().CaptureAsync(*reinterpret_cast(&captureVisual), *reinterpret_cast(&size), *reinterpret_cast(&pixelFormat), *reinterpret_cast(&alphaMode), sdrBoost)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -6323,6 +6845,18 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif + template + struct produce : produce_base + { + int32_t __stdcall GetRealSurface(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetRealSurface()); + return 0; + } + catch (...) { return to_hresult(); } + }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -7095,6 +7629,52 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_DispatcherQueue(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DispatcherQueue()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateAnimationPropertyInfo(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateAnimationPropertyInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateRectangleClip(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateRectangleClip()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateRectangleClipWithSides(float left, float top, float right, float bottom, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateRectangleClip(left, top, right, bottom)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateRectangleClipWithSidesAndRadius(float left, float top, float right, float bottom, winrt::Windows::Foundation::Numerics::float2 topLeftRadius, winrt::Windows::Foundation::Numerics::float2 topRightRadius, winrt::Windows::Foundation::Numerics::float2 bottomRightRadius, winrt::Windows::Foundation::Numerics::float2 bottomLeftRadius, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateRectangleClip(left, top, right, bottom, *reinterpret_cast(&topLeftRadius), *reinterpret_cast(&topRightRadius), *reinterpret_cast(&bottomRightRadius), *reinterpret_cast(&bottomLeftRadius))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -7215,6 +7795,62 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall AddTrailPoints(uint32_t __inkPointsSize, struct struct_Windows_UI_Composition_InkTrailPoint* inkPoints, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().AddTrailPoints(array_view(reinterpret_cast(inkPoints), reinterpret_cast(inkPoints) + __inkPointsSize))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall AddTrailPointsWithPrediction(uint32_t __inkPointsSize, struct struct_Windows_UI_Composition_InkTrailPoint* inkPoints, uint32_t __predictedInkPointsSize, struct struct_Windows_UI_Composition_InkTrailPoint* predictedInkPoints, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().AddTrailPointsWithPrediction(array_view(reinterpret_cast(inkPoints), reinterpret_cast(inkPoints) + __inkPointsSize), array_view(reinterpret_cast(predictedInkPoints), reinterpret_cast(predictedInkPoints) + __predictedInkPointsSize))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall RemoveTrailPoints(uint32_t generationId) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().RemoveTrailPoints(generationId); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall StartNewTrail(struct struct_Windows_UI_Color color) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().StartNewTrail(*reinterpret_cast(&color)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall Create(void* compositor, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().Create(*reinterpret_cast(&compositor))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateForSwapChain(void* compositor, void* swapChain, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateForSwapChain(*reinterpret_cast(&compositor), *reinterpret_cast(&swapChain))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -7385,6 +8021,53 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Mode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Mode()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Oscillations(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Oscillations()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Springiness(float* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Springiness()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Mode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Mode()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Exponent(float* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Exponent()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -7889,6 +8572,26 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Mode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Mode()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Power(float* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Power()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -7909,6 +8612,128 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Bottom(float* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Bottom()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Bottom(float value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Bottom(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().BottomLeftRadius()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().BottomLeftRadius(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_BottomRightRadius(winrt::Windows::Foundation::Numerics::float2* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().BottomRightRadius()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().BottomRightRadius(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Left(float* 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 put_Left(float value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Left(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Right(float* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Right()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Right(float value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Right(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Top(float* 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 put_Top(float value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Top(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TopLeftRadius(winrt::Windows::Foundation::Numerics::float2* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().TopLeftRadius()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().TopLeftRadius(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TopRightRadius(winrt::Windows::Foundation::Numerics::float2* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().TopRightRadius()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_TopRightRadius(winrt::Windows::Foundation::Numerics::float2 value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().TopRightRadius(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -8049,6 +8874,19 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Mode(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Mode()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -9011,6 +9849,26 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsPixelSnappingEnabled(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsPixelSnappingEnabled()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IsPixelSnappingEnabled(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IsPixelSnappingEnabled(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -9070,6 +9928,18 @@ namespace winrt::impl struct produce : produce_base { }; + template + struct produce : produce_base + { + int32_t __stdcall GetVisualInternal(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetVisualInternal()); + return 0; + } + catch (...) { return to_hresult(); } + }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -9156,6 +10026,50 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition { return impl::call_factory_cast([](ICompositionCapabilitiesStatics const& f) { return f.GetForCurrentView(); }); } + inline auto CompositionEasingFunction::CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateCubicBezierEasingFunction(owner, controlPoint1, controlPoint2); }); + } + inline auto CompositionEasingFunction::CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateLinearEasingFunction(owner); }); + } + inline auto CompositionEasingFunction::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateStepEasingFunction(owner); }); + } + inline auto CompositionEasingFunction::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateStepEasingFunction(owner, stepCount); }); + } + inline auto CompositionEasingFunction::CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateBackEasingFunction(owner, mode, amplitude); }); + } + inline auto CompositionEasingFunction::CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateBounceEasingFunction(owner, mode, bounces, bounciness); }); + } + inline auto CompositionEasingFunction::CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateCircleEasingFunction(owner, mode); }); + } + inline auto CompositionEasingFunction::CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateElasticEasingFunction(owner, mode, oscillations, springiness); }); + } + inline auto CompositionEasingFunction::CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateExponentialEasingFunction(owner, mode, exponent); }); + } + inline auto CompositionEasingFunction::CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreatePowerEasingFunction(owner, mode, power); }); + } + inline auto CompositionEasingFunction::CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) + { + return impl::call_factory([&](ICompositionEasingFunctionStatics const& f) { return f.CreateSineEasingFunction(owner, mode); }); + } inline CompositionEffectSourceParameter::CompositionEffectSourceParameter(param::hstring const& name) : CompositionEffectSourceParameter(impl::call_factory([&](ICompositionEffectSourceParameterFactory const& f) { return f.Create(name); })) { @@ -9188,6 +10102,14 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition { return impl::call_factory_cast([](ICompositorStatics const& f) { return f.MinGlobalPlaybackRate(); }); } + inline auto DelegatedInkTrailVisual::Create(winrt::Windows::UI::Composition::Compositor const& compositor) + { + return impl::call_factory([&](IDelegatedInkTrailVisualStatics const& f) { return f.Create(compositor); }); + } + inline auto DelegatedInkTrailVisual::CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) + { + return impl::call_factory([&](IDelegatedInkTrailVisualStatics const& f) { return f.CreateForSwapChain(compositor, swapChain); }); + } } namespace std { @@ -9198,10 +10120,14 @@ namespace std 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 {}; @@ -9229,6 +10155,7 @@ namespace std 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 {}; @@ -9243,6 +10170,7 @@ namespace std 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 {}; @@ -9282,6 +10210,7 @@ namespace std 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 {}; @@ -9296,6 +10225,7 @@ namespace std 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 {}; @@ -9303,10 +10233,14 @@ namespace std 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 {}; @@ -9323,13 +10257,16 @@ namespace std 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 {}; @@ -9349,17 +10286,22 @@ namespace std 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 {}; @@ -9416,8 +10358,11 @@ namespace std 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 {}; @@ -9428,12 +10373,15 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.UI.Input.Inking.h b/cpp/platform/impl/windows/generated/winrt/Windows.UI.Input.Inking.h index 46035f69..3ed1c0b1 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.UI.Input.Inking.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.UI.Input.Inking.h @@ -1086,6 +1086,10 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_IsTouchHandwritingEnabled(&value)); return value; } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IPenAndInkSettings2::SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings2)->SetPenHandedness(static_cast(value))); + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics::GetDefault() const { void* result{}; @@ -2756,6 +2760,19 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall SetPenHandedness(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().SetPenHandedness(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -2865,6 +2882,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.UI.WindowManagement.h b/cpp/platform/impl/windows/generated/winrt/Windows.UI.WindowManagement.h index 348ca991..649415a8 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.UI.WindowManagement.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.UI.WindowManagement.h @@ -536,6 +536,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration)->put_IsExclusive(value)); } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_WindowManagement_IWindowServicesStatics::FindAllTopLevelWindowIds() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowServicesStatics)->FindAllTopLevelWindowIds(&result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IWindowingEnvironment::IsEnabled() const { bool value{}; @@ -1403,6 +1409,20 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall FindAllTopLevelWindowIds(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().FindAllTopLevelWindowIds()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -1528,6 +1548,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement FullScreenPresentationConfiguration(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } + inline auto WindowServices::FindAllTopLevelWindowIds() + { + return impl::call_factory_cast(*)(IWindowServicesStatics const&), WindowServices, IWindowServicesStatics>([](IWindowServicesStatics const& f) { return f.FindAllTopLevelWindowIds(); }); + } inline auto WindowingEnvironment::FindAll() { return impl::call_factory_cast(*)(IWindowingEnvironmentStatics const&), WindowingEnvironment, IWindowingEnvironmentStatics>([](IWindowingEnvironmentStatics const& f) { return f.FindAll(); }); @@ -1558,6 +1582,7 @@ namespace std 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 {}; @@ -1577,6 +1602,7 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/Windows.UI.Xaml.Controls.h b/cpp/platform/impl/windows/generated/winrt/Windows.UI.Xaml.Controls.h index 7429d109..9564f8f9 100644 --- a/cpp/platform/impl/windows/generated/winrt/Windows.UI.Xaml.Controls.h +++ b/cpp/platform/impl/windows/generated/winrt/Windows.UI.Xaml.Controls.h @@ -6673,6 +6673,80 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->TryOpen(&result)); return result; } + template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsSwitchToKeyboardEnabled() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsSwitchToKeyboardEnabled(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsSwitchToKeyboardEnabled(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsSwitchToKeyboardEnabled(value)); + } + template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsCommandBarOpen() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsCommandBarOpen(&value)); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::IsCommandBarOpen(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsCommandBarOpen(value)); + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) consume_Windows_UI_Xaml_Controls_IHandwritingView2::InputDeviceTypes() const + { + winrt::Windows::UI::Core::CoreInputDeviceTypes value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_InputDeviceTypes(reinterpret_cast(&value))); + return value; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_InputDeviceTypes(static_cast(value))); + } + template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->add_CandidatesChanged(*(void**)(&handler), put_abi(token))); + return token; + } + template typename consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, CandidatesChanged(handler)); + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::CandidatesChanged(winrt::event_token const& token) const noexcept + { + WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_CandidatesChanged(impl::bind_in(token))); + } + template WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->add_TextSubmitted(*(void**)(&handler), put_abi(token))); + return token; + } + template typename consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, TextSubmitted(handler)); + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::TextSubmitted(winrt::event_token const& token) const noexcept + { + WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_TextSubmitted(impl::bind_in(token))); + } + template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Controls_IHandwritingView2::GetCandidates(uint32_t candidatesSessionId) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->GetCandidates(candidatesSessionId, &result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2::SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->SelectCandidate(candidatesSessionId, selectedCandidateIndex)); + } + template WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs::CandidatesSessionId() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs)->get_CandidatesSessionId(&value)); + return value; + } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; @@ -6703,6 +6777,18 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics)->get_AreCandidatesEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2::IsSwitchToKeyboardEnabledProperty() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2)->get_IsSwitchToKeyboardEnabledProperty(&value)); + return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; + } + template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2::IsCommandBarOpenProperty() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2)->get_IsCommandBarOpenProperty(&value)); + return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; + } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IHub::Header() const { void* value{}; @@ -33261,6 +33347,110 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsSwitchToKeyboardEnabled(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsSwitchToKeyboardEnabled()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IsSwitchToKeyboardEnabled(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IsSwitchToKeyboardEnabled(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsCommandBarOpen(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsCommandBarOpen()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IsCommandBarOpen(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IsCommandBarOpen(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_InputDeviceTypes(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().InputDeviceTypes()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_InputDeviceTypes(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().InputDeviceTypes(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall add_CandidatesChanged(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().CandidatesChanged(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_CandidatesChanged(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().CandidatesChanged(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall add_TextSubmitted(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().TextSubmitted(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_TextSubmitted(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().TextSubmitted(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall GetCandidates(uint32_t candidatesSessionId, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetCandidates(candidatesSessionId)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().SelectCandidate(candidatesSessionId, selectedCandidateIndex); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_CandidatesSessionId(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CandidatesSessionId()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base @@ -33316,6 +33506,34 @@ namespace winrt::impl catch (...) { return to_hresult(); } }; #endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsSwitchToKeyboardEnabledProperty(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsSwitchToKeyboardEnabledProperty()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsCommandBarOpenProperty(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsCommandBarOpenProperty()); + 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 @@ -60194,6 +60412,14 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls { return impl::call_factory_cast([](IHandwritingViewStatics const& f) { return f.AreCandidatesEnabledProperty(); }); } + inline auto HandwritingView::IsSwitchToKeyboardEnabledProperty() + { + return impl::call_factory_cast([](IHandwritingViewStatics2 const& f) { return f.IsSwitchToKeyboardEnabledProperty(); }); + } + inline auto HandwritingView::IsCommandBarOpenProperty() + { + return impl::call_factory_cast([](IHandwritingViewStatics2 const& f) { return f.IsCommandBarOpenProperty(); }); + } inline Hub::Hub() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; @@ -65104,7 +65330,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls template struct HandwritingViewT : implements, - impl::require, + impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { @@ -66615,8 +66841,12 @@ namespace std 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 {}; @@ -67276,6 +67506,8 @@ namespace std 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 {}; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h index 99259375..6110befb 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h @@ -94,6 +94,7 @@ WINRT_EXPORT namespace winrt::Windows::AI::MachineLearning struct ILearningModelSessionFactory2; struct ILearningModelSessionOptions; struct ILearningModelSessionOptions2; + struct ILearningModelSessionOptions3; struct ILearningModelStatics; struct IMapFeatureDescriptor; struct ISequenceFeatureDescriptor; @@ -183,6 +184,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -299,6 +301,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.AI.MachineLearning.ILearningModelSessionFactory2"; template <> inline constexpr auto& name_v = L"Windows.AI.MachineLearning.ILearningModelSessionOptions"; template <> inline constexpr auto& name_v = L"Windows.AI.MachineLearning.ILearningModelSessionOptions2"; + template <> inline constexpr auto& name_v = L"Windows.AI.MachineLearning.ILearningModelSessionOptions3"; template <> inline constexpr auto& name_v = L"Windows.AI.MachineLearning.ILearningModelStatics"; template <> inline constexpr auto& name_v = L"Windows.AI.MachineLearning.IMapFeatureDescriptor"; template <> inline constexpr auto& name_v = L"Windows.AI.MachineLearning.ISequenceFeatureDescriptor"; @@ -361,6 +364,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x4E5C88BF,0x0A1F,0x5FEC,{ 0xAD,0xE0,0x2F,0xD9,0x1E,0x4E,0xF2,0x9B } }; // 4E5C88BF-0A1F-5FEC-ADE0-2FD91E4EF29B template <> inline constexpr guid guid_v{ 0xB8F63FA1,0x134D,0x5133,{ 0x8C,0xFF,0x3A,0x5C,0x3C,0x26,0x3B,0xEB } }; // B8F63FA1-134D-5133-8CFF-3A5C3C263BEB template <> inline constexpr guid guid_v{ 0x6FCD1DC4,0x175F,0x5BD2,{ 0x8D,0xE5,0x2F,0x20,0x06,0xA2,0x5A,0xDF } }; // 6FCD1DC4-175F-5BD2-8DE5-2F2006A25ADF + template <> inline constexpr guid guid_v{ 0x58E15CEE,0xD8C2,0x56FC,{ 0x92,0xE8,0x76,0xD7,0x51,0x08,0x10,0x86 } }; // 58E15CEE-D8C2-56FC-92E8-76D751081086 template <> inline constexpr guid guid_v{ 0xE3B977E8,0x6952,0x4E47,{ 0x8E,0xF4,0x1F,0x7F,0x07,0x89,0x7C,0x6D } }; // E3B977E8-6952-4E47-8EF4-1F7F07897C6D template <> inline constexpr guid guid_v{ 0x530424BD,0xA257,0x436D,{ 0x9E,0x60,0xC2,0x98,0x1F,0x7C,0xC5,0xC4 } }; // 530424BD-A257-436D-9E60-C2981F7CC5C4 template <> inline constexpr guid guid_v{ 0x84F6945A,0x562B,0x4D62,{ 0xA8,0x51,0x73,0x9A,0xCE,0xD9,0x66,0x68 } }; // 84F6945A-562B-4D62-A851-739ACED96668 @@ -582,6 +586,13 @@ namespace winrt::impl virtual int32_t __stdcall put_CloseModelOnSessionCreation(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall OverrideNamedDimension(void*, uint32_t) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1141,6 +1152,15 @@ namespace winrt::impl template using type = consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2; }; template + struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3 + { + WINRT_IMPL_AUTO(void) OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const; + }; + template <> struct consume + { + template using type = consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3; + }; + template struct consume_Windows_AI_MachineLearning_ILearningModelStatics { WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h index 60ac2508..19b80e5f 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h @@ -203,6 +203,17 @@ WINRT_EXPORT namespace winrt::Windows::AI::MachineLearning ILearningModelSessionOptions2& operator=(ILearningModelSessionOptions2 const&) & noexcept = default; ILearningModelSessionOptions2& operator=(ILearningModelSessionOptions2&&) & noexcept = default; }; + struct __declspec(empty_bases) ILearningModelSessionOptions3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ILearningModelSessionOptions3(std::nullptr_t = nullptr) noexcept {} + ILearningModelSessionOptions3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ILearningModelSessionOptions3(ILearningModelSessionOptions3 const&) noexcept = default; + ILearningModelSessionOptions3(ILearningModelSessionOptions3&&) noexcept = default; + ILearningModelSessionOptions3& operator=(ILearningModelSessionOptions3 const&) & noexcept = default; + ILearningModelSessionOptions3& operator=(ILearningModelSessionOptions3&&) & noexcept = default; + }; struct __declspec(empty_bases) ILearningModelStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h index 406df4b8..4fde836e 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h @@ -95,7 +95,7 @@ WINRT_EXPORT namespace winrt::Windows::AI::MachineLearning LearningModelSession& operator=(LearningModelSession&&) & noexcept = default; }; struct __declspec(empty_bases) LearningModelSessionOptions : winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions, - impl::require + impl::require { LearningModelSessionOptions(std::nullptr_t) noexcept {} LearningModelSessionOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.0.h index 8741433f..d9218ea8 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.0.h @@ -50,6 +50,12 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel ForceTargetAppShutdown = 0x1, ApplyUpdateIfAvailable = 0x2, }; + enum class AppExecutionContext : int32_t + { + Unknown = 0, + Host = 1, + Guest = 2, + }; enum class LimitedAccessFeatureStatus : int32_t { Unavailable = 0, @@ -91,6 +97,8 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel struct IAppDisplayInfo; struct IAppInfo; struct IAppInfo2; + struct IAppInfo3; + struct IAppInfo4; struct IAppInfoStatics; struct IAppInstallerInfo; struct IAppInstance; @@ -179,6 +187,8 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -260,6 +270,7 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -299,6 +310,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SuspendingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SuspendingOperation"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.AddResourcePackageOptions"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.AppExecutionContext"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.LimitedAccessFeatureStatus"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageContentGroupState"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.PackageSignatureKind"; @@ -309,6 +321,8 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppDisplayInfo"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppInfo"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppInfo2"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppInfo3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppInfo4"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppInfoStatics"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppInstallerInfo"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.IAppInstance"; @@ -361,6 +375,8 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x1AEB1103,0xE4D4,0x41AA,{ 0xA4,0xF6,0xC4,0xA2,0x76,0xE7,0x9E,0xAC } }; // 1AEB1103-E4D4-41AA-A4F6-C4A276E79EAC template <> inline constexpr guid guid_v{ 0xCF7F59B3,0x6A09,0x4DE8,{ 0xA6,0xC0,0x57,0x92,0xD5,0x68,0x80,0xD1 } }; // CF7F59B3-6A09-4DE8-A6C0-5792D56880D1 template <> inline constexpr guid guid_v{ 0xBE4B1F5A,0x2098,0x431B,{ 0xBD,0x25,0xB3,0x08,0x78,0x74,0x8D,0x47 } }; // BE4B1F5A-2098-431B-BD25-B30878748D47 + template <> inline constexpr guid guid_v{ 0x09A78E46,0x93A4,0x46DE,{ 0x93,0x97,0x08,0x43,0xB5,0x71,0x15,0xEA } }; // 09A78E46-93A4-46DE-9397-0843B57115EA + template <> inline constexpr guid guid_v{ 0x2F34BDEB,0x1609,0x4554,{ 0x9F,0x33,0x12,0xE1,0xE8,0x03,0xE0,0xD4 } }; // 2F34BDEB-1609-4554-9F33-12E1E803E0D4 template <> inline constexpr guid guid_v{ 0xCF1F782A,0xE48B,0x4F0C,{ 0x9B,0x0B,0x79,0xC3,0xF8,0x95,0x7D,0xD7 } }; // CF1F782A-E48B-4F0C-9B0B-79C3F8957DD7 template <> inline constexpr guid guid_v{ 0x29AB2AC0,0xD4F6,0x42A3,{ 0xAD,0xCD,0xD6,0x58,0x3C,0x65,0x95,0x08 } }; // 29AB2AC0-D4F6-42A3-ADCD-D6583C659508 template <> inline constexpr guid guid_v{ 0x675F2B47,0xF25F,0x4532,{ 0x9F,0xD6,0x36,0x33,0xE0,0x63,0x4D,0x01 } }; // 675F2B47-F25F-4532-9FD6-3633E0634D01 @@ -463,6 +479,20 @@ namespace winrt::impl virtual int32_t __stdcall get_Package(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_ExecutionContext(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedFileExtensions(uint32_t* __valueSize, void***) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -953,6 +983,24 @@ namespace winrt::impl template using type = consume_Windows_ApplicationModel_IAppInfo2; }; template + struct consume_Windows_ApplicationModel_IAppInfo3 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) ExecutionContext() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_IAppInfo3; + }; + template + struct consume_Windows_ApplicationModel_IAppInfo4 + { + [[nodiscard]] WINRT_IMPL_AUTO(com_array) SupportedFileExtensions() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_IAppInfo4; + }; + template struct consume_Windows_ApplicationModel_IAppInfoStatics { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) Current() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.1.h index 26c53ba8..675c2538 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.1.h @@ -38,6 +38,28 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel IAppInfo2& operator=(IAppInfo2 const&) & noexcept = default; IAppInfo2& operator=(IAppInfo2&&) & noexcept = default; }; + struct __declspec(empty_bases) IAppInfo3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInfo3(std::nullptr_t = nullptr) noexcept {} + IAppInfo3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IAppInfo3(IAppInfo3 const&) noexcept = default; + IAppInfo3(IAppInfo3&&) noexcept = default; + IAppInfo3& operator=(IAppInfo3 const&) & noexcept = default; + IAppInfo3& operator=(IAppInfo3&&) & noexcept = default; + }; + struct __declspec(empty_bases) IAppInfo4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppInfo4(std::nullptr_t = nullptr) noexcept {} + IAppInfo4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IAppInfo4(IAppInfo4 const&) noexcept = default; + IAppInfo4(IAppInfo4&&) noexcept = default; + IAppInfo4& operator=(IAppInfo4 const&) & noexcept = default; + IAppInfo4& operator=(IAppInfo4&&) & noexcept = default; + }; struct __declspec(empty_bases) IAppInfoStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.2.h index 8cd760a9..fa63ef79 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.2.h @@ -43,7 +43,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel AppDisplayInfo& operator=(AppDisplayInfo&&) & noexcept = default; }; struct __declspec(empty_bases) AppInfo : winrt::Windows::ApplicationModel::IAppInfo, - impl::require + impl::require { AppInfo(std::nullptr_t) noexcept {} AppInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::IAppInfo(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h index 8c923706..cf795ace 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h @@ -5,6 +5,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel { struct AppDisplayInfo; + struct AppInfo; struct EnteredBackgroundEventArgs; struct LeavingBackgroundEventArgs; struct SuspendingEventArgs; @@ -50,6 +51,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core struct IAppListEntry; struct IAppListEntry2; struct IAppListEntry3; + struct IAppListEntry4; struct ICoreApplication; struct ICoreApplication2; struct ICoreApplication3; @@ -83,6 +85,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -122,6 +125,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Core.IAppListEntry"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Core.IAppListEntry2"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Core.IAppListEntry3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Core.IAppListEntry4"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Core.ICoreApplication"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Core.ICoreApplication2"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Core.ICoreApplication3"; @@ -145,6 +149,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xEF00F07F,0x2108,0x490A,{ 0x87,0x7A,0x8A,0x9F,0x17,0xC2,0x5F,0xAD } }; // EF00F07F-2108-490A-877A-8A9F17C25FAD template <> inline constexpr guid guid_v{ 0xD0A618AD,0xBF35,0x42AC,{ 0xAC,0x06,0x86,0xEE,0xEB,0x41,0xD0,0x4B } }; // D0A618AD-BF35-42AC-AC06-86EEEB41D04B template <> inline constexpr guid guid_v{ 0x6099F28D,0xFC32,0x470A,{ 0xBC,0x69,0x4B,0x06,0x1A,0x76,0xEF,0x2E } }; // 6099F28D-FC32-470A-BC69-4B061A76EF2E + template <> inline constexpr guid guid_v{ 0x2A131ED2,0x56F5,0x487C,{ 0x86,0x97,0x51,0x66,0xF3,0xB3,0x3D,0xA0 } }; // 2A131ED2-56F5-487C-8697-5166F3B33DA0 template <> inline constexpr guid guid_v{ 0x0AACF7A4,0x5E1D,0x49DF,{ 0x80,0x34,0xFB,0x6A,0x68,0xBC,0x5E,0xD1 } }; // 0AACF7A4-5E1D-49DF-8034-FB6A68BC5ED1 template <> inline constexpr guid guid_v{ 0x998681FB,0x1AB6,0x4B7F,{ 0xBE,0x4A,0x9A,0x06,0x45,0x22,0x4C,0x04 } }; // 998681FB-1AB6-4B7F-BE4A-9A0645224C04 template <> inline constexpr guid guid_v{ 0xFEEC0D39,0x598B,0x4507,{ 0x8A,0x67,0x77,0x26,0x32,0x58,0x0A,0x57 } }; // FEEC0D39-598B-4507-8A67-772632580A57 @@ -193,6 +198,13 @@ namespace winrt::impl virtual int32_t __stdcall LaunchForUserAsync(void*, void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_AppInfo(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -404,6 +416,15 @@ namespace winrt::impl template using type = consume_Windows_ApplicationModel_Core_IAppListEntry3; }; template + struct consume_Windows_ApplicationModel_Core_IAppListEntry4 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Core_IAppListEntry4; + }; + template struct consume_Windows_ApplicationModel_Core_ICoreApplication { [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h index 04f29ba9..254f902c 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h @@ -38,6 +38,17 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core IAppListEntry3& operator=(IAppListEntry3 const&) & noexcept = default; IAppListEntry3& operator=(IAppListEntry3&&) & noexcept = default; }; + struct __declspec(empty_bases) IAppListEntry4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAppListEntry4(std::nullptr_t = nullptr) noexcept {} + IAppListEntry4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IAppListEntry4(IAppListEntry4 const&) noexcept = default; + IAppListEntry4(IAppListEntry4&&) noexcept = default; + IAppListEntry4& operator=(IAppListEntry4 const&) & noexcept = default; + IAppListEntry4& operator=(IAppListEntry4&&) & noexcept = default; + }; struct __declspec(empty_bases) ICoreApplication : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h index 1c638c31..3b9db717 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h @@ -10,7 +10,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { struct __declspec(empty_bases) AppListEntry : winrt::Windows::ApplicationModel::Core::IAppListEntry, - impl::require + impl::require { AppListEntry(std::nullptr_t) noexcept {} AppListEntry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Core::IAppListEntry(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h index afd44ead..8d346dfe 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h @@ -1219,14 +1219,14 @@ namespace winrt::impl template struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager { - WINRT_IMPL_AUTO(winrt::event_token) DataRequested(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + WINRT_IMPL_AUTO(winrt::event_token) DataRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using DataRequested_revoker = impl::event_revoker::remove_DataRequested>; - [[nodiscard]] DataRequested_revoker DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) DataRequested(winrt::event_token const& eventCookie) const noexcept; - WINRT_IMPL_AUTO(winrt::event_token) TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; + [[nodiscard]] DataRequested_revoker DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + WINRT_IMPL_AUTO(void) DataRequested(winrt::event_token const& token) const noexcept; + WINRT_IMPL_AUTO(winrt::event_token) TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TargetApplicationChosen_revoker = impl::event_revoker::remove_TargetApplicationChosen>; - [[nodiscard]] TargetApplicationChosen_revoker TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& eventHandler) const; - WINRT_IMPL_AUTO(void) TargetApplicationChosen(winrt::event_token const& eventCookie) const noexcept; + [[nodiscard]] TargetApplicationChosen_revoker TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + WINRT_IMPL_AUTO(void) TargetApplicationChosen(winrt::event_token const& token) const noexcept; }; template <> struct consume { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h index 208c9272..9e94bd97 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h @@ -18,6 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources struct IResourceLoaderStatics; struct IResourceLoaderStatics2; struct IResourceLoaderStatics3; + struct IResourceLoaderStatics4; struct ResourceLoader; } namespace winrt::impl @@ -28,6 +29,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.ResourceLoader"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoader"; @@ -36,12 +38,14 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics2"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics3"; + template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics4"; template <> inline constexpr guid guid_v{ 0x08524908,0x16EF,0x45AD,{ 0xA6,0x02,0x29,0x36,0x37,0xD7,0xE6,0x1A } }; // 08524908-16EF-45AD-A602-293637D7E61A template <> inline constexpr guid guid_v{ 0x10EB6EC6,0x8138,0x48C1,{ 0xBC,0x65,0xE1,0xF1,0x42,0x07,0x36,0x7C } }; // 10EB6EC6-8138-48C1-BC65-E1F14207367C template <> inline constexpr guid guid_v{ 0xC33A3603,0x69DC,0x4285,{ 0xA0,0x77,0xD5,0xC0,0xE4,0x7C,0xCB,0xE8 } }; // C33A3603-69DC-4285-A077-D5C0E47CCBE8 template <> inline constexpr guid guid_v{ 0xBF777CE1,0x19C8,0x49C2,{ 0x95,0x3C,0x47,0xE9,0x22,0x7B,0x33,0x4E } }; // BF777CE1-19C8-49C2-953C-47E9227B334E template <> inline constexpr guid guid_v{ 0x0CC04141,0x6466,0x4989,{ 0x94,0x94,0x0B,0x82,0xDF,0xC5,0x3F,0x1F } }; // 0CC04141-6466-4989-9494-0B82DFC53F1F template <> inline constexpr guid guid_v{ 0x64609DFB,0x64AC,0x491B,{ 0x81,0x00,0x0E,0x55,0x8D,0x61,0xC1,0xD0 } }; // 64609DFB-64AC-491B-8100-0E558D61C1D0 + template <> inline constexpr guid guid_v{ 0x9FB36C32,0x6C8C,0x4316,{ 0x96,0x2E,0x90,0x95,0x39,0xB5,0xC2,0x59 } }; // 9FB36C32-6C8C-4316-962E-909539B5C259 template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Resources::IResourceLoader; }; template <> struct abi { @@ -88,6 +92,13 @@ namespace winrt::impl virtual int32_t __stdcall GetForUIContext(void*, void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetDefaultPriPath(void*, void**) noexcept = 0; + }; + }; template struct consume_Windows_ApplicationModel_Resources_IResourceLoader { @@ -145,5 +156,14 @@ namespace winrt::impl { template using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3; }; + template + struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4 + { + WINRT_IMPL_AUTO(hstring) GetDefaultPriPath(param::hstring const& packageFullName) const; + }; + template <> struct consume + { + template using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h index 89f6fdd0..052064e1 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h @@ -71,5 +71,16 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources IResourceLoaderStatics3& operator=(IResourceLoaderStatics3 const&) & noexcept = default; IResourceLoaderStatics3& operator=(IResourceLoaderStatics3&&) & noexcept = default; }; + struct __declspec(empty_bases) IResourceLoaderStatics4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IResourceLoaderStatics4(std::nullptr_t = nullptr) noexcept {} + IResourceLoaderStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IResourceLoaderStatics4(IResourceLoaderStatics4 const&) noexcept = default; + IResourceLoaderStatics4(IResourceLoaderStatics4&&) noexcept = default; + IResourceLoaderStatics4& operator=(IResourceLoaderStatics4 const&) & noexcept = default; + IResourceLoaderStatics4& operator=(IResourceLoaderStatics4&&) & noexcept = default; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h index 1666bbe9..576e70e2 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h @@ -24,6 +24,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources static auto GetForViewIndependentUse(); static auto GetForViewIndependentUse(param::hstring const& name); static auto GetForUIContext(winrt::Windows::UI::UIContext const& context); + static auto GetDefaultPriPath(param::hstring const& packageFullName); }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h index ba9425ec..b3a691ff 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h @@ -81,6 +81,7 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation struct IGeocircleFactory; struct IGeocoordinate; struct IGeocoordinateSatelliteData; + struct IGeocoordinateSatelliteData2; struct IGeocoordinateWithPoint; struct IGeocoordinateWithPositionData; struct IGeocoordinateWithPositionSourceTimestamp; @@ -132,6 +133,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -213,6 +215,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocircleFactory"; template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinate"; template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateSatelliteData"; + template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateSatelliteData2"; template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateWithPoint"; template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateWithPositionData"; template <> inline constexpr auto& name_v = L"Windows.Devices.Geolocation.IGeocoordinateWithPositionSourceTimestamp"; @@ -244,6 +247,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xAFD6531F,0x72B1,0x4F7D,{ 0x87,0xCC,0x4E,0xD4,0xC9,0x84,0x9C,0x05 } }; // AFD6531F-72B1-4F7D-87CC-4ED4C9849C05 template <> inline constexpr guid guid_v{ 0xEE21A3AA,0x976A,0x4C70,{ 0x80,0x3D,0x08,0x3E,0xA5,0x5B,0xCB,0xC4 } }; // EE21A3AA-976A-4C70-803D-083EA55BCBC4 template <> inline constexpr guid guid_v{ 0xC32A74D9,0x2608,0x474C,{ 0x91,0x2C,0x06,0xDD,0x49,0x0F,0x4A,0xF7 } }; // C32A74D9-2608-474C-912C-06DD490F4AF7 + template <> inline constexpr guid guid_v{ 0x761C8CFD,0xA19D,0x5A51,{ 0x80,0xF5,0x71,0x67,0x61,0x15,0x48,0x3E } }; // 761C8CFD-A19D-5A51-80F5-71676115483E template <> inline constexpr guid guid_v{ 0xFEEA0525,0xD22C,0x4D46,{ 0xB5,0x27,0x0B,0x96,0x06,0x6F,0xC7,0xDB } }; // FEEA0525-D22C-4D46-B527-0B96066FC7DB template <> inline constexpr guid guid_v{ 0x95E634BE,0xDBD6,0x40AC,{ 0xB8,0xF2,0xA6,0x5C,0x03,0x40,0xD9,0xA6 } }; // 95E634BE-DBD6-40AC-B8F2-A65C0340D9A6 template <> inline constexpr guid guid_v{ 0x8543FC02,0xC9F1,0x4610,{ 0xAF,0xE0,0x8B,0xC3,0xA6,0xA8,0x70,0x36 } }; // 8543FC02-C9F1-4610-AFE0-8BC3A6A87036 @@ -363,6 +367,14 @@ namespace winrt::impl virtual int32_t __stdcall get_VerticalDilutionOfPrecision(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_GeometricDilutionOfPrecision(void**) noexcept = 0; + virtual int32_t __stdcall get_TimeDilutionOfPrecision(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -653,6 +665,16 @@ namespace winrt::impl template using type = consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData; }; template + struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) GeometricDilutionOfPrecision() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimeDilutionOfPrecision() const; + }; + template <> struct consume + { + template using type = consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2; + }; + template struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h index 162c79c2..a79e7871 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h @@ -95,6 +95,17 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation IGeocoordinateSatelliteData& operator=(IGeocoordinateSatelliteData const&) & noexcept = default; IGeocoordinateSatelliteData& operator=(IGeocoordinateSatelliteData&&) & noexcept = default; }; + struct __declspec(empty_bases) IGeocoordinateSatelliteData2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGeocoordinateSatelliteData2(std::nullptr_t = nullptr) noexcept {} + IGeocoordinateSatelliteData2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IGeocoordinateSatelliteData2(IGeocoordinateSatelliteData2 const&) noexcept = default; + IGeocoordinateSatelliteData2(IGeocoordinateSatelliteData2&&) noexcept = default; + IGeocoordinateSatelliteData2& operator=(IGeocoordinateSatelliteData2 const&) & noexcept = default; + IGeocoordinateSatelliteData2& operator=(IGeocoordinateSatelliteData2&&) & noexcept = default; + }; struct __declspec(empty_bases) IGeocoordinateWithPoint : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h index 89c1df1a..4c1ba63f 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h @@ -67,7 +67,8 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation Geocoordinate& operator=(Geocoordinate const&) & noexcept = default; Geocoordinate& operator=(Geocoordinate&&) & noexcept = default; }; - struct __declspec(empty_bases) GeocoordinateSatelliteData : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData + struct __declspec(empty_bases) GeocoordinateSatelliteData : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData, + impl::require { GeocoordinateSatelliteData(std::nullptr_t) noexcept {} GeocoordinateSatelliteData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.0.h index 04921175..3d9c0fa0 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.0.h @@ -6,6 +6,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics { struct IGeometrySource2D; struct DisplayAdapterId; + struct DisplayId; struct PointInt32; struct RectInt32; struct SizeInt32; @@ -14,10 +15,12 @@ namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; template <> struct category{ using type = struct_category; }; template <> struct category{ using type = struct_category; }; template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Windows.Graphics.DisplayAdapterId"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.DisplayId"; template <> inline constexpr auto& name_v = L"Windows.Graphics.PointInt32"; template <> inline constexpr auto& name_v = L"Windows.Graphics.RectInt32"; template <> inline constexpr auto& name_v = L"Windows.Graphics.SizeInt32"; @@ -46,6 +49,14 @@ namespace winrt::impl { using type = struct_Windows_Graphics_DisplayAdapterId; }; + struct struct_Windows_Graphics_DisplayId + { + uint64_t Value; + }; + template <> struct abi + { + using type = struct_Windows_Graphics_DisplayId; + }; struct struct_Windows_Graphics_PointInt32 { int32_t X; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.2.h index 8c8ba220..1f29edd0 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.2.h @@ -18,6 +18,18 @@ WINRT_EXPORT namespace winrt::Windows::Graphics { return !(left == right); } + struct DisplayId + { + uint64_t Value; + }; + inline bool operator==(DisplayId const& left, DisplayId const& right) noexcept + { + return left.Value == right.Value; + } + inline bool operator!=(DisplayId const& left, DisplayId const& right) noexcept + { + return !(left == right); + } struct PointInt32 { int32_t X; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h index 019b4d06..c56e404f 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h @@ -10,6 +10,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation } WINRT_EXPORT namespace winrt::Windows::Graphics { + struct DisplayId; struct SizeInt32; } WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX @@ -21,28 +22,44 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11 struct IDirect3DDevice; struct IDirect3DSurface; } +WINRT_EXPORT namespace winrt::Windows::Security::Authorization::AppCapabilityAccess +{ + enum class AppCapabilityAccessStatus : int32_t; +} WINRT_EXPORT namespace winrt::Windows::System { struct DispatcherQueue; } +WINRT_EXPORT namespace winrt::Windows::UI +{ + struct WindowId; +} WINRT_EXPORT namespace winrt::Windows::UI::Composition { struct Visual; } WINRT_EXPORT namespace winrt::Windows::Graphics::Capture { + enum class GraphicsCaptureAccessKind : int32_t + { + Borderless = 0, + }; struct IDirect3D11CaptureFrame; struct IDirect3D11CaptureFramePool; struct IDirect3D11CaptureFramePoolStatics; struct IDirect3D11CaptureFramePoolStatics2; + struct IGraphicsCaptureAccessStatics; struct IGraphicsCaptureItem; struct IGraphicsCaptureItemStatics; + struct IGraphicsCaptureItemStatics2; struct IGraphicsCapturePicker; struct IGraphicsCaptureSession; struct IGraphicsCaptureSession2; + struct IGraphicsCaptureSession3; struct IGraphicsCaptureSessionStatics; struct Direct3D11CaptureFrame; struct Direct3D11CaptureFramePool; + struct GraphicsCaptureAccess; struct GraphicsCaptureItem; struct GraphicsCapturePicker; struct GraphicsCaptureSession; @@ -53,41 +70,54 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.Direct3D11CaptureFrame"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.Direct3D11CaptureFramePool"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureAccess"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureItem"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCapturePicker"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureSession"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.GraphicsCaptureAccessKind"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFrame"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePool"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePoolStatics"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePoolStatics2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureAccessStatics"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureItem"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureItemStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureItemStatics2"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCapturePicker"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession2"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSession3"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Capture.IGraphicsCaptureSessionStatics"; template <> inline constexpr guid guid_v{ 0xFA50C623,0x38DA,0x4B32,{ 0xAC,0xF3,0xFA,0x97,0x34,0xAD,0x80,0x0E } }; // FA50C623-38DA-4B32-ACF3-FA9734AD800E template <> inline constexpr guid guid_v{ 0x24EB6D22,0x1975,0x422E,{ 0x82,0xE7,0x78,0x0D,0xBD,0x8D,0xDF,0x24 } }; // 24EB6D22-1975-422E-82E7-780DBD8DDF24 template <> inline constexpr guid guid_v{ 0x7784056A,0x67AA,0x4D53,{ 0xAE,0x54,0x10,0x88,0xD5,0xA8,0xCA,0x21 } }; // 7784056A-67AA-4D53-AE54-1088D5A8CA21 template <> inline constexpr guid guid_v{ 0x589B103F,0x6BBC,0x5DF5,{ 0xA9,0x91,0x02,0xE2,0x8B,0x3B,0x66,0xD5 } }; // 589B103F-6BBC-5DF5-A991-02E28B3B66D5 + template <> inline constexpr guid guid_v{ 0x743ED370,0x06EC,0x5040,{ 0xA5,0x8A,0x90,0x1F,0x0F,0x75,0x70,0x95 } }; // 743ED370-06EC-5040-A58A-901F0F757095 template <> inline constexpr guid guid_v{ 0x79C3F95B,0x31F7,0x4EC2,{ 0xA4,0x64,0x63,0x2E,0xF5,0xD3,0x07,0x60 } }; // 79C3F95B-31F7-4EC2-A464-632EF5D30760 template <> inline constexpr guid guid_v{ 0xA87EBEA5,0x457C,0x5788,{ 0xAB,0x47,0x0C,0xF1,0xD3,0x63,0x7E,0x74 } }; // A87EBEA5-457C-5788-AB47-0CF1D3637E74 + template <> inline constexpr guid guid_v{ 0x3B92ACC9,0xE584,0x5862,{ 0xBF,0x5C,0x9C,0x31,0x6C,0x6D,0x2D,0xBB } }; // 3B92ACC9-E584-5862-BF5C-9C316C6D2DBB template <> inline constexpr guid guid_v{ 0x5A1711B3,0xAD79,0x4B4A,{ 0x93,0x36,0x13,0x18,0xFD,0xDE,0x35,0x39 } }; // 5A1711B3-AD79-4B4A-9336-1318FDDE3539 template <> inline constexpr guid guid_v{ 0x814E42A9,0xF70F,0x4AD7,{ 0x93,0x9B,0xFD,0xDC,0xC6,0xEB,0x88,0x0D } }; // 814E42A9-F70F-4AD7-939B-FDDCC6EB880D template <> inline constexpr guid guid_v{ 0x2C39AE40,0x7D2E,0x5044,{ 0x80,0x4E,0x8B,0x67,0x99,0xD4,0xCF,0x9E } }; // 2C39AE40-7D2E-5044-804E-8B6799D4CF9E + template <> inline constexpr guid guid_v{ 0xF2CDD966,0x22AE,0x5EA1,{ 0x95,0x96,0x3A,0x28,0x93,0x44,0xC3,0xBE } }; // F2CDD966-22AE-5EA1-9596-3A289344C3BE template <> inline constexpr guid guid_v{ 0x2224A540,0x5974,0x49AA,{ 0xB2,0x32,0x08,0x82,0x53,0x6F,0x4C,0xB5 } }; // 2224A540-5974-49AA-B232-0882536F4CB5 template <> struct default_interface{ using type = winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame; }; template <> struct default_interface{ using type = winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool; }; @@ -129,6 +159,13 @@ namespace winrt::impl virtual int32_t __stdcall CreateFreeThreaded(void*, int32_t, int32_t, struct struct_Windows_Graphics_SizeInt32, void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall RequestAccessAsync(int32_t, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -146,6 +183,14 @@ namespace winrt::impl virtual int32_t __stdcall CreateFromVisual(void*, void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall TryCreateFromWindowId(struct struct_Windows_UI_WindowId, void**) noexcept = 0; + virtual int32_t __stdcall TryCreateFromDisplayId(struct struct_Windows_Graphics_DisplayId, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -168,6 +213,14 @@ namespace winrt::impl virtual int32_t __stdcall put_IsCursorCaptureEnabled(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_IsBorderRequired(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsBorderRequired(bool) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -221,6 +274,15 @@ namespace winrt::impl template using type = consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2; }; template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics + { + WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics; + }; + template struct consume_Windows_Graphics_Capture_IGraphicsCaptureItem { [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const; @@ -244,6 +306,16 @@ namespace winrt::impl template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics; }; template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2 + { + WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const; + WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2; + }; + template struct consume_Windows_Graphics_Capture_IGraphicsCapturePicker { WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) PickSingleItemAsync() const; @@ -272,6 +344,16 @@ namespace winrt::impl template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession2; }; template + struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession3 + { + [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBorderRequired() const; + WINRT_IMPL_AUTO(void) IsBorderRequired(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession3; + }; + template struct consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics { WINRT_IMPL_AUTO(bool) IsSupported() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h index c0bd74eb..12a60476 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h @@ -49,6 +49,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture IDirect3D11CaptureFramePoolStatics2& operator=(IDirect3D11CaptureFramePoolStatics2 const&) & noexcept = default; IDirect3D11CaptureFramePoolStatics2& operator=(IDirect3D11CaptureFramePoolStatics2&&) & noexcept = default; }; + struct __declspec(empty_bases) IGraphicsCaptureAccessStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureAccessStatics(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureAccessStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IGraphicsCaptureAccessStatics(IGraphicsCaptureAccessStatics const&) noexcept = default; + IGraphicsCaptureAccessStatics(IGraphicsCaptureAccessStatics&&) noexcept = default; + IGraphicsCaptureAccessStatics& operator=(IGraphicsCaptureAccessStatics const&) & noexcept = default; + IGraphicsCaptureAccessStatics& operator=(IGraphicsCaptureAccessStatics&&) & noexcept = default; + }; struct __declspec(empty_bases) IGraphicsCaptureItem : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -71,6 +82,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture IGraphicsCaptureItemStatics& operator=(IGraphicsCaptureItemStatics const&) & noexcept = default; IGraphicsCaptureItemStatics& operator=(IGraphicsCaptureItemStatics&&) & noexcept = default; }; + struct __declspec(empty_bases) IGraphicsCaptureItemStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureItemStatics2(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureItemStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IGraphicsCaptureItemStatics2(IGraphicsCaptureItemStatics2 const&) noexcept = default; + IGraphicsCaptureItemStatics2(IGraphicsCaptureItemStatics2&&) noexcept = default; + IGraphicsCaptureItemStatics2& operator=(IGraphicsCaptureItemStatics2 const&) & noexcept = default; + IGraphicsCaptureItemStatics2& operator=(IGraphicsCaptureItemStatics2&&) & noexcept = default; + }; struct __declspec(empty_bases) IGraphicsCapturePicker : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -104,6 +126,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture IGraphicsCaptureSession2& operator=(IGraphicsCaptureSession2 const&) & noexcept = default; IGraphicsCaptureSession2& operator=(IGraphicsCaptureSession2&&) & noexcept = default; }; + struct __declspec(empty_bases) IGraphicsCaptureSession3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IGraphicsCaptureSession3(std::nullptr_t = nullptr) noexcept {} + IGraphicsCaptureSession3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IGraphicsCaptureSession3(IGraphicsCaptureSession3 const&) noexcept = default; + IGraphicsCaptureSession3(IGraphicsCaptureSession3&&) noexcept = default; + IGraphicsCaptureSession3& operator=(IGraphicsCaptureSession3 const&) & noexcept = default; + IGraphicsCaptureSession3& operator=(IGraphicsCaptureSession3&&) & noexcept = default; + }; struct __declspec(empty_bases) IGraphicsCaptureSessionStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h index 7099e731..5f9d5540 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h @@ -6,6 +6,7 @@ #include "winrt/impl/Windows.Graphics.1.h" #include "winrt/impl/Windows.Graphics.DirectX.1.h" #include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h" +#include "winrt/impl/Windows.UI.1.h" #include "winrt/impl/Windows.UI.Composition.1.h" #include "winrt/impl/Windows.Graphics.Capture.1.h" WINRT_EXPORT namespace winrt::Windows::Graphics::Capture @@ -32,6 +33,11 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture static auto Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size); static auto CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size); }; + struct GraphicsCaptureAccess + { + GraphicsCaptureAccess() = delete; + static auto RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request); + }; struct __declspec(empty_bases) GraphicsCaptureItem : winrt::Windows::Graphics::Capture::IGraphicsCaptureItem { GraphicsCaptureItem(std::nullptr_t) noexcept {} @@ -41,6 +47,8 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture GraphicsCaptureItem& operator=(GraphicsCaptureItem const&) & noexcept = default; GraphicsCaptureItem& operator=(GraphicsCaptureItem&&) & noexcept = default; static auto CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual); + static auto TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId); + static auto TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId); }; struct __declspec(empty_bases) GraphicsCapturePicker : winrt::Windows::Graphics::Capture::IGraphicsCapturePicker { @@ -53,7 +61,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture GraphicsCapturePicker& operator=(GraphicsCapturePicker&&) & noexcept = default; }; struct __declspec(empty_bases) GraphicsCaptureSession : winrt::Windows::Graphics::Capture::IGraphicsCaptureSession, - impl::require + impl::require { GraphicsCaptureSession(std::nullptr_t) noexcept {} GraphicsCaptureSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Capture::IGraphicsCaptureSession(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.0.h index 9bb2b899..a72026f9 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.0.h @@ -14,6 +14,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct __declspec(empty_bases) IVectorView; } +WINRT_EXPORT namespace winrt::Windows::Graphics +{ + struct DisplayId; +} WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IRandomAccessStream; @@ -99,6 +103,8 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display struct IDisplayInformation5; struct IDisplayInformationStatics; struct IDisplayPropertiesStatics; + struct IDisplayServices; + struct IDisplayServicesStatics; struct AdvancedColorInfo; struct BrightnessOverride; struct BrightnessOverrideSettings; @@ -108,6 +114,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display struct DisplayEnhancementOverrideCapabilitiesChangedEventArgs; struct DisplayInformation; struct DisplayProperties; + struct DisplayServices; struct NitRange; struct DisplayPropertiesEventHandler; } @@ -131,6 +138,8 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -140,6 +149,7 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -159,6 +169,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayEnhancementOverrideCapabilitiesChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayInformation"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayProperties"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayServices"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.AdvancedColorKind"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayBrightnessOverrideOptions"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayBrightnessOverrideScenario"; @@ -186,6 +197,8 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformation5"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayInformationStatics"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayPropertiesStatics"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayServices"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.IDisplayServicesStatics"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Display.DisplayPropertiesEventHandler"; template <> inline constexpr guid guid_v{ 0x8797DCFB,0xB229,0x4081,{ 0xAE,0x9A,0x2C,0xC8,0x5E,0x34,0xAD,0x6A } }; // 8797DCFB-B229-4081-AE9A-2CC85E34AD6A template <> inline constexpr guid guid_v{ 0x96C9621A,0xC143,0x4392,{ 0xBE,0xDD,0x4A,0x7E,0x95,0x74,0xC8,0xFD } }; // 96C9621A-C143-4392-BEDD-4A7E9574C8FD @@ -205,6 +218,8 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x3A5442DC,0x2CDE,0x4A8D,{ 0x80,0xD1,0x21,0xDC,0x5A,0xDC,0xC1,0xAA } }; // 3A5442DC-2CDE-4A8D-80D1-21DC5ADCC1AA template <> inline constexpr guid guid_v{ 0xC6A02A6C,0xD452,0x44DC,{ 0xBA,0x07,0x96,0xF3,0xC6,0xAD,0xF9,0xD1 } }; // C6A02A6C-D452-44DC-BA07-96F3C6ADF9D1 template <> inline constexpr guid guid_v{ 0x6937ED8D,0x30EA,0x4DED,{ 0x82,0x71,0x45,0x53,0xFF,0x02,0xF6,0x8A } }; // 6937ED8D-30EA-4DED-8271-4553FF02F68A + template <> inline constexpr guid guid_v{ 0x1B54F32B,0x890D,0x5747,{ 0xBD,0x26,0xFD,0xBD,0xEB,0x0C,0x8A,0x71 } }; // 1B54F32B-890D-5747-BD26-FDBDEB0C8A71 + template <> inline constexpr guid guid_v{ 0xDC2096BF,0x730A,0x5560,{ 0xB4,0x61,0x91,0xC1,0x3D,0x69,0x2E,0x0C } }; // DC2096BF-730A-5560-B461-91C13D692E0C template <> inline constexpr guid guid_v{ 0xDBDD8B01,0xF1A1,0x46D1,{ 0x9E,0xE3,0x54,0x3B,0xCC,0x99,0x59,0x80 } }; // DBDD8B01-F1A1-46D1-9EE3-543BCC995980 template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IAdvancedColorInfo; }; template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IBrightnessOverride; }; @@ -214,6 +229,7 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities; }; template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayInformation; }; + template <> struct default_interface{ using type = winrt::Windows::Graphics::Display::IDisplayServices; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -423,6 +439,19 @@ namespace winrt::impl virtual int32_t __stdcall remove_DisplayContentsInvalidated(winrt::event_token) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall FindAll(uint32_t* __resultSize, struct struct_Windows_Graphics_DisplayId**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : unknown_abi @@ -709,6 +738,23 @@ namespace winrt::impl { template using type = consume_Windows_Graphics_Display_IDisplayPropertiesStatics; }; + template + struct consume_Windows_Graphics_Display_IDisplayServices + { + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayServices; + }; + template + struct consume_Windows_Graphics_Display_IDisplayServicesStatics + { + WINRT_IMPL_AUTO(com_array) FindAll() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Display_IDisplayServicesStatics; + }; struct struct_Windows_Graphics_Display_NitRange { float MinNits; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.1.h index d9314a11..86185b3c 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.1.h @@ -204,5 +204,27 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display IDisplayPropertiesStatics& operator=(IDisplayPropertiesStatics const&) & noexcept = default; IDisplayPropertiesStatics& operator=(IDisplayPropertiesStatics&&) & noexcept = default; }; + struct __declspec(empty_bases) IDisplayServices : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayServices(std::nullptr_t = nullptr) noexcept {} + IDisplayServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IDisplayServices(IDisplayServices const&) noexcept = default; + IDisplayServices(IDisplayServices&&) noexcept = default; + IDisplayServices& operator=(IDisplayServices const&) & noexcept = default; + IDisplayServices& operator=(IDisplayServices&&) & noexcept = default; + }; + struct __declspec(empty_bases) IDisplayServicesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDisplayServicesStatics(std::nullptr_t = nullptr) noexcept {} + IDisplayServicesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IDisplayServicesStatics(IDisplayServicesStatics const&) noexcept = default; + IDisplayServicesStatics(IDisplayServicesStatics&&) noexcept = default; + IDisplayServicesStatics& operator=(IDisplayServicesStatics const&) & noexcept = default; + IDisplayServicesStatics& operator=(IDisplayServicesStatics&&) & noexcept = default; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.2.h index 37a50891..622e0ff2 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Display.2.h @@ -155,5 +155,15 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display [[nodiscard]] static DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler); static auto DisplayContentsInvalidated(winrt::event_token const& token); }; + struct __declspec(empty_bases) DisplayServices : winrt::Windows::Graphics::Display::IDisplayServices + { + DisplayServices(std::nullptr_t) noexcept {} + DisplayServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IDisplayServices(ptr, take_ownership_from_abi) {} + DisplayServices(DisplayServices const&) noexcept = default; + DisplayServices(DisplayServices&&) noexcept = default; + DisplayServices& operator=(DisplayServices const&) & noexcept = default; + DisplayServices& operator=(DisplayServices&&) & noexcept = default; + static auto FindAll(); + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h index 40fe8064..0301abf9 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h @@ -45,6 +45,11 @@ WINRT_EXPORT namespace winrt::Windows::UI::Core } WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic { + enum class HolographicDepthReprojectionMethod : int32_t + { + DepthReprojection = 0, + AutoPlanar = 1, + }; enum class HolographicFramePresentResult : int32_t { Success = 0, @@ -83,6 +88,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic struct IHolographicCameraRenderingParameters; struct IHolographicCameraRenderingParameters2; struct IHolographicCameraRenderingParameters3; + struct IHolographicCameraRenderingParameters4; struct IHolographicCameraViewportParameters; struct IHolographicDisplay; struct IHolographicDisplay2; @@ -110,6 +116,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic struct IHolographicSpaceStatics2; struct IHolographicSpaceStatics3; struct IHolographicViewConfiguration; + struct IHolographicViewConfiguration2; struct HolographicCamera; struct HolographicCameraPose; struct HolographicCameraRenderingParameters; @@ -145,6 +152,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -172,6 +180,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -190,6 +199,7 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -216,6 +226,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicSpaceCameraAddedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicSpaceCameraRemovedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicViewConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicDepthReprojectionMethod"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFramePresentResult"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicFramePresentWaitBehavior"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.HolographicReprojectionMode"; @@ -235,6 +246,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters2"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters3"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters4"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicCameraViewportParameters"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicDisplay"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicDisplay2"; @@ -262,6 +274,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpaceStatics2"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicSpaceStatics3"; template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicViewConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.Graphics.Holographic.IHolographicViewConfiguration2"; template <> inline constexpr guid guid_v{ 0xE4E98445,0x9BED,0x4980,{ 0x9B,0xA0,0xE8,0x76,0x80,0xD1,0xCB,0x74 } }; // E4E98445-9BED-4980-9BA0-E87680D1CB74 template <> inline constexpr guid guid_v{ 0xB55B9F1A,0xBA8C,0x4F84,{ 0xAD,0x79,0x2E,0x7E,0x1E,0x24,0x50,0xF3 } }; // B55B9F1A-BA8C-4F84-AD79-2E7E1E2450F3 template <> inline constexpr guid guid_v{ 0x45AA4FB3,0x7B59,0x524E,{ 0x4A,0x3F,0x4A,0x6A,0xD6,0x65,0x04,0x77 } }; // 45AA4FB3-7B59-524E-4A3F-4A6AD6650477 @@ -273,6 +286,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x8EAC2ED1,0x5BF4,0x4E16,{ 0x82,0x36,0xAE,0x08,0x00,0xC1,0x1D,0x0D } }; // 8EAC2ED1-5BF4-4E16-8236-AE0800C11D0D template <> inline constexpr guid guid_v{ 0x261270E3,0xB696,0x4634,{ 0x94,0xD6,0xBE,0x06,0x81,0x64,0x35,0x99 } }; // 261270E3-B696-4634-94D6-BE0681643599 template <> inline constexpr guid guid_v{ 0xB1AA513F,0x136D,0x4B06,{ 0xB9,0xD4,0xE4,0xB9,0x14,0xCD,0x06,0x83 } }; // B1AA513F-136D-4B06-B9D4-E4B914CD0683 + template <> inline constexpr guid guid_v{ 0x0878FA4C,0xE163,0x57DC,{ 0x82,0xB7,0xC4,0x06,0xAB,0x3E,0x05,0x37 } }; // 0878FA4C-E163-57DC-82B7-C406AB3E0537 template <> inline constexpr guid guid_v{ 0x80CDF3F7,0x842A,0x41E1,{ 0x93,0xED,0x56,0x92,0xAB,0x1F,0xBB,0x10 } }; // 80CDF3F7-842A-41E1-93ED-5692AB1FBB10 template <> inline constexpr guid guid_v{ 0x9ACEA414,0x1D9F,0x4090,{ 0xA3,0x88,0x90,0xC0,0x6F,0x6E,0xAE,0x9C } }; // 9ACEA414-1D9F-4090-A388-90C06F6EAE9C template <> inline constexpr guid guid_v{ 0x75AC3F82,0xE755,0x436C,{ 0x8D,0x96,0x4D,0x32,0xD1,0x31,0x47,0x3E } }; // 75AC3F82-E755-436C-8D96-4D32D131473E @@ -300,6 +314,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x0E777088,0x75FC,0x48AF,{ 0x87,0x58,0x06,0x52,0xF6,0xF0,0x7C,0x59 } }; // 0E777088-75FC-48AF-8758-0652F6F07C59 template <> inline constexpr guid guid_v{ 0x3B00DE3D,0xB1A3,0x4DFE,{ 0x8E,0x79,0xFE,0xC5,0x90,0x9E,0x6D,0xF8 } }; // 3B00DE3D-B1A3-4DFE-8E79-FEC5909E6DF8 template <> inline constexpr guid guid_v{ 0x5C1DE6E6,0x67E9,0x5004,{ 0xB0,0x2C,0x67,0xA3,0xA1,0x22,0xB5,0x76 } }; // 5C1DE6E6-67E9-5004-B02C-67A3A122B576 + template <> inline constexpr guid guid_v{ 0xE241756E,0xE0D0,0x5019,{ 0x9A,0xF5,0x1B,0x16,0x5B,0xC2,0xF5,0x4E } }; // E241756E-E0D0-5019-9AF5-1B165BC2F54E template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicCamera; }; template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicCameraPose; }; template <> struct default_interface{ using type = winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters; }; @@ -424,6 +439,14 @@ namespace winrt::impl virtual int32_t __stdcall put_IsContentProtectionEnabled(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_DepthReprojectionMethod(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_DepthReprojectionMethod(int32_t) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -674,6 +697,13 @@ namespace winrt::impl virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_SupportedDepthReprojectionMethods(void**) noexcept = 0; + }; + }; template struct consume_Windows_Graphics_Holographic_IHolographicCamera { @@ -803,6 +833,16 @@ namespace winrt::impl template using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3; }; template + struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod) DepthReprojectionMethod() const; + WINRT_IMPL_AUTO(void) DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4; + }; + template struct consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters { [[nodiscard]] WINRT_IMPL_AUTO(com_array) HiddenAreaMesh() const; @@ -1114,6 +1154,15 @@ namespace winrt::impl { template using type = consume_Windows_Graphics_Holographic_IHolographicViewConfiguration; }; + template + struct consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedDepthReprojectionMethods() const; + }; + template <> struct consume + { + template using type = consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2; + }; struct struct_Windows_Graphics_Holographic_HolographicAdapterId { uint32_t LowPart; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h index 352dd387..e42998c8 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h @@ -131,6 +131,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic IHolographicCameraRenderingParameters3& operator=(IHolographicCameraRenderingParameters3 const&) & noexcept = default; IHolographicCameraRenderingParameters3& operator=(IHolographicCameraRenderingParameters3&&) & noexcept = default; }; + struct __declspec(empty_bases) IHolographicCameraRenderingParameters4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicCameraRenderingParameters4(std::nullptr_t = nullptr) noexcept {} + IHolographicCameraRenderingParameters4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IHolographicCameraRenderingParameters4(IHolographicCameraRenderingParameters4 const&) noexcept = default; + IHolographicCameraRenderingParameters4(IHolographicCameraRenderingParameters4&&) noexcept = default; + IHolographicCameraRenderingParameters4& operator=(IHolographicCameraRenderingParameters4 const&) & noexcept = default; + IHolographicCameraRenderingParameters4& operator=(IHolographicCameraRenderingParameters4&&) & noexcept = default; + }; struct __declspec(empty_bases) IHolographicCameraViewportParameters : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -431,5 +442,16 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic IHolographicViewConfiguration& operator=(IHolographicViewConfiguration const&) & noexcept = default; IHolographicViewConfiguration& operator=(IHolographicViewConfiguration&&) & noexcept = default; }; + struct __declspec(empty_bases) IHolographicViewConfiguration2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHolographicViewConfiguration2(std::nullptr_t = nullptr) noexcept {} + IHolographicViewConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IHolographicViewConfiguration2(IHolographicViewConfiguration2 const&) noexcept = default; + IHolographicViewConfiguration2(IHolographicViewConfiguration2&&) noexcept = default; + IHolographicViewConfiguration2& operator=(IHolographicViewConfiguration2 const&) & noexcept = default; + IHolographicViewConfiguration2& operator=(IHolographicViewConfiguration2&&) & noexcept = default; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h index 7a8dd38f..7c17fd2f 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h @@ -68,7 +68,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic HolographicCameraPose& operator=(HolographicCameraPose&&) & noexcept = default; }; struct __declspec(empty_bases) HolographicCameraRenderingParameters : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters, - impl::require + impl::require { HolographicCameraRenderingParameters(std::nullptr_t) noexcept {} HolographicCameraRenderingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters(ptr, take_ownership_from_abi) {} @@ -219,7 +219,8 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic HolographicSpaceCameraRemovedEventArgs& operator=(HolographicSpaceCameraRemovedEventArgs const&) & noexcept = default; HolographicSpaceCameraRemovedEventArgs& operator=(HolographicSpaceCameraRemovedEventArgs&&) & noexcept = default; }; - struct __declspec(empty_bases) HolographicViewConfiguration : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration + struct __declspec(empty_bases) HolographicViewConfiguration : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration, + impl::require { HolographicViewConfiguration(std::nullptr_t) noexcept {} HolographicViewConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.0.h index 8dc1ca05..a04a06a9 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.0.h @@ -219,6 +219,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio struct ISpatialAudioFormatConfiguration; struct ISpatialAudioFormatConfigurationStatics; struct ISpatialAudioFormatSubtypeStatics; + struct ISpatialAudioFormatSubtypeStatics2; struct AudioDeviceInputNode; struct AudioDeviceOutputNode; struct AudioFileInputNode; @@ -325,6 +326,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -495,6 +497,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatConfiguration"; template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatConfigurationStatics"; template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatSubtypeStatics"; + template <> inline constexpr auto& name_v = L"Windows.Media.Audio.ISpatialAudioFormatSubtypeStatics2"; template <> inline constexpr guid guid_v{ 0xB01B6BE1,0x6F4E,0x49E2,{ 0xAC,0x01,0x55,0x9D,0x62,0xBE,0xB3,0xA9 } }; // B01B6BE1-6F4E-49E2-AC01-559D62BEB3A9 template <> inline constexpr guid guid_v{ 0x362EDBFF,0xFF1C,0x4434,{ 0x9E,0x0F,0xBD,0x2E,0xF5,0x22,0xAC,0x82 } }; // 362EDBFF-FF1C-4434-9E0F-BD2EF522AC82 template <> inline constexpr guid guid_v{ 0x905B67C8,0x6F65,0x4CD4,{ 0x88,0x90,0x46,0x94,0x84,0x3C,0x27,0x6D } }; // 905B67C8-6F65-4CD4-8890-4694843C276D @@ -559,6 +562,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x32DF09A8,0x50F0,0x5395,{ 0x99,0x23,0x7D,0x44,0xCA,0x71,0xED,0x6D } }; // 32DF09A8-50F0-5395-9923-7D44CA71ED6D template <> inline constexpr guid guid_v{ 0x2B5FEF71,0x67C9,0x4E5F,{ 0xA3,0x5B,0x41,0x68,0x07,0x11,0xF8,0xC7 } }; // 2B5FEF71-67C9-4E5F-A35B-41680711F8C7 template <> inline constexpr guid guid_v{ 0xB3DE8A47,0x83EE,0x4266,{ 0xA9,0x45,0xBE,0xDF,0x50,0x7A,0xFE,0xED } }; // B3DE8A47-83EE-4266-A945-BEDF507AFEED + template <> inline constexpr guid guid_v{ 0x4565E6CB,0xD95B,0x5621,{ 0xB6,0xAF,0x0E,0x88,0x49,0xC5,0x7C,0x80 } }; // 4565E6CB-D95B-5621-B6AF-0E8849C57C80 template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioDeviceInputNode; }; template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioDeviceOutputNode; }; template <> struct default_interface{ using type = winrt::Windows::Media::Audio::IAudioFileInputNode; }; @@ -1269,6 +1273,13 @@ namespace winrt::impl virtual int32_t __stdcall get_DTSXUltra(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_DTSXForHomeTheater(void**) noexcept = 0; + }; + }; template struct consume_Windows_Media_Audio_IAudioDeviceInputNode { @@ -2089,5 +2100,14 @@ namespace winrt::impl { template using type = consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics; }; + template + struct consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2 + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) DTSXForHomeTheater() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.1.h index 325509e5..147257f3 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.1.h @@ -736,5 +736,16 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio ISpatialAudioFormatSubtypeStatics& operator=(ISpatialAudioFormatSubtypeStatics const&) & noexcept = default; ISpatialAudioFormatSubtypeStatics& operator=(ISpatialAudioFormatSubtypeStatics&&) & noexcept = default; }; + struct __declspec(empty_bases) ISpatialAudioFormatSubtypeStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISpatialAudioFormatSubtypeStatics2(std::nullptr_t = nullptr) noexcept {} + ISpatialAudioFormatSubtypeStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ISpatialAudioFormatSubtypeStatics2(ISpatialAudioFormatSubtypeStatics2 const&) noexcept = default; + ISpatialAudioFormatSubtypeStatics2(ISpatialAudioFormatSubtypeStatics2&&) noexcept = default; + ISpatialAudioFormatSubtypeStatics2& operator=(ISpatialAudioFormatSubtypeStatics2 const&) & noexcept = default; + ISpatialAudioFormatSubtypeStatics2& operator=(ISpatialAudioFormatSubtypeStatics2&&) & noexcept = default; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.2.h index cb82fa02..b47d7b7a 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Audio.2.h @@ -409,6 +409,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio [[nodiscard]] static auto DolbyAtmosForSpeakers(); [[nodiscard]] static auto DTSHeadphoneX(); [[nodiscard]] static auto DTSXUltra(); + [[nodiscard]] static auto DTSXForHomeTheater(); }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.0.h index f5f25bc9..3a3d11e7 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.0.h @@ -344,6 +344,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture HdrWithWcgVideo = 7, HdrWithWcgPhoto = 8, VideoHdr8 = 9, + CompressedCamera = 10, }; enum class MediaCaptureDeviceExclusiveControlStatus : int32_t { @@ -372,6 +373,9 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture Media = 2, GameChat = 3, Speech = 4, + FarFieldSpeech = 5, + UniformSpeech = 6, + VoiceTyping = 7, }; enum class MediaStreamType : int32_t { @@ -379,6 +383,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture VideoRecord = 1, Audio = 2, Photo = 3, + Metadata = 4, }; enum class PhotoCaptureSource : int32_t { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h index 230eae16..908c3267 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h @@ -97,6 +97,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames Depth = 3, Audio = 4, Image = 5, + Metadata = 6, }; enum class MediaFrameSourceSetPropertyStatus : int32_t { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.0.h index 157a3198..87c0cb68 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.0.h @@ -225,6 +225,23 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core NetworkError = 2, InternalError = 3, }; + enum class TimedTextBoutenPosition : int32_t + { + Before = 0, + After = 1, + Outside = 2, + }; + enum class TimedTextBoutenType : int32_t + { + None = 0, + Auto = 1, + FilledCircle = 2, + OpenCircle = 3, + FilledDot = 4, + OpenDot = 5, + FilledSesame = 6, + OpenSesame = 7, + }; enum class TimedTextDisplayAlignment : int32_t { Before = 0, @@ -248,6 +265,29 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core End = 1, Center = 2, }; + enum class TimedTextRubyAlign : int32_t + { + Center = 0, + Start = 1, + End = 2, + SpaceAround = 3, + SpaceBetween = 4, + WithBase = 5, + }; + enum class TimedTextRubyPosition : int32_t + { + Before = 0, + After = 1, + Outside = 2, + }; + enum class TimedTextRubyReserve : int32_t + { + None = 0, + Before = 1, + After = 2, + Both = 3, + Outside = 4, + }; enum class TimedTextScrollMode : int32_t { Popon = 0, @@ -371,15 +411,18 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core struct ITimedMetadataTrackFactory; struct ITimedMetadataTrackFailedEventArgs; struct ITimedMetadataTrackProvider; + struct ITimedTextBouten; struct ITimedTextCue; struct ITimedTextLine; struct ITimedTextRegion; + struct ITimedTextRuby; struct ITimedTextSource; struct ITimedTextSourceResolveResultEventArgs; struct ITimedTextSourceStatics; struct ITimedTextSourceStatics2; struct ITimedTextStyle; struct ITimedTextStyle2; + struct ITimedTextStyle3; struct ITimedTextSubformat; struct IVideoStabilizationEffect; struct IVideoStabilizationEffectEnabledChangedEventArgs; @@ -444,9 +487,11 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core struct TimedMetadataTrack; struct TimedMetadataTrackError; struct TimedMetadataTrackFailedEventArgs; + struct TimedTextBouten; struct TimedTextCue; struct TimedTextLine; struct TimedTextRegion; + struct TimedTextRuby; struct TimedTextSource; struct TimedTextSourceResolveResultEventArgs; struct TimedTextStyle; @@ -553,15 +598,18 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -626,9 +674,11 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -657,10 +707,15 @@ namespace winrt::impl template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -727,9 +782,11 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrack"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrackError"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrackFailedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextBouten"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextCue"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextLine"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRegion"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRuby"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextSource"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextSourceResolveResultEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextStyle"; @@ -758,10 +815,15 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Core.SceneAnalysisRecommendation"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataKind"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedMetadataTrackErrorCode"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextBoutenPosition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextBoutenType"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextDisplayAlignment"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextFlowDirection"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextFontStyle"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextLineAlignment"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRubyAlign"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRubyPosition"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextRubyReserve"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextScrollMode"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextUnit"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.TimedTextWeight"; @@ -860,15 +922,18 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrackFactory"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrackFailedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedMetadataTrackProvider"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextBouten"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextCue"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextLine"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextRegion"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextRuby"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSource"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSourceResolveResultEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSourceStatics"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSourceStatics2"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextStyle"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextStyle2"; + template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextStyle3"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.ITimedTextSubformat"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoStabilizationEffect"; template <> inline constexpr auto& name_v = L"Windows.Media.Core.IVideoStabilizationEffectEnabledChangedEventArgs"; @@ -965,15 +1030,18 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x8DD57611,0x97B3,0x4E1F,{ 0x85,0x2C,0x0F,0x48,0x2C,0x81,0xAD,0x26 } }; // 8DD57611-97B3-4E1F-852C-0F482C81AD26 template <> inline constexpr guid guid_v{ 0xA57FC9D1,0x6789,0x4D4D,{ 0xB0,0x7F,0x84,0xB4,0xF3,0x1A,0xCB,0x70 } }; // A57FC9D1-6789-4D4D-B07F-84B4F31ACB70 template <> inline constexpr guid guid_v{ 0x3B7F2024,0xF74E,0x4ADE,{ 0x93,0xC5,0x21,0x9D,0xA0,0x5B,0x68,0x56 } }; // 3B7F2024-F74E-4ADE-93C5-219DA05B6856 + template <> inline constexpr guid guid_v{ 0xD9062783,0x5597,0x5092,{ 0x82,0x0C,0x8F,0x73,0x8E,0x0F,0x77,0x4A } }; // D9062783-5597-5092-820C-8F738E0F774A template <> inline constexpr guid guid_v{ 0x51C79E51,0x3B86,0x494D,{ 0xB3,0x59,0xBB,0x2E,0xA7,0xAC,0xA9,0xA9 } }; // 51C79E51-3B86-494D-B359-BB2EA7ACA9A9 template <> inline constexpr guid guid_v{ 0x978D7CE2,0x7308,0x4C66,{ 0xBE,0x50,0x65,0x77,0x72,0x89,0xF5,0xDF } }; // 978D7CE2-7308-4C66-BE50-65777289F5DF template <> inline constexpr guid guid_v{ 0x1ED0881F,0x8A06,0x4222,{ 0x9F,0x59,0xB2,0x1B,0xF4,0x01,0x24,0xB4 } }; // 1ED0881F-8A06-4222-9F59-B21BF40124B4 + template <> inline constexpr guid guid_v{ 0x10335C29,0x5B3C,0x5693,{ 0x99,0x59,0xD0,0x5A,0x0B,0xD2,0x46,0x28 } }; // 10335C29-5B3C-5693-9959-D05A0BD24628 template <> inline constexpr guid guid_v{ 0xC4ED9BA6,0x101F,0x404D,{ 0xA9,0x49,0x82,0xF3,0x3F,0xCD,0x93,0xB7 } }; // C4ED9BA6-101F-404D-A949-82F33FCD93B7 template <> inline constexpr guid guid_v{ 0x48907C9C,0xDCD8,0x4C33,{ 0x9A,0xD3,0x6C,0xDC,0xE7,0xB1,0xC5,0x66 } }; // 48907C9C-DCD8-4C33-9AD3-6CDCE7B1C566 template <> inline constexpr guid guid_v{ 0x7E311853,0x9ABA,0x4AC4,{ 0xBB,0x98,0x2F,0xB1,0x76,0xC3,0xBF,0xDD } }; // 7E311853-9ABA-4AC4-BB98-2FB176C3BFDD template <> inline constexpr guid guid_v{ 0xB66B7602,0x923E,0x43FA,{ 0x96,0x33,0x58,0x70,0x75,0x81,0x2D,0xB5 } }; // B66B7602-923E-43FA-9633-587075812DB5 template <> inline constexpr guid guid_v{ 0x1BB2384D,0xA825,0x40C2,{ 0xA7,0xF5,0x28,0x1E,0xAE,0xDF,0x3B,0x55 } }; // 1BB2384D-A825-40C2-A7F5-281EAEDF3B55 template <> inline constexpr guid guid_v{ 0x655F492D,0x6111,0x4787,{ 0x89,0xCC,0x68,0x6F,0xEC,0xE5,0x7E,0x14 } }; // 655F492D-6111-4787-89CC-686FECE57E14 + template <> inline constexpr guid guid_v{ 0xF803F93B,0x3E99,0x595E,{ 0xBB,0xB7,0x78,0xA2,0xFA,0x13,0xC2,0x70 } }; // F803F93B-3E99-595E-BBB7-78A2FA13C270 template <> inline constexpr guid guid_v{ 0xD713502F,0x3261,0x4722,{ 0xA0,0xC2,0xB9,0x37,0xB2,0x39,0x0F,0x14 } }; // D713502F-3261-4722-A0C2-B937B2390F14 template <> inline constexpr guid guid_v{ 0x0808A650,0x9698,0x4E57,{ 0x87,0x7B,0xBD,0x7C,0xB2,0xEE,0x0F,0x8A } }; // 0808A650-9698-4E57-877B-BD7CB2EE0F8A template <> inline constexpr guid guid_v{ 0x187EFF28,0x67BB,0x4713,{ 0xB9,0x00,0x41,0x68,0xDA,0x16,0x45,0x29 } }; // 187EFF28-67BB-4713-B900-4168DA164529 @@ -1036,9 +1104,11 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedMetadataTrack; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedMetadataTrackError; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextBouten; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextCue; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextLine; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextRegion; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextRuby; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextSource; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::Core::ITimedTextStyle; }; @@ -1917,6 +1987,18 @@ namespace winrt::impl virtual int32_t __stdcall get_TimedMetadataTracks(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Type(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0; + virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0; + virtual int32_t __stdcall get_Position(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int32_t) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1967,6 +2049,20 @@ namespace winrt::impl virtual int32_t __stdcall put_ScrollMode(int32_t) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Text(void**) noexcept = 0; + virtual int32_t __stdcall put_Text(void*) noexcept = 0; + virtual int32_t __stdcall get_Position(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Position(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Align(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Align(int32_t) noexcept = 0; + virtual int32_t __stdcall get_Reserve(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Reserve(int32_t) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2047,6 +2143,18 @@ namespace winrt::impl virtual int32_t __stdcall put_IsOverlineEnabled(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Ruby(void**) noexcept = 0; + virtual int32_t __stdcall get_Bouten(void**) noexcept = 0; + virtual int32_t __stdcall get_IsTextCombined(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsTextCombined(bool) noexcept = 0; + virtual int32_t __stdcall get_FontAngleInDegrees(double*) noexcept = 0; + virtual int32_t __stdcall put_FontAngleInDegrees(double) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -3225,6 +3333,20 @@ namespace winrt::impl template using type = consume_Windows_Media_Core_ITimedMetadataTrackProvider; }; template + struct consume_Windows_Media_Core_ITimedTextBouten + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenType) Type() const; + WINRT_IMPL_AUTO(void) Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; + WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenPosition) Position() const; + WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextBouten; + }; + template struct consume_Windows_Media_Core_ITimedTextCue { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRegion) CueRegion() const; @@ -3281,6 +3403,22 @@ namespace winrt::impl template using type = consume_Windows_Media_Core_ITimedTextRegion; }; template + struct consume_Windows_Media_Core_ITimedTextRuby + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const; + WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyPosition) Position() const; + WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyAlign) Align() const; + WINRT_IMPL_AUTO(void) Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyReserve) Reserve() const; + WINRT_IMPL_AUTO(void) Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextRuby; + }; + template struct consume_Windows_Media_Core_ITimedTextSource { WINRT_IMPL_AUTO(winrt::event_token) Resolved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; @@ -3375,6 +3513,20 @@ namespace winrt::impl template using type = consume_Windows_Media_Core_ITimedTextStyle2; }; template + struct consume_Windows_Media_Core_ITimedTextStyle3 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRuby) Ruby() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBouten) Bouten() const; + [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextCombined() const; + WINRT_IMPL_AUTO(void) IsTextCombined(bool value) const; + [[nodiscard]] WINRT_IMPL_AUTO(double) FontAngleInDegrees() const; + WINRT_IMPL_AUTO(void) FontAngleInDegrees(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Core_ITimedTextStyle3; + }; + template struct consume_Windows_Media_Core_ITimedTextSubformat { [[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartIndex() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.1.h index 4e1bb6bc..559b9fdb 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.1.h @@ -990,6 +990,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core ITimedMetadataTrackProvider& operator=(ITimedMetadataTrackProvider const&) & noexcept = default; ITimedMetadataTrackProvider& operator=(ITimedMetadataTrackProvider&&) & noexcept = default; }; + struct __declspec(empty_bases) ITimedTextBouten : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextBouten(std::nullptr_t = nullptr) noexcept {} + ITimedTextBouten(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ITimedTextBouten(ITimedTextBouten const&) noexcept = default; + ITimedTextBouten(ITimedTextBouten&&) noexcept = default; + ITimedTextBouten& operator=(ITimedTextBouten const&) & noexcept = default; + ITimedTextBouten& operator=(ITimedTextBouten&&) & noexcept = default; + }; struct __declspec(empty_bases) ITimedTextCue : winrt::Windows::Foundation::IInspectable, impl::consume_t, @@ -1024,6 +1035,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core ITimedTextRegion& operator=(ITimedTextRegion const&) & noexcept = default; ITimedTextRegion& operator=(ITimedTextRegion&&) & noexcept = default; }; + struct __declspec(empty_bases) ITimedTextRuby : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextRuby(std::nullptr_t = nullptr) noexcept {} + ITimedTextRuby(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ITimedTextRuby(ITimedTextRuby const&) noexcept = default; + ITimedTextRuby(ITimedTextRuby&&) noexcept = default; + ITimedTextRuby& operator=(ITimedTextRuby const&) & noexcept = default; + ITimedTextRuby& operator=(ITimedTextRuby&&) & noexcept = default; + }; struct __declspec(empty_bases) ITimedTextSource : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1090,6 +1112,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core ITimedTextStyle2& operator=(ITimedTextStyle2 const&) & noexcept = default; ITimedTextStyle2& operator=(ITimedTextStyle2&&) & noexcept = default; }; + struct __declspec(empty_bases) ITimedTextStyle3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ITimedTextStyle3(std::nullptr_t = nullptr) noexcept {} + ITimedTextStyle3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ITimedTextStyle3(ITimedTextStyle3 const&) noexcept = default; + ITimedTextStyle3(ITimedTextStyle3&&) noexcept = default; + ITimedTextStyle3& operator=(ITimedTextStyle3 const&) & noexcept = default; + ITimedTextStyle3& operator=(ITimedTextStyle3&&) & noexcept = default; + }; struct __declspec(empty_bases) ITimedTextSubformat : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.2.h index bd15f0b9..fd926887 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Core.2.h @@ -671,6 +671,15 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core TimedMetadataTrackFailedEventArgs& operator=(TimedMetadataTrackFailedEventArgs const&) & noexcept = default; TimedMetadataTrackFailedEventArgs& operator=(TimedMetadataTrackFailedEventArgs&&) & noexcept = default; }; + struct __declspec(empty_bases) TimedTextBouten : winrt::Windows::Media::Core::ITimedTextBouten + { + TimedTextBouten(std::nullptr_t) noexcept {} + TimedTextBouten(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextBouten(ptr, take_ownership_from_abi) {} + TimedTextBouten(TimedTextBouten const&) noexcept = default; + TimedTextBouten(TimedTextBouten&&) noexcept = default; + TimedTextBouten& operator=(TimedTextBouten const&) & noexcept = default; + TimedTextBouten& operator=(TimedTextBouten&&) & noexcept = default; + }; struct __declspec(empty_bases) TimedTextCue : winrt::Windows::Media::Core::ITimedTextCue { TimedTextCue(std::nullptr_t) noexcept {} @@ -701,6 +710,15 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core TimedTextRegion& operator=(TimedTextRegion const&) & noexcept = default; TimedTextRegion& operator=(TimedTextRegion&&) & noexcept = default; }; + struct __declspec(empty_bases) TimedTextRuby : winrt::Windows::Media::Core::ITimedTextRuby + { + TimedTextRuby(std::nullptr_t) noexcept {} + TimedTextRuby(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextRuby(ptr, take_ownership_from_abi) {} + TimedTextRuby(TimedTextRuby const&) noexcept = default; + TimedTextRuby(TimedTextRuby&&) noexcept = default; + TimedTextRuby& operator=(TimedTextRuby const&) & noexcept = default; + TimedTextRuby& operator=(TimedTextRuby&&) & noexcept = default; + }; struct __declspec(empty_bases) TimedTextSource : winrt::Windows::Media::Core::ITimedTextSource { TimedTextSource(std::nullptr_t) noexcept {} @@ -728,7 +746,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core TimedTextSourceResolveResultEventArgs& operator=(TimedTextSourceResolveResultEventArgs&&) & noexcept = default; }; struct __declspec(empty_bases) TimedTextStyle : winrt::Windows::Media::Core::ITimedTextStyle, - impl::require + impl::require { TimedTextStyle(std::nullptr_t) noexcept {} TimedTextStyle(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextStyle(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.0.h index 3b7507f7..c51db285 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.0.h @@ -100,6 +100,12 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices Tungsten = 6, Candlelight = 7, }; + enum class DigitalWindowMode : int32_t + { + Off = 0, + On = 1, + Auto = 2, + }; enum class FocusMode : int32_t { Auto = 0, @@ -248,6 +254,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices struct IAdvancedVideoCaptureDeviceController6; struct IAdvancedVideoCaptureDeviceController7; struct IAdvancedVideoCaptureDeviceController8; + struct IAdvancedVideoCaptureDeviceController9; struct IAudioDeviceController; struct IAudioDeviceModule; struct IAudioDeviceModuleNotificationEventArgs; @@ -257,6 +264,9 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices struct ICallControlStatics; struct IDefaultAudioDeviceChangedEventArgs; struct IDialRequestedEventArgs; + struct IDigitalWindowBounds; + struct IDigitalWindowCapability; + struct IDigitalWindowControl; struct IExposureCompensationControl; struct IExposureControl; struct IExposurePriorityVideoControl; @@ -303,6 +313,9 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices struct DefaultAudioCaptureDeviceChangedEventArgs; struct DefaultAudioRenderDeviceChangedEventArgs; struct DialRequestedEventArgs; + struct DigitalWindowBounds; + struct DigitalWindowCapability; + struct DigitalWindowControl; struct ExposureCompensationControl; struct ExposureControl; struct ExposurePriorityVideoControl; @@ -350,6 +363,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -359,6 +373,9 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -405,6 +422,9 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -442,6 +462,7 @@ namespace winrt::impl template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -473,6 +494,9 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DialRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowBounds"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowCapability"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowControl"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ExposureCompensationControl"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ExposureControl"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ExposurePriorityVideoControl"; @@ -510,6 +534,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CaptureSceneMode"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.CaptureUse"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ColorTemperaturePreset"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.DigitalWindowMode"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.FocusMode"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.FocusPreset"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.HdrVideoMode"; @@ -537,6 +562,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController6"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController7"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController8"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController9"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceController"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceModule"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IAudioDeviceModuleNotificationEventArgs"; @@ -546,6 +572,9 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Media.Devices.ICallControlStatics"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDefaultAudioDeviceChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDialRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDigitalWindowBounds"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDigitalWindowCapability"; + template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IDigitalWindowControl"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IExposureCompensationControl"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IExposureControl"; template <> inline constexpr auto& name_v = L"Windows.Media.Devices.IExposurePriorityVideoControl"; @@ -596,6 +625,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xB6563A53,0x68A1,0x44B7,{ 0x9F,0x89,0xB5,0xFA,0x97,0xAC,0x0C,0xBE } }; // B6563A53-68A1-44B7-9F89-B5FA97AC0CBE template <> inline constexpr guid guid_v{ 0x8D2927F0,0xA054,0x50E7,{ 0xB7,0xDF,0x7C,0x04,0x23,0x4D,0x10,0xF0 } }; // 8D2927F0-A054-50E7-B7DF-7C04234D10F0 template <> inline constexpr guid guid_v{ 0xD843F010,0xE7FB,0x595B,{ 0x9A,0x78,0x0E,0x54,0xC4,0x53,0x2B,0x43 } }; // D843F010-E7FB-595B-9A78-0E54C4532B43 + template <> inline constexpr guid guid_v{ 0x8BDCA95D,0x0255,0x51BC,{ 0xA1,0x0D,0x5A,0x16,0x9E,0xC1,0x62,0x5A } }; // 8BDCA95D-0255-51BC-A10D-5A169EC1625A template <> inline constexpr guid guid_v{ 0xEDD4A388,0x79C7,0x4F7C,{ 0x90,0xE8,0xEF,0x93,0x4B,0x21,0x58,0x0A } }; // EDD4A388-79C7-4F7C-90E8-EF934B21580A template <> inline constexpr guid guid_v{ 0x86CFAC36,0x47C1,0x4B33,{ 0x98,0x52,0x87,0x73,0xEC,0x4B,0xE1,0x23 } }; // 86CFAC36-47C1-4B33-9852-8773EC4BE123 template <> inline constexpr guid guid_v{ 0xE3E3CCAF,0x224C,0x48BE,{ 0x95,0x6B,0x9A,0x13,0x13,0x4E,0x96,0xE8 } }; // E3E3CCAF-224C-48BE-956B-9A13134E96E8 @@ -605,6 +635,9 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x03945AD5,0x85AB,0x40E1,{ 0xAF,0x19,0x56,0xC9,0x43,0x03,0xB0,0x19 } }; // 03945AD5-85AB-40E1-AF19-56C94303B019 template <> inline constexpr guid guid_v{ 0x110F882F,0x1C05,0x4657,{ 0xA1,0x8E,0x47,0xC9,0xB6,0x9F,0x07,0xAB } }; // 110F882F-1C05-4657-A18E-47C9B69F07AB template <> inline constexpr guid guid_v{ 0x037B929E,0x953C,0x4286,{ 0x88,0x66,0x4F,0x0F,0x37,0x6C,0x85,0x5A } }; // 037B929E-953C-4286-8866-4F0F376C855A + template <> inline constexpr guid guid_v{ 0xDD4F21DD,0xD173,0x5C6B,{ 0x8C,0x25,0xBD,0xD2,0x6D,0x51,0x22,0xB1 } }; // DD4F21DD-D173-5C6B-8C25-BDD26D5122B1 + template <> inline constexpr guid guid_v{ 0xD78BAD2C,0xF721,0x5244,{ 0xA1,0x96,0xB5,0x6C,0xCB,0xEC,0x60,0x6C } }; // D78BAD2C-F721-5244-A196-B56CCBEC606C + template <> inline constexpr guid guid_v{ 0x23B69EFF,0x65D2,0x53EA,{ 0x87,0x80,0xDE,0x58,0x2B,0x48,0xB5,0x44 } }; // 23B69EFF-65D2-53EA-8780-DE582B48B544 template <> inline constexpr guid guid_v{ 0x81C8E834,0xDCEC,0x4011,{ 0xA6,0x10,0x1F,0x38,0x47,0xE6,0x4A,0xCA } }; // 81C8E834-DCEC-4011-A610-1F3847E64ACA template <> inline constexpr guid guid_v{ 0x09E8CBE2,0xAD96,0x4F28,{ 0xA0,0xE0,0x96,0xED,0x7E,0x1B,0x5F,0xD2 } }; // 09E8CBE2-AD96-4F28-A0E0-96ED7E1B5FD2 template <> inline constexpr guid guid_v{ 0x2CB240A3,0x5168,0x4271,{ 0x9E,0xA5,0x47,0x62,0x1A,0x98,0xA3,0x52 } }; // 2CB240A3-5168-4271-9EA5-47621A98A352 @@ -655,6 +688,9 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDialRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDigitalWindowBounds; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDigitalWindowCapability; }; + template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IDigitalWindowControl; }; template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IExposureCompensationControl; }; template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IExposureControl; }; template <> struct default_interface{ using type = winrt::Windows::Media::Devices::IExposurePriorityVideoControl; }; @@ -782,6 +818,13 @@ namespace winrt::impl virtual int32_t __stdcall get_PanelBasedOptimizationControl(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_DigitalWindowControl(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -876,6 +919,44 @@ namespace winrt::impl virtual int32_t __stdcall get_Contact(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_NormalizedOriginTop(double*) noexcept = 0; + virtual int32_t __stdcall put_NormalizedOriginTop(double) noexcept = 0; + virtual int32_t __stdcall get_NormalizedOriginLeft(double*) noexcept = 0; + virtual int32_t __stdcall put_NormalizedOriginLeft(double) noexcept = 0; + virtual int32_t __stdcall get_Scale(double*) noexcept = 0; + virtual int32_t __stdcall put_Scale(double) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Width(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Height(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MinScaleValue(double*) noexcept = 0; + virtual int32_t __stdcall get_MaxScaleValue(double*) noexcept = 0; + virtual int32_t __stdcall get_MinScaleValueWithoutUpsampling(double*) noexcept = 0; + virtual int32_t __stdcall get_NormalizedFieldOfViewLimit(winrt::Windows::Foundation::Rect*) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; + virtual int32_t __stdcall get_SupportedModes(uint32_t* __valueSize, int32_t**) noexcept = 0; + virtual int32_t __stdcall get_CurrentMode(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetBounds(void**) noexcept = 0; + virtual int32_t __stdcall Configure(int32_t) noexcept = 0; + virtual int32_t __stdcall ConfigureWithBounds(int32_t, void*) noexcept = 0; + virtual int32_t __stdcall get_SupportedCapabilities(void**) noexcept = 0; + virtual int32_t __stdcall GetCapabilityForSize(int32_t, int32_t, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1461,6 +1542,15 @@ namespace winrt::impl template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8; }; template + struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) DigitalWindowControl() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9; + }; + template struct consume_Windows_Media_Devices_IAudioDeviceController { WINRT_IMPL_AUTO(void) Muted(bool value) const; @@ -1587,6 +1677,50 @@ namespace winrt::impl template using type = consume_Windows_Media_Devices_IDialRequestedEventArgs; }; template + struct consume_Windows_Media_Devices_IDigitalWindowBounds + { + [[nodiscard]] WINRT_IMPL_AUTO(double) NormalizedOriginTop() const; + WINRT_IMPL_AUTO(void) NormalizedOriginTop(double value) const; + [[nodiscard]] WINRT_IMPL_AUTO(double) NormalizedOriginLeft() const; + WINRT_IMPL_AUTO(void) NormalizedOriginLeft(double value) const; + [[nodiscard]] WINRT_IMPL_AUTO(double) Scale() const; + WINRT_IMPL_AUTO(void) Scale(double value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDigitalWindowBounds; + }; + template + struct consume_Windows_Media_Devices_IDigitalWindowCapability + { + [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Width() const; + [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Height() const; + [[nodiscard]] WINRT_IMPL_AUTO(double) MinScaleValue() const; + [[nodiscard]] WINRT_IMPL_AUTO(double) MaxScaleValue() const; + [[nodiscard]] WINRT_IMPL_AUTO(double) MinScaleValueWithoutUpsampling() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) NormalizedFieldOfViewLimit() const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDigitalWindowCapability; + }; + template + struct consume_Windows_Media_Devices_IDigitalWindowControl + { + [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; + [[nodiscard]] WINRT_IMPL_AUTO(com_array) SupportedModes() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowMode) CurrentMode() const; + WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowBounds) GetBounds() const; + WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const; + WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SupportedCapabilities() const; + WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowCapability) GetCapabilityForSize(int32_t width, int32_t height) const; + }; + template <> struct consume + { + template using type = consume_Windows_Media_Devices_IDigitalWindowControl; + }; + template struct consume_Windows_Media_Devices_IExposureCompensationControl { [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.1.h index 7f62affb..41b84620 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.1.h @@ -115,6 +115,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices IAdvancedVideoCaptureDeviceController8& operator=(IAdvancedVideoCaptureDeviceController8 const&) & noexcept = default; IAdvancedVideoCaptureDeviceController8& operator=(IAdvancedVideoCaptureDeviceController8&&) & noexcept = default; }; + struct __declspec(empty_bases) IAdvancedVideoCaptureDeviceController9 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAdvancedVideoCaptureDeviceController9(std::nullptr_t = nullptr) noexcept {} + IAdvancedVideoCaptureDeviceController9(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IAdvancedVideoCaptureDeviceController9(IAdvancedVideoCaptureDeviceController9 const&) noexcept = default; + IAdvancedVideoCaptureDeviceController9(IAdvancedVideoCaptureDeviceController9&&) noexcept = default; + IAdvancedVideoCaptureDeviceController9& operator=(IAdvancedVideoCaptureDeviceController9 const&) & noexcept = default; + IAdvancedVideoCaptureDeviceController9& operator=(IAdvancedVideoCaptureDeviceController9&&) & noexcept = default; + }; struct __declspec(empty_bases) IAudioDeviceController : winrt::Windows::Foundation::IInspectable, impl::consume_t, @@ -215,6 +226,39 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices IDialRequestedEventArgs& operator=(IDialRequestedEventArgs const&) & noexcept = default; IDialRequestedEventArgs& operator=(IDialRequestedEventArgs&&) & noexcept = default; }; + struct __declspec(empty_bases) IDigitalWindowBounds : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDigitalWindowBounds(std::nullptr_t = nullptr) noexcept {} + IDigitalWindowBounds(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IDigitalWindowBounds(IDigitalWindowBounds const&) noexcept = default; + IDigitalWindowBounds(IDigitalWindowBounds&&) noexcept = default; + IDigitalWindowBounds& operator=(IDigitalWindowBounds const&) & noexcept = default; + IDigitalWindowBounds& operator=(IDigitalWindowBounds&&) & noexcept = default; + }; + struct __declspec(empty_bases) IDigitalWindowCapability : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDigitalWindowCapability(std::nullptr_t = nullptr) noexcept {} + IDigitalWindowCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IDigitalWindowCapability(IDigitalWindowCapability const&) noexcept = default; + IDigitalWindowCapability(IDigitalWindowCapability&&) noexcept = default; + IDigitalWindowCapability& operator=(IDigitalWindowCapability const&) & noexcept = default; + IDigitalWindowCapability& operator=(IDigitalWindowCapability&&) & noexcept = default; + }; + struct __declspec(empty_bases) IDigitalWindowControl : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDigitalWindowControl(std::nullptr_t = nullptr) noexcept {} + IDigitalWindowControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IDigitalWindowControl(IDigitalWindowControl const&) noexcept = default; + IDigitalWindowControl(IDigitalWindowControl&&) noexcept = default; + IDigitalWindowControl& operator=(IDigitalWindowControl const&) & noexcept = default; + IDigitalWindowControl& operator=(IDigitalWindowControl&&) & noexcept = default; + }; struct __declspec(empty_bases) IExposureCompensationControl : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.2.h index f0bec5d0..22e5be98 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Devices.2.h @@ -160,6 +160,34 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices DialRequestedEventArgs& operator=(DialRequestedEventArgs const&) & noexcept = default; DialRequestedEventArgs& operator=(DialRequestedEventArgs&&) & noexcept = default; }; + struct __declspec(empty_bases) DigitalWindowBounds : winrt::Windows::Media::Devices::IDigitalWindowBounds + { + DigitalWindowBounds(std::nullptr_t) noexcept {} + DigitalWindowBounds(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowBounds(ptr, take_ownership_from_abi) {} + DigitalWindowBounds(); + DigitalWindowBounds(DigitalWindowBounds const&) noexcept = default; + DigitalWindowBounds(DigitalWindowBounds&&) noexcept = default; + DigitalWindowBounds& operator=(DigitalWindowBounds const&) & noexcept = default; + DigitalWindowBounds& operator=(DigitalWindowBounds&&) & noexcept = default; + }; + struct __declspec(empty_bases) DigitalWindowCapability : winrt::Windows::Media::Devices::IDigitalWindowCapability + { + DigitalWindowCapability(std::nullptr_t) noexcept {} + DigitalWindowCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowCapability(ptr, take_ownership_from_abi) {} + DigitalWindowCapability(DigitalWindowCapability const&) noexcept = default; + DigitalWindowCapability(DigitalWindowCapability&&) noexcept = default; + DigitalWindowCapability& operator=(DigitalWindowCapability const&) & noexcept = default; + DigitalWindowCapability& operator=(DigitalWindowCapability&&) & noexcept = default; + }; + struct __declspec(empty_bases) DigitalWindowControl : winrt::Windows::Media::Devices::IDigitalWindowControl + { + DigitalWindowControl(std::nullptr_t) noexcept {} + DigitalWindowControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowControl(ptr, take_ownership_from_abi) {} + DigitalWindowControl(DigitalWindowControl const&) noexcept = default; + DigitalWindowControl(DigitalWindowControl&&) noexcept = default; + DigitalWindowControl& operator=(DigitalWindowControl const&) & noexcept = default; + DigitalWindowControl& operator=(DigitalWindowControl&&) & noexcept = default; + }; struct __declspec(empty_bases) ExposureCompensationControl : winrt::Windows::Media::Devices::IExposureCompensationControl { ExposureCompensationControl(std::nullptr_t) noexcept {} @@ -391,7 +419,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices TorchControl& operator=(TorchControl&&) & noexcept = default; }; struct __declspec(empty_bases) VideoDeviceController : winrt::Windows::Media::Devices::IVideoDeviceController, - impl::require + impl::require { VideoDeviceController(std::nullptr_t) noexcept {} VideoDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IVideoDeviceController(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Effects.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Effects.0.h index 1dd948e4..54a10dd1 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Effects.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Media.Effects.0.h @@ -86,6 +86,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Effects SpeakerProtection = 15, SpeakerCompensation = 16, DynamicRangeCompression = 17, + FarFieldBeamForming = 18, }; enum class MediaEffectClosedReason : int32_t { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h index f3f27974..cc07e8d7 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h @@ -68,8 +68,10 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity RsnaPsk = 8, Ihv = 9, Wpa3 = 10, + Wpa3Enterprise192Bits = 10, Wpa3Sae = 11, Owe = 12, + Wpa3Enterprise = 13, }; enum class NetworkConnectivityLevel : int32_t { @@ -97,6 +99,8 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity WpaUseGroup = 7, RsnUseGroup = 8, Ihv = 9, + Gcmp = 10, + Gcmp256 = 11, }; enum class NetworkTypes : uint32_t { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h index 01d9727c..e4a9af50 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h @@ -53,6 +53,8 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators Hsdpa = 0x8, Hsupa = 0x10, LteAdvanced = 0x20, + NewRadioNonStandalone = 0x40, + NewRadioStandalone = 0x80, Cdma1xRtt = 0x10000, Cdma1xEvdo = 0x20000, Cdma1xEvdoRevA = 0x40000, @@ -100,6 +102,11 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators OperationProhibitedByProfileClass = 21, ProfileNotPresent = 22, NoCorrespondingRequest = 23, + TimeoutWaitingForResponse = 24, + IccidAlreadyExists = 25, + ProfileProcessingError = 26, + ServerNotTrusted = 27, + ProfileDownloadMaxRetriesExceeded = 28, }; enum class ESimProfileClass : int32_t { @@ -204,6 +211,19 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators Off = 0, On = 1, }; + enum class MobileBroadbandSlotState : int32_t + { + Unmanaged = 0, + Unknown = 1, + OffEmpty = 2, + Off = 3, + Empty = 4, + NotReady = 5, + Active = 6, + Error = 7, + ActiveEsim = 8, + ActiveEsimNoProfile = 9, + }; enum class MobileBroadbandUiccAppOperationStatus : int32_t { Success = 0, @@ -367,12 +387,16 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators struct IMobileBroadbandCellCdma; struct IMobileBroadbandCellGsm; struct IMobileBroadbandCellLte; + struct IMobileBroadbandCellNR; struct IMobileBroadbandCellTdscdma; struct IMobileBroadbandCellUmts; struct IMobileBroadbandCellsInfo; + struct IMobileBroadbandCellsInfo2; + struct IMobileBroadbandCurrentSlotIndexChangedEventArgs; struct IMobileBroadbandDeviceInformation; struct IMobileBroadbandDeviceInformation2; struct IMobileBroadbandDeviceInformation3; + struct IMobileBroadbandDeviceInformation4; struct IMobileBroadbandDeviceService; struct IMobileBroadbandDeviceServiceCommandResult; struct IMobileBroadbandDeviceServiceCommandSession; @@ -403,6 +427,9 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators struct IMobileBroadbandRadioStateChange; struct IMobileBroadbandRadioStateChangeTriggerDetails; struct IMobileBroadbandSarManager; + struct IMobileBroadbandSlotInfo; + struct IMobileBroadbandSlotInfoChangedEventArgs; + struct IMobileBroadbandSlotManager; struct IMobileBroadbandTransmissionStateChangedEventArgs; struct IMobileBroadbandUicc; struct IMobileBroadbandUiccApp; @@ -463,9 +490,11 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators struct MobileBroadbandCellCdma; struct MobileBroadbandCellGsm; struct MobileBroadbandCellLte; + struct MobileBroadbandCellNR; struct MobileBroadbandCellTdscdma; struct MobileBroadbandCellUmts; struct MobileBroadbandCellsInfo; + struct MobileBroadbandCurrentSlotIndexChangedEventArgs; struct MobileBroadbandDeviceInformation; struct MobileBroadbandDeviceService; struct MobileBroadbandDeviceServiceCommandResult; @@ -490,6 +519,9 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators struct MobileBroadbandRadioStateChange; struct MobileBroadbandRadioStateChangeTriggerDetails; struct MobileBroadbandSarManager; + struct MobileBroadbandSlotInfo; + struct MobileBroadbandSlotInfoChangedEventArgs; + struct MobileBroadbandSlotManager; struct MobileBroadbandTransmissionStateChangedEventArgs; struct MobileBroadbandUicc; struct MobileBroadbandUiccApp; @@ -552,12 +584,16 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -588,6 +624,9 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -648,9 +687,11 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -675,6 +716,9 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -711,6 +755,7 @@ namespace winrt::impl template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -758,9 +803,11 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellCdma"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellGsm"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellLte"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellNR"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellTdscdma"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellUmts"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCellsInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandCurrentSlotIndexChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceInformation"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceService"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandResult"; @@ -785,6 +832,9 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChange"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChangeTriggerDetails"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSarManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotInfoChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotManager"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandTransmissionStateChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUicc"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccApp"; @@ -821,6 +871,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinLockState"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandPinType"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioState"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotState"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccAppOperationStatus"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkDeviceStatus"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.NetworkOperatorDataUsageNotificationKind"; @@ -875,12 +926,16 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellCdma"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellGsm"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellLte"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellNR"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellTdscdma"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellUmts"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellsInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellsInfo2"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandCurrentSlotIndexChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation2"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation3"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation4"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceService"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandResult"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandSession"; @@ -911,6 +966,9 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandRadioStateChange"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandRadioStateChangeTriggerDetails"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSarManager"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotInfo"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotInfoChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotManager"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandTransmissionStateChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandUicc"; template <> inline constexpr auto& name_v = L"Windows.Networking.NetworkOperators.IMobileBroadbandUiccApp"; @@ -978,12 +1036,16 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x0601B3B4,0x411A,0x4F2E,{ 0x82,0x87,0x76,0xF5,0x65,0x0C,0x60,0xCD } }; // 0601B3B4-411A-4F2E-8287-76F5650C60CD template <> inline constexpr guid guid_v{ 0xCC917F06,0x7EE0,0x47B8,{ 0x9E,0x1F,0xC3,0xB4,0x8D,0xF9,0xDF,0x5B } }; // CC917F06-7EE0-47B8-9E1F-C3B48DF9DF5B template <> inline constexpr guid guid_v{ 0x9197C87B,0x2B78,0x456D,{ 0x8B,0x53,0xAA,0xA2,0x5D,0x0A,0xF7,0x41 } }; // 9197C87B-2B78-456D-8B53-AAA25D0AF741 + template <> inline constexpr guid guid_v{ 0xA13F0DEB,0x66FC,0x4B4B,{ 0x83,0xA9,0xA4,0x87,0xA3,0xA5,0xA0,0xA6 } }; // A13F0DEB-66FC-4B4B-83A9-A487A3A5A0A6 template <> inline constexpr guid guid_v{ 0x0EDA1655,0xDB0E,0x4182,{ 0x8C,0xDA,0xCC,0x41,0x9A,0x7B,0xDE,0x08 } }; // 0EDA1655-DB0E-4182-8CDA-CC419A7BDE08 template <> inline constexpr guid guid_v{ 0x77B4B5AE,0x49C8,0x4F15,{ 0xB2,0x85,0x4C,0x26,0xA7,0xF6,0x72,0x15 } }; // 77B4B5AE-49C8-4F15-B285-4C26A7F67215 template <> inline constexpr guid guid_v{ 0x89A9562A,0xE472,0x4DA5,{ 0x92,0x9C,0xDE,0x61,0x71,0x1D,0xD2,0x61 } }; // 89A9562A-E472-4DA5-929C-DE61711DD261 + template <> inline constexpr guid guid_v{ 0x66205912,0xB89F,0x4E12,{ 0xBB,0xB6,0xD5,0xCF,0x09,0xA8,0x20,0xCA } }; // 66205912-B89F-4E12-BBB6-D5CF09A820CA + template <> inline constexpr guid guid_v{ 0xF718B184,0xC370,0x5FD4,{ 0xA6,0x70,0x18,0x46,0xCB,0x9B,0xCE,0x47 } }; // F718B184-C370-5FD4-A670-1846CB9BCE47 template <> inline constexpr guid guid_v{ 0xE6D08168,0xE381,0x4C6E,{ 0x9B,0xE8,0xFE,0x15,0x69,0x69,0xA4,0x46 } }; // E6D08168-E381-4C6E-9BE8-FE156969A446 template <> inline constexpr guid guid_v{ 0x2E467AF1,0xF932,0x4737,{ 0xA7,0x22,0x03,0xBA,0x72,0x37,0x0C,0xB8 } }; // 2E467AF1-F932-4737-A722-03BA72370CB8 template <> inline constexpr guid guid_v{ 0xE08BB4BD,0x5D30,0x4B5A,{ 0x92,0xCC,0xD5,0x4D,0xF8,0x81,0xD4,0x9E } }; // E08BB4BD-5D30-4B5A-92CC-D54DF881D49E + template <> inline constexpr guid guid_v{ 0x263F3152,0x7B9D,0x582C,{ 0xB1,0x7C,0xF8,0x0A,0x60,0xB5,0x00,0x31 } }; // 263F3152-7B9D-582C-B17C-F80A60B50031 template <> inline constexpr guid guid_v{ 0x22BE1A52,0xBD80,0x40AC,{ 0x8E,0x1F,0x2E,0x07,0x83,0x6A,0x3D,0xBD } }; // 22BE1A52-BD80-40AC-8E1F-2E07836A3DBD template <> inline constexpr guid guid_v{ 0xB0F46ABB,0x94D6,0x44B9,{ 0xA5,0x38,0xF0,0x81,0x0B,0x64,0x53,0x89 } }; // B0F46ABB-94D6-44B9-A538-F0810B645389 template <> inline constexpr guid guid_v{ 0xFC098A45,0x913B,0x4914,{ 0xB6,0xC3,0xAE,0x63,0x04,0x59,0x3E,0x75 } }; // FC098A45-913B-4914-B6C3-AE6304593E75 @@ -1014,6 +1076,9 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xB054A561,0x9833,0x4AED,{ 0x97,0x17,0x43,0x48,0xB2,0x1A,0x24,0xB3 } }; // B054A561-9833-4AED-9717-4348B21A24B3 template <> inline constexpr guid guid_v{ 0x71301ACE,0x093C,0x42C6,{ 0xB0,0xDB,0xAD,0x1F,0x75,0xA6,0x54,0x45 } }; // 71301ACE-093C-42C6-B0DB-AD1F75A65445 template <> inline constexpr guid guid_v{ 0xE5B26833,0x967E,0x40C9,{ 0xA4,0x85,0x19,0xC0,0xDD,0x20,0x9E,0x22 } }; // E5B26833-967E-40C9-A485-19C0DD209E22 + template <> inline constexpr guid guid_v{ 0xBD350B32,0x882E,0x542A,{ 0xB1,0x7D,0x0B,0xB1,0xB4,0x9B,0xAE,0x9E } }; // BD350B32-882E-542A-B17D-0BB1B49BAE9E + template <> inline constexpr guid guid_v{ 0x3158839F,0x950C,0x54CE,{ 0xA4,0x8D,0xBA,0x45,0x29,0xB4,0x8F,0x0F } }; // 3158839F-950C-54CE-A48D-BA4529B48F0F + template <> inline constexpr guid guid_v{ 0xEBA07CD6,0x2019,0x5F81,{ 0xA2,0x94,0xCC,0x36,0x4A,0x11,0xD0,0xB2 } }; // EBA07CD6-2019-5F81-A294-CC364A11D0B2 template <> inline constexpr guid guid_v{ 0x612E3875,0x040A,0x4F99,{ 0xA4,0xF9,0x61,0xD7,0xC3,0x2D,0xA1,0x29 } }; // 612E3875-040A-4F99-A4F9-61D7C32DA129 template <> inline constexpr guid guid_v{ 0xE634F691,0x525A,0x4CE2,{ 0x8F,0xCE,0xAA,0x41,0x62,0x57,0x91,0x54 } }; // E634F691-525A-4CE2-8FCE-AA4162579154 template <> inline constexpr guid guid_v{ 0x4D170556,0x98A1,0x43DD,{ 0xB2,0xEC,0x50,0xC9,0x0C,0xF2,0x48,0xDF } }; // 4D170556-98A1-43DD-B2EC-50C90CF248DF @@ -1068,9 +1133,11 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult; }; @@ -1095,6 +1162,9 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc; }; template <> struct default_interface{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp; }; @@ -1501,6 +1571,21 @@ namespace winrt::impl virtual int32_t __stdcall get_TrackingAreaCode(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_CellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ChannelNumber(void**) noexcept = 0; + virtual int32_t __stdcall get_PhysicalCellId(void**) noexcept = 0; + virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0; + virtual int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void**) noexcept = 0; + virtual int32_t __stdcall get_TimingAdvanceInNanoseconds(void**) noexcept = 0; + virtual int32_t __stdcall get_TrackingAreaCode(void**) noexcept = 0; + virtual int32_t __stdcall get_SignalToNoiseRatioInDB(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1545,6 +1630,21 @@ namespace winrt::impl virtual int32_t __stdcall get_ServingCellsUmts(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_NeighboringCellsNR(void**) noexcept = 0; + virtual int32_t __stdcall get_ServingCellsNR(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_CurrentSlotIndex(int32_t*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1583,6 +1683,13 @@ namespace winrt::impl virtual int32_t __stdcall get_SimGid1(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_SlotManager(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1869,6 +1976,35 @@ namespace winrt::impl virtual int32_t __stdcall StopTransmissionStateMonitoring() noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Index(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_SlotInfo(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_SlotInfos(void**) noexcept = 0; + virtual int32_t __stdcall get_CurrentSlotIndex(int32_t*) noexcept = 0; + virtual int32_t __stdcall SetCurrentSlot(int32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall SetCurrentSlotAsync(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall add_SlotInfoChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_SlotInfoChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_CurrentSlotIndexChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CurrentSlotIndexChanged(winrt::event_token) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2611,6 +2747,23 @@ namespace winrt::impl template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte; }; template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellId() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ChannelNumber() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) PhysicalCellId() const; + [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReferenceSignalReceivedPowerInDBm() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) ReferenceSignalReceivedQualityInDBm() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TimingAdvanceInNanoseconds() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) TrackingAreaCode() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) SignalToNoiseRatioInDB() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR; + }; + template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference) CellId() const; @@ -2661,6 +2814,25 @@ namespace winrt::impl template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo; }; template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) NeighboringCellsNR() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ServingCellsNR() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs + { + [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentSlotIndex() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs; + }; + template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus) NetworkDeviceStatus() const; @@ -2705,6 +2877,15 @@ namespace winrt::impl template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3; }; template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) SlotManager() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4; + }; + template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService { [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DeviceServiceId() const; @@ -3057,6 +3238,45 @@ namespace winrt::impl template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager; }; template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo + { + [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Index() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState) State() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) SlotInfo() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs; + }; + template + struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) SlotInfos() const; + [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentSlotIndex() const; + WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus) SetCurrentSlot(int32_t slotIndex) const; + WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) SetCurrentSlotAsync(int32_t slotIndex) const; + WINRT_IMPL_AUTO(winrt::event_token) SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using SlotInfoChanged_revoker = impl::event_revoker::remove_SlotInfoChanged>; + [[nodiscard]] SlotInfoChanged_revoker SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + WINRT_IMPL_AUTO(void) SlotInfoChanged(winrt::event_token const& token) const noexcept; + WINRT_IMPL_AUTO(winrt::event_token) CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CurrentSlotIndexChanged_revoker = impl::event_revoker::remove_CurrentSlotIndexChanged>; + [[nodiscard]] CurrentSlotIndexChanged_revoker CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + WINRT_IMPL_AUTO(void) CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager; + }; + template struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs { [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmitting() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h index 3326ef02..6e79c905 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h @@ -423,6 +423,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators IMobileBroadbandCellLte& operator=(IMobileBroadbandCellLte const&) & noexcept = default; IMobileBroadbandCellLte& operator=(IMobileBroadbandCellLte&&) & noexcept = default; }; + struct __declspec(empty_bases) IMobileBroadbandCellNR : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellNR(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellNR(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IMobileBroadbandCellNR(IMobileBroadbandCellNR const&) noexcept = default; + IMobileBroadbandCellNR(IMobileBroadbandCellNR&&) noexcept = default; + IMobileBroadbandCellNR& operator=(IMobileBroadbandCellNR const&) & noexcept = default; + IMobileBroadbandCellNR& operator=(IMobileBroadbandCellNR&&) & noexcept = default; + }; struct __declspec(empty_bases) IMobileBroadbandCellTdscdma : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -456,6 +467,28 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators IMobileBroadbandCellsInfo& operator=(IMobileBroadbandCellsInfo const&) & noexcept = default; IMobileBroadbandCellsInfo& operator=(IMobileBroadbandCellsInfo&&) & noexcept = default; }; + struct __declspec(empty_bases) IMobileBroadbandCellsInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCellsInfo2(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCellsInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IMobileBroadbandCellsInfo2(IMobileBroadbandCellsInfo2 const&) noexcept = default; + IMobileBroadbandCellsInfo2(IMobileBroadbandCellsInfo2&&) noexcept = default; + IMobileBroadbandCellsInfo2& operator=(IMobileBroadbandCellsInfo2 const&) & noexcept = default; + IMobileBroadbandCellsInfo2& operator=(IMobileBroadbandCellsInfo2&&) & noexcept = default; + }; + struct __declspec(empty_bases) IMobileBroadbandCurrentSlotIndexChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandCurrentSlotIndexChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandCurrentSlotIndexChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IMobileBroadbandCurrentSlotIndexChangedEventArgs(IMobileBroadbandCurrentSlotIndexChangedEventArgs const&) noexcept = default; + IMobileBroadbandCurrentSlotIndexChangedEventArgs(IMobileBroadbandCurrentSlotIndexChangedEventArgs&&) noexcept = default; + IMobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(IMobileBroadbandCurrentSlotIndexChangedEventArgs const&) & noexcept = default; + IMobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(IMobileBroadbandCurrentSlotIndexChangedEventArgs&&) & noexcept = default; + }; struct __declspec(empty_bases) IMobileBroadbandDeviceInformation : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -489,6 +522,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators IMobileBroadbandDeviceInformation3& operator=(IMobileBroadbandDeviceInformation3 const&) & noexcept = default; IMobileBroadbandDeviceInformation3& operator=(IMobileBroadbandDeviceInformation3&&) & noexcept = default; }; + struct __declspec(empty_bases) IMobileBroadbandDeviceInformation4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandDeviceInformation4(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandDeviceInformation4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IMobileBroadbandDeviceInformation4(IMobileBroadbandDeviceInformation4 const&) noexcept = default; + IMobileBroadbandDeviceInformation4(IMobileBroadbandDeviceInformation4&&) noexcept = default; + IMobileBroadbandDeviceInformation4& operator=(IMobileBroadbandDeviceInformation4 const&) & noexcept = default; + IMobileBroadbandDeviceInformation4& operator=(IMobileBroadbandDeviceInformation4&&) & noexcept = default; + }; struct __declspec(empty_bases) IMobileBroadbandDeviceService : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -819,6 +863,39 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators IMobileBroadbandSarManager& operator=(IMobileBroadbandSarManager const&) & noexcept = default; IMobileBroadbandSarManager& operator=(IMobileBroadbandSarManager&&) & noexcept = default; }; + struct __declspec(empty_bases) IMobileBroadbandSlotInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSlotInfo(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSlotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IMobileBroadbandSlotInfo(IMobileBroadbandSlotInfo const&) noexcept = default; + IMobileBroadbandSlotInfo(IMobileBroadbandSlotInfo&&) noexcept = default; + IMobileBroadbandSlotInfo& operator=(IMobileBroadbandSlotInfo const&) & noexcept = default; + IMobileBroadbandSlotInfo& operator=(IMobileBroadbandSlotInfo&&) & noexcept = default; + }; + struct __declspec(empty_bases) IMobileBroadbandSlotInfoChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSlotInfoChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSlotInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IMobileBroadbandSlotInfoChangedEventArgs(IMobileBroadbandSlotInfoChangedEventArgs const&) noexcept = default; + IMobileBroadbandSlotInfoChangedEventArgs(IMobileBroadbandSlotInfoChangedEventArgs&&) noexcept = default; + IMobileBroadbandSlotInfoChangedEventArgs& operator=(IMobileBroadbandSlotInfoChangedEventArgs const&) & noexcept = default; + IMobileBroadbandSlotInfoChangedEventArgs& operator=(IMobileBroadbandSlotInfoChangedEventArgs&&) & noexcept = default; + }; + struct __declspec(empty_bases) IMobileBroadbandSlotManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMobileBroadbandSlotManager(std::nullptr_t = nullptr) noexcept {} + IMobileBroadbandSlotManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IMobileBroadbandSlotManager(IMobileBroadbandSlotManager const&) noexcept = default; + IMobileBroadbandSlotManager(IMobileBroadbandSlotManager&&) noexcept = default; + IMobileBroadbandSlotManager& operator=(IMobileBroadbandSlotManager const&) & noexcept = default; + IMobileBroadbandSlotManager& operator=(IMobileBroadbandSlotManager&&) & noexcept = default; + }; struct __declspec(empty_bases) IMobileBroadbandTransmissionStateChangedEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h index ccdf58e7..b5a6241e 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h @@ -312,6 +312,15 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators MobileBroadbandCellLte& operator=(MobileBroadbandCellLte const&) & noexcept = default; MobileBroadbandCellLte& operator=(MobileBroadbandCellLte&&) & noexcept = default; }; + struct __declspec(empty_bases) MobileBroadbandCellNR : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR + { + MobileBroadbandCellNR(std::nullptr_t) noexcept {} + MobileBroadbandCellNR(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR(ptr, take_ownership_from_abi) {} + MobileBroadbandCellNR(MobileBroadbandCellNR const&) noexcept = default; + MobileBroadbandCellNR(MobileBroadbandCellNR&&) noexcept = default; + MobileBroadbandCellNR& operator=(MobileBroadbandCellNR const&) & noexcept = default; + MobileBroadbandCellNR& operator=(MobileBroadbandCellNR&&) & noexcept = default; + }; struct __declspec(empty_bases) MobileBroadbandCellTdscdma : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma { MobileBroadbandCellTdscdma(std::nullptr_t) noexcept {} @@ -330,7 +339,8 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators MobileBroadbandCellUmts& operator=(MobileBroadbandCellUmts const&) & noexcept = default; MobileBroadbandCellUmts& operator=(MobileBroadbandCellUmts&&) & noexcept = default; }; - struct __declspec(empty_bases) MobileBroadbandCellsInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo + struct __declspec(empty_bases) MobileBroadbandCellsInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo, + impl::require { MobileBroadbandCellsInfo(std::nullptr_t) noexcept {} MobileBroadbandCellsInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo(ptr, take_ownership_from_abi) {} @@ -339,8 +349,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators MobileBroadbandCellsInfo& operator=(MobileBroadbandCellsInfo const&) & noexcept = default; MobileBroadbandCellsInfo& operator=(MobileBroadbandCellsInfo&&) & noexcept = default; }; + struct __declspec(empty_bases) MobileBroadbandCurrentSlotIndexChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs + { + MobileBroadbandCurrentSlotIndexChangedEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandCurrentSlotIndexChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs(ptr, take_ownership_from_abi) {} + MobileBroadbandCurrentSlotIndexChangedEventArgs(MobileBroadbandCurrentSlotIndexChangedEventArgs const&) noexcept = default; + MobileBroadbandCurrentSlotIndexChangedEventArgs(MobileBroadbandCurrentSlotIndexChangedEventArgs&&) noexcept = default; + MobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(MobileBroadbandCurrentSlotIndexChangedEventArgs const&) & noexcept = default; + MobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(MobileBroadbandCurrentSlotIndexChangedEventArgs&&) & noexcept = default; + }; struct __declspec(empty_bases) MobileBroadbandDeviceInformation : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation, - impl::require + impl::require { MobileBroadbandDeviceInformation(std::nullptr_t) noexcept {} MobileBroadbandDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation(ptr, take_ownership_from_abi) {} @@ -563,6 +582,33 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators MobileBroadbandSarManager& operator=(MobileBroadbandSarManager const&) & noexcept = default; MobileBroadbandSarManager& operator=(MobileBroadbandSarManager&&) & noexcept = default; }; + struct __declspec(empty_bases) MobileBroadbandSlotInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo + { + MobileBroadbandSlotInfo(std::nullptr_t) noexcept {} + MobileBroadbandSlotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo(ptr, take_ownership_from_abi) {} + MobileBroadbandSlotInfo(MobileBroadbandSlotInfo const&) noexcept = default; + MobileBroadbandSlotInfo(MobileBroadbandSlotInfo&&) noexcept = default; + MobileBroadbandSlotInfo& operator=(MobileBroadbandSlotInfo const&) & noexcept = default; + MobileBroadbandSlotInfo& operator=(MobileBroadbandSlotInfo&&) & noexcept = default; + }; + struct __declspec(empty_bases) MobileBroadbandSlotInfoChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs + { + MobileBroadbandSlotInfoChangedEventArgs(std::nullptr_t) noexcept {} + MobileBroadbandSlotInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs(ptr, take_ownership_from_abi) {} + MobileBroadbandSlotInfoChangedEventArgs(MobileBroadbandSlotInfoChangedEventArgs const&) noexcept = default; + MobileBroadbandSlotInfoChangedEventArgs(MobileBroadbandSlotInfoChangedEventArgs&&) noexcept = default; + MobileBroadbandSlotInfoChangedEventArgs& operator=(MobileBroadbandSlotInfoChangedEventArgs const&) & noexcept = default; + MobileBroadbandSlotInfoChangedEventArgs& operator=(MobileBroadbandSlotInfoChangedEventArgs&&) & noexcept = default; + }; + struct __declspec(empty_bases) MobileBroadbandSlotManager : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager + { + MobileBroadbandSlotManager(std::nullptr_t) noexcept {} + MobileBroadbandSlotManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager(ptr, take_ownership_from_abi) {} + MobileBroadbandSlotManager(MobileBroadbandSlotManager const&) noexcept = default; + MobileBroadbandSlotManager(MobileBroadbandSlotManager&&) noexcept = default; + MobileBroadbandSlotManager& operator=(MobileBroadbandSlotManager const&) & noexcept = default; + MobileBroadbandSlotManager& operator=(MobileBroadbandSlotManager&&) & noexcept = default; + }; struct __declspec(empty_bases) MobileBroadbandTransmissionStateChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs { MobileBroadbandTransmissionStateChangedEventArgs(std::nullptr_t) noexcept {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h index 1f29aefc..55bc26ed 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h @@ -143,6 +143,7 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Vpn struct IVpnChannel; struct IVpnChannel2; struct IVpnChannel4; + struct IVpnChannel5; struct IVpnChannelActivityEventArgs; struct IVpnChannelActivityStateChangedArgs; struct IVpnChannelConfiguration; @@ -229,6 +230,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -369,6 +371,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel"; template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel2"; template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel4"; + template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannel5"; template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelActivityEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelActivityStateChangedArgs"; template <> inline constexpr auto& name_v = L"Windows.Networking.Vpn.IVpnChannelConfiguration"; @@ -421,6 +424,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x4AC78D07,0xD1A8,0x4303,{ 0xA0,0x91,0xC8,0xD2,0xE0,0x91,0x5B,0xC3 } }; // 4AC78D07-D1A8-4303-A091-C8D2E0915BC3 template <> inline constexpr guid guid_v{ 0x2255D165,0x993B,0x4629,{ 0xAD,0x60,0xF1,0xC3,0xF3,0x53,0x7F,0x50 } }; // 2255D165-993B-4629-AD60-F1C3F3537F50 template <> inline constexpr guid guid_v{ 0xD7266EDE,0x2937,0x419D,{ 0x95,0x70,0x48,0x6A,0xEB,0xB8,0x18,0x03 } }; // D7266EDE-2937-419D-9570-486AEBB81803 + template <> inline constexpr guid guid_v{ 0xDE7A0992,0x8384,0x4FBC,{ 0x88,0x2C,0x1F,0xD2,0x31,0x24,0xCD,0x3B } }; // DE7A0992-8384-4FBC-882C-1FD23124CD3B template <> inline constexpr guid guid_v{ 0xA36C88F2,0xAFDC,0x4775,{ 0x85,0x5D,0xD4,0xAC,0x0A,0x35,0xFC,0x55 } }; // A36C88F2-AFDC-4775-855D-D4AC0A35FC55 template <> inline constexpr guid guid_v{ 0x3D750565,0xFDC0,0x4BBE,{ 0xA2,0x3B,0x45,0xFF,0xFC,0x6D,0x97,0xA1 } }; // 3D750565-FDC0-4BBE-A23B-45FFFC6D97A1 template <> inline constexpr guid guid_v{ 0x0E2DDCA2,0x2012,0x4FE4,{ 0xB1,0x79,0x8C,0x65,0x2C,0x6D,0x10,0x7E } }; // 0E2DDCA2-2012-4FE4-B179-8C652C6D107E @@ -568,6 +572,16 @@ namespace winrt::impl virtual int32_t __stdcall get_CurrentRequestTransportContext(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall AppendVpnReceivePacketBuffer(void*) noexcept = 0; + virtual int32_t __stdcall AppendVpnSendPacketBuffer(void*) noexcept = 0; + virtual int32_t __stdcall FlushVpnReceivePacketBuffers() noexcept = 0; + virtual int32_t __stdcall FlushVpnSendPacketBuffers() noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1109,6 +1123,18 @@ namespace winrt::impl template using type = consume_Windows_Networking_Vpn_IVpnChannel4; }; template + struct consume_Windows_Networking_Vpn_IVpnChannel5 + { + WINRT_IMPL_AUTO(void) AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const; + WINRT_IMPL_AUTO(void) AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const; + WINRT_IMPL_AUTO(void) FlushVpnReceivePacketBuffers() const; + WINRT_IMPL_AUTO(void) FlushVpnSendPacketBuffers() const; + }; + template <> struct consume + { + template using type = consume_Windows_Networking_Vpn_IVpnChannel5; + }; + template struct consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) Type() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h index b1056c50..bffaab4d 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h @@ -61,6 +61,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Vpn IVpnChannel4& operator=(IVpnChannel4 const&) & noexcept = default; IVpnChannel4& operator=(IVpnChannel4&&) & noexcept = default; }; + struct __declspec(empty_bases) IVpnChannel5 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVpnChannel5(std::nullptr_t = nullptr) noexcept {} + IVpnChannel5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IVpnChannel5(IVpnChannel5 const&) noexcept = default; + IVpnChannel5(IVpnChannel5&&) noexcept = default; + IVpnChannel5& operator=(IVpnChannel5 const&) & noexcept = default; + IVpnChannel5& operator=(IVpnChannel5&&) & noexcept = default; + }; struct __declspec(empty_bases) IVpnChannelActivityEventArgs : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h index 08cabcad..f3138898 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h @@ -18,7 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Vpn VpnAppId& operator=(VpnAppId&&) & noexcept = default; }; struct __declspec(empty_bases) VpnChannel : winrt::Windows::Networking::Vpn::IVpnChannel, - impl::require + impl::require { VpnChannel(std::nullptr_t) noexcept {} VpnChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnChannel(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.0.h index 8ff2319b..85271be3 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.0.h @@ -63,6 +63,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation EnvironmentUnavailable = 2, FileNotFound = 3, TimedOut = 4, + AlreadySharedWithConflictingOptions = 5, }; enum class IsolatedWindowsEnvironmentOwnerRegistrationStatus : int32_t { @@ -90,6 +91,15 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation Processing = 1, Completed = 2, }; + enum class IsolatedWindowsEnvironmentShareFileStatus : int32_t + { + Success = 0, + UnknownFailure = 1, + EnvironmentUnavailable = 2, + AlreadySharedWithConflictingOptions = 3, + FileNotFound = 4, + AccessDenied = 5, + }; enum class IsolatedWindowsEnvironmentShareFolderStatus : int32_t { Success = 0, @@ -108,21 +118,27 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation }; struct IIsolatedWindowsEnvironment; struct IIsolatedWindowsEnvironment2; + struct IIsolatedWindowsEnvironment3; struct IIsolatedWindowsEnvironmentCreateResult; struct IIsolatedWindowsEnvironmentFactory; struct IIsolatedWindowsEnvironmentFile; + struct IIsolatedWindowsEnvironmentFile2; struct IIsolatedWindowsEnvironmentHostStatics; struct IIsolatedWindowsEnvironmentLaunchFileResult; struct IIsolatedWindowsEnvironmentOptions; + struct IIsolatedWindowsEnvironmentOptions2; struct IIsolatedWindowsEnvironmentOwnerRegistrationData; struct IIsolatedWindowsEnvironmentOwnerRegistrationResult; struct IIsolatedWindowsEnvironmentOwnerRegistrationStatics; struct IIsolatedWindowsEnvironmentPostMessageResult; struct IIsolatedWindowsEnvironmentProcess; + struct IIsolatedWindowsEnvironmentShareFileRequestOptions; + struct IIsolatedWindowsEnvironmentShareFileResult; struct IIsolatedWindowsEnvironmentShareFolderRequestOptions; struct IIsolatedWindowsEnvironmentShareFolderResult; struct IIsolatedWindowsEnvironmentStartProcessResult; struct IIsolatedWindowsEnvironmentTelemetryParameters; + struct IIsolatedWindowsEnvironmentUserInfo; struct IIsolatedWindowsHostMessengerStatics; struct IIsolatedWindowsHostMessengerStatics2; struct IsolatedWindowsEnvironment; @@ -136,10 +152,13 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation struct IsolatedWindowsEnvironmentOwnerRegistrationResult; struct IsolatedWindowsEnvironmentPostMessageResult; struct IsolatedWindowsEnvironmentProcess; + struct IsolatedWindowsEnvironmentShareFileRequestOptions; + struct IsolatedWindowsEnvironmentShareFileResult; struct IsolatedWindowsEnvironmentShareFolderRequestOptions; struct IsolatedWindowsEnvironmentShareFolderResult; struct IsolatedWindowsEnvironmentStartProcessResult; struct IsolatedWindowsEnvironmentTelemetryParameters; + struct IsolatedWindowsEnvironmentUserInfo; struct IsolatedWindowsHostMessenger; struct IsolatedWindowsEnvironmentCreateProgress; struct HostMessageReceivedCallback; @@ -149,21 +168,27 @@ namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; @@ -177,10 +202,13 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -193,6 +221,7 @@ namespace winrt::impl template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = struct_category; }; @@ -209,10 +238,13 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProcess"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderRequestOptions"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentTelemetryParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentUserInfo"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsHostMessenger"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentActivator"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentAllowedClipboardFormats"; @@ -225,47 +257,60 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageStatus"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProcessState"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProgressState"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileStatus"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderStatus"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessStatus"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateProgress"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment2"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment3"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentCreateResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFactory"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFile"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFile2"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentHostStatics"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentLaunchFileResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOptions2"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationData"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationStatics"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentPostMessageResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentProcess"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFileRequestOptions"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFileResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFolderRequestOptions"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFolderResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentStartProcessResult"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentTelemetryParameters"; + template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentUserInfo"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsHostMessengerStatics"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.IIsolatedWindowsHostMessengerStatics2"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.HostMessageReceivedCallback"; template <> inline constexpr auto& name_v = L"Windows.Security.Isolation.MessageReceivedCallback"; template <> inline constexpr guid guid_v{ 0x41D24597,0xC328,0x4467,{ 0xB3,0x7F,0x4D,0xFC,0x6F,0x60,0xB6,0xBC } }; // 41D24597-C328-4467-B37F-4DFC6F60B6BC template <> inline constexpr guid guid_v{ 0x2D365F39,0x88BD,0x4AB4,{ 0x93,0xCF,0x7E,0x2B,0xCE,0xF3,0x37,0xC0 } }; // 2D365F39-88BD-4AB4-93CF-7E2BCEF337C0 + template <> inline constexpr guid guid_v{ 0xCB7FC7D2,0xD06E,0x4C26,{ 0x8A,0xDA,0xDA,0xCD,0xAA,0xAD,0x03,0xF5 } }; // CB7FC7D2-D06E-4C26-8ADA-DACDAAAD03F5 template <> inline constexpr guid guid_v{ 0xEF9A5E58,0xDCD7,0x45C2,{ 0x9C,0x85,0xAB,0x64,0x2A,0x71,0x5E,0x8E } }; // EF9A5E58-DCD7-45C2-9C85-AB642A715E8E template <> inline constexpr guid guid_v{ 0x1ACA93E7,0xE804,0x454D,{ 0x84,0x66,0xF9,0x89,0x7C,0x20,0xB0,0xF6 } }; // 1ACA93E7-E804-454D-8466-F9897C20B0F6 template <> inline constexpr guid guid_v{ 0x4D5AE1EF,0x029F,0x4101,{ 0x8C,0x35,0xFE,0x91,0xBF,0x9C,0xD5,0xF0 } }; // 4D5AE1EF-029F-4101-8C35-FE91BF9CD5F0 + template <> inline constexpr guid guid_v{ 0x4EEB8DEC,0xAD5D,0x4B0A,{ 0xB7,0x54,0xF3,0x6C,0x3D,0x46,0xD6,0x84 } }; // 4EEB8DEC-AD5D-4B0A-B754-F36C3D46D684 template <> inline constexpr guid guid_v{ 0x2C0E22C7,0x05A0,0x517A,{ 0xB8,0x1C,0x6E,0xE8,0x79,0x0C,0x38,0x1F } }; // 2C0E22C7-05A0-517A-B81C-6EE8790C381F template <> inline constexpr guid guid_v{ 0x685D4176,0xF6E0,0x4569,{ 0xB1,0xAA,0x21,0x5C,0x0F,0xF5,0xB2,0x57 } }; // 685D4176-F6E0-4569-B1AA-215C0FF5B257 template <> inline constexpr guid guid_v{ 0xB71D98F7,0x61F0,0x4008,{ 0xB2,0x07,0x0B,0xF9,0xEB,0x2D,0x76,0xF2 } }; // B71D98F7-61F0-4008-B207-0BF9EB2D76F2 + template <> inline constexpr guid guid_v{ 0x10D7CC31,0x8B8F,0x4B9D,{ 0xB2,0x2C,0x61,0x71,0x03,0xB5,0x5B,0x08 } }; // 10D7CC31-8B8F-4B9D-B22C-617103B55B08 template <> inline constexpr guid guid_v{ 0xF888EC22,0xE8CF,0x56C0,{ 0xB1,0xDF,0x90,0xAF,0x4A,0xD8,0x0E,0x84 } }; // F888EC22-E8CF-56C0-B1DF-90AF4AD80E84 template <> inline constexpr guid guid_v{ 0x6DAB9451,0x6169,0x55DF,{ 0x8F,0x51,0x79,0x0E,0x99,0xD7,0x27,0x7D } }; // 6DAB9451-6169-55DF-8F51-790E99D7277D template <> inline constexpr guid guid_v{ 0x10951754,0x204B,0x5EC9,{ 0x9D,0xE3,0xDF,0x79,0x2D,0x07,0x4A,0x61 } }; // 10951754-204B-5EC9-9DE3-DF792D074A61 template <> inline constexpr guid guid_v{ 0x0DFA28FA,0x2EF0,0x4D8F,{ 0xB3,0x41,0x31,0x71,0xB2,0xDF,0x93,0xB1 } }; // 0DFA28FA-2EF0-4D8F-B341-3171B2DF93B1 template <> inline constexpr guid guid_v{ 0xA858C3EF,0x8172,0x4F10,{ 0xAF,0x93,0xCB,0xE6,0x0A,0xF8,0x8D,0x09 } }; // A858C3EF-8172-4F10-AF93-CBE60AF88D09 + template <> inline constexpr guid guid_v{ 0xC9190ED8,0x0FD0,0x4946,{ 0xBB,0x88,0x11,0x7A,0x60,0x73,0x7B,0x61 } }; // C9190ED8-0FD0-4946-BB88-117A60737B61 + template <> inline constexpr guid guid_v{ 0xAEC7CAA7,0x9AC6,0x4BF5,{ 0x8B,0x91,0x5C,0x1A,0xDF,0x0D,0x7D,0x00 } }; // AEC7CAA7-9AC6-4BF5-8B91-5C1ADF0D7D00 template <> inline constexpr guid guid_v{ 0xC405EB7D,0x7053,0x4F6A,{ 0x9B,0x87,0x74,0x68,0x46,0xED,0x19,0xB2 } }; // C405EB7D-7053-4F6A-9B87-746846ED19B2 template <> inline constexpr guid guid_v{ 0x556BA72E,0xCA9D,0x4211,{ 0xB1,0x43,0x1C,0xED,0xC8,0x6E,0xB2,0xFE } }; // 556BA72E-CA9D-4211-B143-1CEDC86EB2FE template <> inline constexpr guid guid_v{ 0x8FA1DC2F,0x57DA,0x4BB5,{ 0x9C,0x06,0xFA,0x07,0x2D,0x20,0x32,0xE2 } }; // 8FA1DC2F-57DA-4BB5-9C06-FA072D2032E2 template <> inline constexpr guid guid_v{ 0xEBDB3CAB,0x7A3A,0x4524,{ 0xA0,0xF4,0xF9,0x6E,0x28,0x4D,0x33,0xCD } }; // EBDB3CAB-7A3A-4524-A0F4-F96E284D33CD + template <> inline constexpr guid guid_v{ 0x8A9C75AE,0x69BA,0x4001,{ 0x96,0xFC,0x19,0xA0,0x27,0x03,0xB3,0x40 } }; // 8A9C75AE-69BA-4001-96FC-19A02703B340 template <> inline constexpr guid guid_v{ 0x06E444BB,0x53C0,0x4889,{ 0x8F,0xA3,0x53,0x59,0x2E,0x37,0xCF,0x21 } }; // 06E444BB-53C0-4889-8FA3-53592E37CF21 template <> inline constexpr guid guid_v{ 0x55EF9EBC,0x0444,0x42AD,{ 0x83,0x2D,0x1B,0x89,0xC0,0x89,0xD1,0xCA } }; // 55EF9EBC-0444-42AD-832D-1B89C089D1CA template <> inline constexpr guid guid_v{ 0xFAF26FFA,0x8CE1,0x4CC1,{ 0xB2,0x78,0x32,0x2D,0x31,0xA5,0xE4,0xA3 } }; // FAF26FFA-8CE1-4CC1-B278-322D31A5E4A3 @@ -279,10 +324,13 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult; }; template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult; }; template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult; }; template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions; }; template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult; }; template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult; }; template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters; }; + template <> struct default_interface{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -308,6 +356,15 @@ namespace winrt::impl virtual int32_t __stdcall PostMessageToReceiverWithTelemetryAsync(winrt::guid, void*, void*, void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetUserInfo(void**) noexcept = 0; + virtual int32_t __stdcall ShareFileAsync(void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ShareFileWithTelemetryAsync(void*, void*, void*, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -336,6 +393,14 @@ namespace winrt::impl virtual int32_t __stdcall Close() noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_GuestPath(void**) noexcept = 0; + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -376,6 +441,14 @@ namespace winrt::impl virtual int32_t __stdcall put_AllowCameraAndMicrophoneAccess(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_WindowAnnotationOverride(void**) noexcept = 0; + virtual int32_t __stdcall put_WindowAnnotationOverride(void*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -421,6 +494,23 @@ namespace winrt::impl virtual int32_t __stdcall WaitForExitAsync(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_AllowWrite(bool*) noexcept = 0; + virtual int32_t __stdcall put_AllowWrite(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; + virtual int32_t __stdcall get_File(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -454,6 +544,15 @@ namespace winrt::impl virtual int32_t __stdcall put_CorrelationId(winrt::guid) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_EnvironmentUserSid(void**) noexcept = 0; + virtual int32_t __stdcall get_EnvironmentUserName(void**) noexcept = 0; + virtual int32_t __stdcall TryWaitForSignInAsync(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -514,6 +613,17 @@ namespace winrt::impl template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2; }; template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3 + { + WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) GetUserInfo() const; + WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const; + WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3; + }; + template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus) Status() const; @@ -548,6 +658,16 @@ namespace winrt::impl template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile; }; template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2 + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) GuestPath() const; + [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2; + }; + template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics { [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReady() const; @@ -594,6 +714,16 @@ namespace winrt::impl template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions; }; template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2 + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) WindowAnnotationOverride() const; + WINRT_IMPL_AUTO(void) WindowAnnotationOverride(param::hstring const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2; + }; + template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) ShareableFolders() const; @@ -649,6 +779,27 @@ namespace winrt::impl template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess; }; template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions + { + [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWrite() const; + WINRT_IMPL_AUTO(void) AllowWrite(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions; + }; + template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus) Status() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) File() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult; + }; + template struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions { [[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWrite() const; @@ -690,6 +841,17 @@ namespace winrt::impl template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters; }; template + struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnvironmentUserSid() const; + [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnvironmentUserName() const; + WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryWaitForSignInAsync() const; + }; + template <> struct consume + { + template using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo; + }; + template struct consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics { WINRT_IMPL_AUTO(void) PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view const& message) const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.1.h index 19d237b7..c159e6b9 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.1.h @@ -18,8 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation }; struct __declspec(empty_bases) IIsolatedWindowsEnvironment2 : winrt::Windows::Foundation::IInspectable, - impl::consume_t, - impl::require + impl::consume_t { IIsolatedWindowsEnvironment2(std::nullptr_t = nullptr) noexcept {} IIsolatedWindowsEnvironment2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} @@ -28,6 +27,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IIsolatedWindowsEnvironment2& operator=(IIsolatedWindowsEnvironment2 const&) & noexcept = default; IIsolatedWindowsEnvironment2& operator=(IIsolatedWindowsEnvironment2&&) & noexcept = default; }; + struct __declspec(empty_bases) IIsolatedWindowsEnvironment3 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironment3(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironment3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IIsolatedWindowsEnvironment3(IIsolatedWindowsEnvironment3 const&) noexcept = default; + IIsolatedWindowsEnvironment3(IIsolatedWindowsEnvironment3&&) noexcept = default; + IIsolatedWindowsEnvironment3& operator=(IIsolatedWindowsEnvironment3 const&) & noexcept = default; + IIsolatedWindowsEnvironment3& operator=(IIsolatedWindowsEnvironment3&&) & noexcept = default; + }; struct __declspec(empty_bases) IIsolatedWindowsEnvironmentCreateResult : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -61,6 +71,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IIsolatedWindowsEnvironmentFile& operator=(IIsolatedWindowsEnvironmentFile const&) & noexcept = default; IIsolatedWindowsEnvironmentFile& operator=(IIsolatedWindowsEnvironmentFile&&) & noexcept = default; }; + struct __declspec(empty_bases) IIsolatedWindowsEnvironmentFile2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentFile2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentFile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IIsolatedWindowsEnvironmentFile2(IIsolatedWindowsEnvironmentFile2 const&) noexcept = default; + IIsolatedWindowsEnvironmentFile2(IIsolatedWindowsEnvironmentFile2&&) noexcept = default; + IIsolatedWindowsEnvironmentFile2& operator=(IIsolatedWindowsEnvironmentFile2 const&) & noexcept = default; + IIsolatedWindowsEnvironmentFile2& operator=(IIsolatedWindowsEnvironmentFile2&&) & noexcept = default; + }; struct __declspec(empty_bases) IIsolatedWindowsEnvironmentHostStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -94,6 +115,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IIsolatedWindowsEnvironmentOptions& operator=(IIsolatedWindowsEnvironmentOptions const&) & noexcept = default; IIsolatedWindowsEnvironmentOptions& operator=(IIsolatedWindowsEnvironmentOptions&&) & noexcept = default; }; + struct __declspec(empty_bases) IIsolatedWindowsEnvironmentOptions2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentOptions2(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IIsolatedWindowsEnvironmentOptions2(IIsolatedWindowsEnvironmentOptions2 const&) noexcept = default; + IIsolatedWindowsEnvironmentOptions2(IIsolatedWindowsEnvironmentOptions2&&) noexcept = default; + IIsolatedWindowsEnvironmentOptions2& operator=(IIsolatedWindowsEnvironmentOptions2 const&) & noexcept = default; + IIsolatedWindowsEnvironmentOptions2& operator=(IIsolatedWindowsEnvironmentOptions2&&) & noexcept = default; + }; struct __declspec(empty_bases) IIsolatedWindowsEnvironmentOwnerRegistrationData : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -149,6 +181,28 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IIsolatedWindowsEnvironmentProcess& operator=(IIsolatedWindowsEnvironmentProcess const&) & noexcept = default; IIsolatedWindowsEnvironmentProcess& operator=(IIsolatedWindowsEnvironmentProcess&&) & noexcept = default; }; + struct __declspec(empty_bases) IIsolatedWindowsEnvironmentShareFileRequestOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentShareFileRequestOptions(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentShareFileRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IIsolatedWindowsEnvironmentShareFileRequestOptions(IIsolatedWindowsEnvironmentShareFileRequestOptions const&) noexcept = default; + IIsolatedWindowsEnvironmentShareFileRequestOptions(IIsolatedWindowsEnvironmentShareFileRequestOptions&&) noexcept = default; + IIsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IIsolatedWindowsEnvironmentShareFileRequestOptions const&) & noexcept = default; + IIsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IIsolatedWindowsEnvironmentShareFileRequestOptions&&) & noexcept = default; + }; + struct __declspec(empty_bases) IIsolatedWindowsEnvironmentShareFileResult : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentShareFileResult(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentShareFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IIsolatedWindowsEnvironmentShareFileResult(IIsolatedWindowsEnvironmentShareFileResult const&) noexcept = default; + IIsolatedWindowsEnvironmentShareFileResult(IIsolatedWindowsEnvironmentShareFileResult&&) noexcept = default; + IIsolatedWindowsEnvironmentShareFileResult& operator=(IIsolatedWindowsEnvironmentShareFileResult const&) & noexcept = default; + IIsolatedWindowsEnvironmentShareFileResult& operator=(IIsolatedWindowsEnvironmentShareFileResult&&) & noexcept = default; + }; struct __declspec(empty_bases) IIsolatedWindowsEnvironmentShareFolderRequestOptions : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -193,6 +247,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IIsolatedWindowsEnvironmentTelemetryParameters& operator=(IIsolatedWindowsEnvironmentTelemetryParameters const&) & noexcept = default; IIsolatedWindowsEnvironmentTelemetryParameters& operator=(IIsolatedWindowsEnvironmentTelemetryParameters&&) & noexcept = default; }; + struct __declspec(empty_bases) IIsolatedWindowsEnvironmentUserInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IIsolatedWindowsEnvironmentUserInfo(std::nullptr_t = nullptr) noexcept {} + IIsolatedWindowsEnvironmentUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IIsolatedWindowsEnvironmentUserInfo(IIsolatedWindowsEnvironmentUserInfo const&) noexcept = default; + IIsolatedWindowsEnvironmentUserInfo(IIsolatedWindowsEnvironmentUserInfo&&) noexcept = default; + IIsolatedWindowsEnvironmentUserInfo& operator=(IIsolatedWindowsEnvironmentUserInfo const&) & noexcept = default; + IIsolatedWindowsEnvironmentUserInfo& operator=(IIsolatedWindowsEnvironmentUserInfo&&) & noexcept = default; + }; struct __declspec(empty_bases) IIsolatedWindowsHostMessengerStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.2.h index e27b8926..b50f39ad 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Isolation.2.h @@ -50,7 +50,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation return !(left == right); } struct __declspec(empty_bases) IsolatedWindowsEnvironment : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment, - impl::require + impl::require { IsolatedWindowsEnvironment(std::nullptr_t) noexcept {} IsolatedWindowsEnvironment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment(ptr, take_ownership_from_abi) {} @@ -72,7 +72,8 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IsolatedWindowsEnvironmentCreateResult& operator=(IsolatedWindowsEnvironmentCreateResult const&) & noexcept = default; IsolatedWindowsEnvironmentCreateResult& operator=(IsolatedWindowsEnvironmentCreateResult&&) & noexcept = default; }; - struct __declspec(empty_bases) IsolatedWindowsEnvironmentFile : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile + struct __declspec(empty_bases) IsolatedWindowsEnvironmentFile : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile, + impl::require { IsolatedWindowsEnvironmentFile(std::nullptr_t) noexcept {} IsolatedWindowsEnvironmentFile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile(ptr, take_ownership_from_abi) {} @@ -96,7 +97,8 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IsolatedWindowsEnvironmentLaunchFileResult& operator=(IsolatedWindowsEnvironmentLaunchFileResult const&) & noexcept = default; IsolatedWindowsEnvironmentLaunchFileResult& operator=(IsolatedWindowsEnvironmentLaunchFileResult&&) & noexcept = default; }; - struct __declspec(empty_bases) IsolatedWindowsEnvironmentOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions + struct __declspec(empty_bases) IsolatedWindowsEnvironmentOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions, + impl::require { IsolatedWindowsEnvironmentOptions(std::nullptr_t) noexcept {} IsolatedWindowsEnvironmentOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions(ptr, take_ownership_from_abi) {} @@ -149,6 +151,25 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IsolatedWindowsEnvironmentProcess& operator=(IsolatedWindowsEnvironmentProcess const&) & noexcept = default; IsolatedWindowsEnvironmentProcess& operator=(IsolatedWindowsEnvironmentProcess&&) & noexcept = default; }; + struct __declspec(empty_bases) IsolatedWindowsEnvironmentShareFileRequestOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions + { + IsolatedWindowsEnvironmentShareFileRequestOptions(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentShareFileRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentShareFileRequestOptions(); + IsolatedWindowsEnvironmentShareFileRequestOptions(IsolatedWindowsEnvironmentShareFileRequestOptions const&) noexcept = default; + IsolatedWindowsEnvironmentShareFileRequestOptions(IsolatedWindowsEnvironmentShareFileRequestOptions&&) noexcept = default; + IsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IsolatedWindowsEnvironmentShareFileRequestOptions const&) & noexcept = default; + IsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IsolatedWindowsEnvironmentShareFileRequestOptions&&) & noexcept = default; + }; + struct __declspec(empty_bases) IsolatedWindowsEnvironmentShareFileResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult + { + IsolatedWindowsEnvironmentShareFileResult(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentShareFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentShareFileResult(IsolatedWindowsEnvironmentShareFileResult const&) noexcept = default; + IsolatedWindowsEnvironmentShareFileResult(IsolatedWindowsEnvironmentShareFileResult&&) noexcept = default; + IsolatedWindowsEnvironmentShareFileResult& operator=(IsolatedWindowsEnvironmentShareFileResult const&) & noexcept = default; + IsolatedWindowsEnvironmentShareFileResult& operator=(IsolatedWindowsEnvironmentShareFileResult&&) & noexcept = default; + }; struct __declspec(empty_bases) IsolatedWindowsEnvironmentShareFolderRequestOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions { IsolatedWindowsEnvironmentShareFolderRequestOptions(std::nullptr_t) noexcept {} @@ -187,6 +208,15 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation IsolatedWindowsEnvironmentTelemetryParameters& operator=(IsolatedWindowsEnvironmentTelemetryParameters const&) & noexcept = default; IsolatedWindowsEnvironmentTelemetryParameters& operator=(IsolatedWindowsEnvironmentTelemetryParameters&&) & noexcept = default; }; + struct __declspec(empty_bases) IsolatedWindowsEnvironmentUserInfo : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo + { + IsolatedWindowsEnvironmentUserInfo(std::nullptr_t) noexcept {} + IsolatedWindowsEnvironmentUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo(ptr, take_ownership_from_abi) {} + IsolatedWindowsEnvironmentUserInfo(IsolatedWindowsEnvironmentUserInfo const&) noexcept = default; + IsolatedWindowsEnvironmentUserInfo(IsolatedWindowsEnvironmentUserInfo&&) noexcept = default; + IsolatedWindowsEnvironmentUserInfo& operator=(IsolatedWindowsEnvironmentUserInfo const&) & noexcept = default; + IsolatedWindowsEnvironmentUserInfo& operator=(IsolatedWindowsEnvironmentUserInfo&&) & noexcept = default; + }; struct IsolatedWindowsHostMessenger { IsolatedWindowsHostMessenger() = delete; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.0.h index a8653ec6..b8e2312a 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.0.h @@ -56,6 +56,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage Roaming = 1, Temporary = 2, LocalCache = 3, + SharedLocal = 4, }; enum class CreationCollisionOption : int32_t { @@ -96,6 +97,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage VideosLibrary = 13, AllAppMods = 14, CurrentAppMods = 15, + DownloadsFolder = 16, }; enum class KnownFoldersAccessStatus : int32_t { @@ -104,6 +106,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage DeniedByUser = 2, UserPromptRequired = 3, Allowed = 4, + AllowedPerAppFolder = 5, }; enum class KnownLibraryId : int32_t { @@ -196,7 +199,12 @@ WINRT_EXPORT namespace winrt::Windows::Storage struct IStorageLibrary3; struct IStorageLibraryChange; struct IStorageLibraryChangeReader; + struct IStorageLibraryChangeReader2; struct IStorageLibraryChangeTracker; + struct IStorageLibraryChangeTracker2; + struct IStorageLibraryChangeTrackerOptions; + struct IStorageLibraryLastChangeId; + struct IStorageLibraryLastChangeIdStatics; struct IStorageLibraryStatics; struct IStorageLibraryStatics2; struct IStorageProvider; @@ -233,6 +241,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage struct StorageLibraryChange; struct StorageLibraryChangeReader; struct StorageLibraryChangeTracker; + struct StorageLibraryChangeTrackerOptions; + struct StorageLibraryLastChangeId; struct StorageProvider; struct StorageStreamTransaction; struct StreamedFileDataRequest; @@ -293,7 +303,12 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -330,6 +345,8 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -377,6 +394,8 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Storage.StorageLibraryChange"; template <> inline constexpr auto& name_v = L"Windows.Storage.StorageLibraryChangeReader"; template <> inline constexpr auto& name_v = L"Windows.Storage.StorageLibraryChangeTracker"; + template <> inline constexpr auto& name_v = L"Windows.Storage.StorageLibraryChangeTrackerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Storage.StorageLibraryLastChangeId"; template <> inline constexpr auto& name_v = L"Windows.Storage.StorageProvider"; template <> inline constexpr auto& name_v = L"Windows.Storage.StorageStreamTransaction"; template <> inline constexpr auto& name_v = L"Windows.Storage.StreamedFileDataRequest"; @@ -446,7 +465,12 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibrary3"; template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryChange"; template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryChangeReader"; + template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryChangeReader2"; template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryChangeTracker"; + template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryChangeTracker2"; + template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryChangeTrackerOptions"; + template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryLastChangeId"; + template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryLastChangeIdStatics"; template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryStatics"; template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageLibraryStatics2"; template <> inline constexpr auto& name_v = L"Windows.Storage.IStorageProvider"; @@ -509,7 +533,12 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x8A281291,0x2154,0x4201,{ 0x81,0x13,0xD2,0xC0,0x5C,0xE1,0xAD,0x23 } }; // 8A281291-2154-4201-8113-D2C05CE1AD23 template <> inline constexpr guid guid_v{ 0x00980B23,0x2BE2,0x4909,{ 0xAA,0x48,0x15,0x9F,0x52,0x03,0xA5,0x1E } }; // 00980B23-2BE2-4909-AA48-159F5203A51E template <> inline constexpr guid guid_v{ 0xF205BC83,0xFCA2,0x41F9,{ 0x89,0x54,0xEE,0x2E,0x99,0x1E,0xB9,0x6F } }; // F205BC83-FCA2-41F9-8954-EE2E991EB96F + template <> inline constexpr guid guid_v{ 0xABF4868B,0xFBCC,0x4A4F,{ 0x99,0x9E,0xE7,0xAB,0x7C,0x64,0x6D,0xBE } }; // ABF4868B-FBCC-4A4F-999E-E7AB7C646DBE template <> inline constexpr guid guid_v{ 0x9E157316,0x6073,0x44F6,{ 0x96,0x81,0x74,0x92,0xD1,0x28,0x6C,0x90 } }; // 9E157316-6073-44F6-9681-7492D1286C90 + template <> inline constexpr guid guid_v{ 0xCD051C3B,0x0F9F,0x42F9,{ 0x8F,0xB3,0x15,0x8D,0x82,0xE1,0x38,0x21 } }; // CD051C3B-0F9F-42F9-8FB3-158D82E13821 + template <> inline constexpr guid guid_v{ 0xBB52BCD4,0x1A6D,0x59C0,{ 0xAD,0x2A,0x82,0x3A,0x20,0x53,0x24,0x83 } }; // BB52BCD4-1A6D-59C0-AD2A-823A20532483 + template <> inline constexpr guid guid_v{ 0x5281826A,0xBBE1,0x53BC,{ 0x82,0xCA,0x81,0xCC,0x7F,0x03,0x93,0x29 } }; // 5281826A-BBE1-53BC-82CA-81CC7F039329 + template <> inline constexpr guid guid_v{ 0x81A49128,0x2CA3,0x5309,{ 0xB0,0xD1,0xCF,0x07,0x88,0xE4,0x07,0x62 } }; // 81A49128-2CA3-5309-B0D1-CF0788E40762 template <> inline constexpr guid guid_v{ 0x4208A6DB,0x684A,0x49C6,{ 0x9E,0x59,0x90,0x12,0x1E,0xE0,0x50,0xD6 } }; // 4208A6DB-684A-49C6-9E59-90121EE050D6 template <> inline constexpr guid guid_v{ 0xFFB08DDC,0xFA75,0x4695,{ 0xB9,0xD1,0x7F,0x81,0xF9,0x78,0x32,0xE3 } }; // FFB08DDC-FA75-4695-B9D1-7F81F97832E3 template <> inline constexpr guid guid_v{ 0xE705EED4,0xD478,0x47D6,{ 0xBA,0x46,0x1A,0x8E,0xBE,0x11,0x4A,0x20 } }; // E705EED4-D478-47D6-BA46-1A8EBE114A20 @@ -543,6 +572,8 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Storage::IStorageLibraryChange; }; template <> struct default_interface{ using type = winrt::Windows::Storage::IStorageLibraryChangeReader; }; template <> struct default_interface{ using type = winrt::Windows::Storage::IStorageLibraryChangeTracker; }; + template <> struct default_interface{ using type = winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions; }; + template <> struct default_interface{ using type = winrt::Windows::Storage::IStorageLibraryLastChangeId; }; template <> struct default_interface{ using type = winrt::Windows::Storage::IStorageProvider; }; template <> struct default_interface{ using type = winrt::Windows::Storage::IStorageStreamTransaction; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Streams::IOutputStream; }; @@ -978,6 +1009,13 @@ namespace winrt::impl virtual int32_t __stdcall AcceptChangesAsync(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetLastChangeId(uint64_t*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -987,6 +1025,35 @@ namespace winrt::impl virtual int32_t __stdcall Reset() noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall EnableWithOptions(void*) noexcept = 0; + virtual int32_t __stdcall Disable() noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_TrackChangeDetails(bool*) noexcept = 0; + virtual int32_t __stdcall put_TrackChangeDetails(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Unknown(uint64_t*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1709,6 +1776,15 @@ namespace winrt::impl template using type = consume_Windows_Storage_IStorageLibraryChangeReader; }; template + struct consume_Windows_Storage_IStorageLibraryChangeReader2 + { + WINRT_IMPL_AUTO(uint64_t) GetLastChangeId() const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_IStorageLibraryChangeReader2; + }; + template struct consume_Windows_Storage_IStorageLibraryChangeTracker { WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeReader) GetChangeReader() const; @@ -1720,6 +1796,43 @@ namespace winrt::impl template using type = consume_Windows_Storage_IStorageLibraryChangeTracker; }; template + struct consume_Windows_Storage_IStorageLibraryChangeTracker2 + { + WINRT_IMPL_AUTO(void) Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const; + WINRT_IMPL_AUTO(void) Disable() const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_IStorageLibraryChangeTracker2; + }; + template + struct consume_Windows_Storage_IStorageLibraryChangeTrackerOptions + { + [[nodiscard]] WINRT_IMPL_AUTO(bool) TrackChangeDetails() const; + WINRT_IMPL_AUTO(void) TrackChangeDetails(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_IStorageLibraryChangeTrackerOptions; + }; + template + struct consume_Windows_Storage_IStorageLibraryLastChangeId + { + }; + template <> struct consume + { + template using type = consume_Windows_Storage_IStorageLibraryLastChangeId; + }; + template + struct consume_Windows_Storage_IStorageLibraryLastChangeIdStatics + { + [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Unknown() const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_IStorageLibraryLastChangeIdStatics; + }; + template struct consume_Windows_Storage_IStorageLibraryStatics { WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.1.h index 825fc228..bb97254f 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.1.h @@ -474,6 +474,17 @@ WINRT_EXPORT namespace winrt::Windows::Storage IStorageLibraryChangeReader& operator=(IStorageLibraryChangeReader const&) & noexcept = default; IStorageLibraryChangeReader& operator=(IStorageLibraryChangeReader&&) & noexcept = default; }; + struct __declspec(empty_bases) IStorageLibraryChangeReader2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageLibraryChangeReader2(std::nullptr_t = nullptr) noexcept {} + IStorageLibraryChangeReader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageLibraryChangeReader2(IStorageLibraryChangeReader2 const&) noexcept = default; + IStorageLibraryChangeReader2(IStorageLibraryChangeReader2&&) noexcept = default; + IStorageLibraryChangeReader2& operator=(IStorageLibraryChangeReader2 const&) & noexcept = default; + IStorageLibraryChangeReader2& operator=(IStorageLibraryChangeReader2&&) & noexcept = default; + }; struct __declspec(empty_bases) IStorageLibraryChangeTracker : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -485,6 +496,50 @@ WINRT_EXPORT namespace winrt::Windows::Storage IStorageLibraryChangeTracker& operator=(IStorageLibraryChangeTracker const&) & noexcept = default; IStorageLibraryChangeTracker& operator=(IStorageLibraryChangeTracker&&) & noexcept = default; }; + struct __declspec(empty_bases) IStorageLibraryChangeTracker2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageLibraryChangeTracker2(std::nullptr_t = nullptr) noexcept {} + IStorageLibraryChangeTracker2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageLibraryChangeTracker2(IStorageLibraryChangeTracker2 const&) noexcept = default; + IStorageLibraryChangeTracker2(IStorageLibraryChangeTracker2&&) noexcept = default; + IStorageLibraryChangeTracker2& operator=(IStorageLibraryChangeTracker2 const&) & noexcept = default; + IStorageLibraryChangeTracker2& operator=(IStorageLibraryChangeTracker2&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageLibraryChangeTrackerOptions : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageLibraryChangeTrackerOptions(std::nullptr_t = nullptr) noexcept {} + IStorageLibraryChangeTrackerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageLibraryChangeTrackerOptions(IStorageLibraryChangeTrackerOptions const&) noexcept = default; + IStorageLibraryChangeTrackerOptions(IStorageLibraryChangeTrackerOptions&&) noexcept = default; + IStorageLibraryChangeTrackerOptions& operator=(IStorageLibraryChangeTrackerOptions const&) & noexcept = default; + IStorageLibraryChangeTrackerOptions& operator=(IStorageLibraryChangeTrackerOptions&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageLibraryLastChangeId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageLibraryLastChangeId(std::nullptr_t = nullptr) noexcept {} + IStorageLibraryLastChangeId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageLibraryLastChangeId(IStorageLibraryLastChangeId const&) noexcept = default; + IStorageLibraryLastChangeId(IStorageLibraryLastChangeId&&) noexcept = default; + IStorageLibraryLastChangeId& operator=(IStorageLibraryLastChangeId const&) & noexcept = default; + IStorageLibraryLastChangeId& operator=(IStorageLibraryLastChangeId&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageLibraryLastChangeIdStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageLibraryLastChangeIdStatics(std::nullptr_t = nullptr) noexcept {} + IStorageLibraryLastChangeIdStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageLibraryLastChangeIdStatics(IStorageLibraryLastChangeIdStatics const&) noexcept = default; + IStorageLibraryLastChangeIdStatics(IStorageLibraryLastChangeIdStatics&&) noexcept = default; + IStorageLibraryLastChangeIdStatics& operator=(IStorageLibraryLastChangeIdStatics const&) & noexcept = default; + IStorageLibraryLastChangeIdStatics& operator=(IStorageLibraryLastChangeIdStatics&&) & noexcept = default; + }; struct __declspec(empty_bases) IStorageLibraryStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.2.h index d602ac30..cc892ece 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.2.h @@ -52,7 +52,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage static auto GetDefault(); }; struct __declspec(empty_bases) ApplicationData : winrt::Windows::Storage::IApplicationData, - impl::require + impl::require { ApplicationData(std::nullptr_t) noexcept {} ApplicationData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IApplicationData(ptr, take_ownership_from_abi) {} @@ -73,7 +73,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage ApplicationDataCompositeValue& operator=(ApplicationDataCompositeValue const&) & noexcept = default; ApplicationDataCompositeValue& operator=(ApplicationDataCompositeValue&&) & noexcept = default; }; - struct __declspec(empty_bases) ApplicationDataContainer : winrt::Windows::Storage::IApplicationDataContainer + struct __declspec(empty_bases) ApplicationDataContainer : winrt::Windows::Storage::IApplicationDataContainer, + impl::require { ApplicationDataContainer(std::nullptr_t) noexcept {} ApplicationDataContainer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IApplicationDataContainer(ptr, take_ownership_from_abi) {} @@ -246,7 +247,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage StorageLibraryChange& operator=(StorageLibraryChange const&) & noexcept = default; StorageLibraryChange& operator=(StorageLibraryChange&&) & noexcept = default; }; - struct __declspec(empty_bases) StorageLibraryChangeReader : winrt::Windows::Storage::IStorageLibraryChangeReader + struct __declspec(empty_bases) StorageLibraryChangeReader : winrt::Windows::Storage::IStorageLibraryChangeReader, + impl::require { StorageLibraryChangeReader(std::nullptr_t) noexcept {} StorageLibraryChangeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryChangeReader(ptr, take_ownership_from_abi) {} @@ -255,7 +257,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage StorageLibraryChangeReader& operator=(StorageLibraryChangeReader const&) & noexcept = default; StorageLibraryChangeReader& operator=(StorageLibraryChangeReader&&) & noexcept = default; }; - struct __declspec(empty_bases) StorageLibraryChangeTracker : winrt::Windows::Storage::IStorageLibraryChangeTracker + struct __declspec(empty_bases) StorageLibraryChangeTracker : winrt::Windows::Storage::IStorageLibraryChangeTracker, + impl::require { StorageLibraryChangeTracker(std::nullptr_t) noexcept {} StorageLibraryChangeTracker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryChangeTracker(ptr, take_ownership_from_abi) {} @@ -263,6 +266,28 @@ WINRT_EXPORT namespace winrt::Windows::Storage StorageLibraryChangeTracker(StorageLibraryChangeTracker&&) noexcept = default; StorageLibraryChangeTracker& operator=(StorageLibraryChangeTracker const&) & noexcept = default; StorageLibraryChangeTracker& operator=(StorageLibraryChangeTracker&&) & noexcept = default; + using winrt::Windows::Storage::IStorageLibraryChangeTracker::Enable; + using impl::consume_t::Enable; + }; + struct __declspec(empty_bases) StorageLibraryChangeTrackerOptions : winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions + { + StorageLibraryChangeTrackerOptions(std::nullptr_t) noexcept {} + StorageLibraryChangeTrackerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions(ptr, take_ownership_from_abi) {} + StorageLibraryChangeTrackerOptions(); + StorageLibraryChangeTrackerOptions(StorageLibraryChangeTrackerOptions const&) noexcept = default; + StorageLibraryChangeTrackerOptions(StorageLibraryChangeTrackerOptions&&) noexcept = default; + StorageLibraryChangeTrackerOptions& operator=(StorageLibraryChangeTrackerOptions const&) & noexcept = default; + StorageLibraryChangeTrackerOptions& operator=(StorageLibraryChangeTrackerOptions&&) & noexcept = default; + }; + struct __declspec(empty_bases) StorageLibraryLastChangeId : winrt::Windows::Storage::IStorageLibraryLastChangeId + { + StorageLibraryLastChangeId(std::nullptr_t) noexcept {} + StorageLibraryLastChangeId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryLastChangeId(ptr, take_ownership_from_abi) {} + StorageLibraryLastChangeId(StorageLibraryLastChangeId const&) noexcept = default; + StorageLibraryLastChangeId(StorageLibraryLastChangeId&&) noexcept = default; + StorageLibraryLastChangeId& operator=(StorageLibraryLastChangeId const&) & noexcept = default; + StorageLibraryLastChangeId& operator=(StorageLibraryLastChangeId&&) & noexcept = default; + [[nodiscard]] static auto Unknown(); }; struct __declspec(empty_bases) StorageProvider : winrt::Windows::Storage::IStorageProvider, impl::require diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.0.h index 408862a5..029131c3 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.0.h @@ -72,6 +72,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider ValidationRequired = 0x1, StreamingAllowed = 0x2, AutoDehydrationAllowed = 0x4, + AllowFullRestartHydration = 0x8, }; enum class StorageProviderInSyncPolicy : uint32_t { @@ -98,6 +99,15 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider Unknown = 0, Personal = 1, }; + enum class StorageProviderState : int32_t + { + InSync = 0, + Syncing = 1, + Paused = 2, + Error = 3, + Warning = 4, + Offline = 5, + }; enum class StorageProviderUriSourceStatus : int32_t { Success = 0, @@ -124,15 +134,23 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider struct IFileUpdateRequest2; struct IFileUpdateRequestDeferral; struct IFileUpdateRequestedEventArgs; + struct IStorageProviderError; + struct IStorageProviderErrorCommand; + struct IStorageProviderErrorCommandFactory; + struct IStorageProviderErrorFactory; struct IStorageProviderFileTypeInfo; struct IStorageProviderFileTypeInfoFactory; struct IStorageProviderGetContentInfoForPathResult; struct IStorageProviderGetPathForContentUriResult; + struct IStorageProviderHandlerFactory; struct IStorageProviderItemPropertiesStatics; struct IStorageProviderItemProperty; struct IStorageProviderItemPropertyDefinition; struct IStorageProviderItemPropertySource; struct IStorageProviderPropertyCapabilities; + struct IStorageProviderStatus; + struct IStorageProviderStatusFactory; + struct IStorageProviderStatusSource; struct IStorageProviderSyncRootInfo; struct IStorageProviderSyncRootInfo2; struct IStorageProviderSyncRootInfo3; @@ -144,12 +162,15 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider struct FileUpdateRequest; struct FileUpdateRequestDeferral; struct FileUpdateRequestedEventArgs; + struct StorageProviderError; + struct StorageProviderErrorCommand; struct StorageProviderFileTypeInfo; struct StorageProviderGetContentInfoForPathResult; struct StorageProviderGetPathForContentUriResult; struct StorageProviderItemProperties; struct StorageProviderItemProperty; struct StorageProviderItemPropertyDefinition; + struct StorageProviderStatus; struct StorageProviderSyncRootInfo; struct StorageProviderSyncRootManager; } @@ -162,15 +183,23 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -182,12 +211,15 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; @@ -200,6 +232,7 @@ namespace winrt::impl template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -208,12 +241,15 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.FileUpdateRequest"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.FileUpdateRequestDeferral"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.FileUpdateRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderError"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderErrorCommand"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderFileTypeInfo"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderGetContentInfoForPathResult"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderGetPathForContentUriResult"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderItemProperties"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderItemProperty"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderItemPropertyDefinition"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderStatus"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderSyncRootInfo"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderSyncRootManager"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.CachedFileOptions"; @@ -226,6 +262,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderInSyncPolicy"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderPopulationPolicy"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderProtectionMode"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderState"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.StorageProviderUriSourceStatus"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.UIStatus"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.WriteActivationMode"; @@ -236,15 +273,23 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IFileUpdateRequest2"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IFileUpdateRequestDeferral"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IFileUpdateRequestedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderError"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderErrorCommand"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderErrorCommandFactory"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderErrorFactory"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderFileTypeInfo"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderFileTypeInfoFactory"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderGetContentInfoForPathResult"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderGetPathForContentUriResult"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderHandlerFactory"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderItemPropertiesStatics"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderItemProperty"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderItemPropertyDefinition"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderItemPropertySource"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderPropertyCapabilities"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderStatus"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderStatusFactory"; + template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderStatusSource"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderSyncRootInfo"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderSyncRootInfo2"; template <> inline constexpr auto& name_v = L"Windows.Storage.Provider.IStorageProviderSyncRootInfo3"; @@ -258,15 +303,23 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x82484648,0xBDBE,0x447B,{ 0xA2,0xEE,0x7A,0xFE,0x6A,0x03,0x2A,0x94 } }; // 82484648-BDBE-447B-A2EE-7AFE6A032A94 template <> inline constexpr guid guid_v{ 0xFFCEDB2B,0x8ADE,0x44A5,{ 0xBB,0x00,0x16,0x4C,0x4E,0x72,0xF1,0x3A } }; // FFCEDB2B-8ADE-44A5-BB00-164C4E72F13A template <> inline constexpr guid guid_v{ 0x7B0A9342,0x3905,0x438D,{ 0xAA,0xEF,0x78,0xAE,0x26,0x5F,0x8D,0xD2 } }; // 7B0A9342-3905-438D-AAEF-78AE265F8DD2 + template <> inline constexpr guid guid_v{ 0x47F2780B,0xEF7F,0x5910,{ 0xBF,0x83,0x33,0x1D,0x89,0x25,0x66,0x15 } }; // 47F2780B-EF7F-5910-BF83-331D89256615 + template <> inline constexpr guid guid_v{ 0xB6B18AED,0xBB65,0x5F26,{ 0x86,0xE4,0x1D,0x3E,0x34,0xD5,0x44,0x77 } }; // B6B18AED-BB65-5F26-86E4-1D3E34D54477 + template <> inline constexpr guid guid_v{ 0xECC1F555,0x3AB4,0x556F,{ 0x8B,0xB2,0x7E,0x55,0x15,0xEE,0xD8,0xDC } }; // ECC1F555-3AB4-556F-8BB2-7E5515EED8DC + template <> inline constexpr guid guid_v{ 0x97D6F240,0x61AB,0x51DC,{ 0x99,0x21,0x18,0xBD,0x0D,0xBE,0xF7,0x9E } }; // 97D6F240-61AB-51DC-9921-18BD0DBEF79E template <> inline constexpr guid guid_v{ 0x1955B9C1,0x0184,0x5A88,{ 0x87,0xDF,0x45,0x44,0xF4,0x64,0x36,0x5D } }; // 1955B9C1-0184-5A88-87DF-4544F464365D template <> inline constexpr guid guid_v{ 0x3FA12C6F,0xCCE6,0x5D5D,{ 0x80,0xB1,0x38,0x9E,0x7C,0xF9,0x2D,0xBF } }; // 3FA12C6F-CCE6-5D5D-80B1-389E7CF92DBF template <> inline constexpr guid guid_v{ 0x2564711D,0xAA89,0x4D12,{ 0x82,0xE3,0xF7,0x2A,0x92,0xE3,0x39,0x66 } }; // 2564711D-AA89-4D12-82E3-F72A92E33966 template <> inline constexpr guid guid_v{ 0x63711A9D,0x4118,0x45A6,{ 0xAC,0xB6,0x22,0xC4,0x9D,0x01,0x9F,0x40 } }; // 63711A9D-4118-45A6-ACB6-22C49D019F40 + template <> inline constexpr guid guid_v{ 0x6154DC3A,0xFC1D,0x5AAE,{ 0x9E,0x23,0xE8,0x65,0x9A,0x22,0xC5,0xF6 } }; // 6154DC3A-FC1D-5AAE-9E23-E8659A22C5F6 template <> inline constexpr guid guid_v{ 0x2D2C1C97,0x2704,0x4729,{ 0x8F,0xA9,0x7E,0x6B,0x8E,0x15,0x8C,0x2F } }; // 2D2C1C97-2704-4729-8FA9-7E6B8E158C2F template <> inline constexpr guid guid_v{ 0x476CB558,0x730B,0x4188,{ 0xB7,0xB5,0x63,0xB7,0x16,0xED,0x47,0x6D } }; // 476CB558-730B-4188-B7B5-63B716ED476D template <> inline constexpr guid guid_v{ 0xC5B383BB,0xFF1F,0x4298,{ 0x83,0x1E,0xFF,0x1C,0x08,0x08,0x96,0x90 } }; // C5B383BB-FF1F-4298-831E-FF1C08089690 template <> inline constexpr guid guid_v{ 0x8F6F9C3E,0xF632,0x4A9B,{ 0x8D,0x99,0xD2,0xD7,0xA1,0x1D,0xF5,0x6A } }; // 8F6F9C3E-F632-4A9B-8D99-D2D7A11DF56A template <> inline constexpr guid guid_v{ 0x658D2F0E,0x63B7,0x4567,{ 0xAC,0xF9,0x51,0xAB,0xE3,0x01,0xDD,0xA5 } }; // 658D2F0E-63B7-4567-ACF9-51ABE301DDA5 + template <> inline constexpr guid guid_v{ 0xFF6E761D,0xFB8B,0x56C3,{ 0x9E,0x7A,0x05,0x30,0x9D,0x19,0x1F,0xB4 } }; // FF6E761D-FB8B-56C3-9E7A-05309D191FB4 + template <> inline constexpr guid guid_v{ 0xD64828C5,0x9B7A,0x5FA4,{ 0xB1,0x26,0x90,0xBD,0x18,0x93,0x6C,0x7F } }; // D64828C5-9B7A-5FA4-B126-90BD18936C7F + template <> inline constexpr guid guid_v{ 0x2E316BB2,0xFD43,0x5335,{ 0xB3,0xC4,0xA9,0x62,0xEE,0x31,0xD1,0x7E } }; // 2E316BB2-FD43-5335-B3C4-A962EE31D17E template <> inline constexpr guid guid_v{ 0x7C1305C4,0x99F9,0x41AC,{ 0x89,0x04,0xAB,0x05,0x5D,0x65,0x49,0x26 } }; // 7C1305C4-99F9-41AC-8904-AB055D654926 template <> inline constexpr guid guid_v{ 0xCF51B023,0x7CF1,0x5166,{ 0xBD,0xBA,0xEF,0xD9,0x5F,0x52,0x9E,0x31 } }; // CF51B023-7CF1-5166-BDBA-EFD95F529E31 template <> inline constexpr guid guid_v{ 0x507A6617,0xBEF6,0x56FD,{ 0x85,0x5E,0x75,0xAC,0xE2,0xE4,0x5C,0xF5 } }; // 507A6617-BEF6-56FD-855E-75ACE2E45CF5 @@ -277,11 +330,14 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IFileUpdateRequest; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderError; }; + template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderErrorCommand; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderItemProperty; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition; }; + template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderStatus; }; template <> struct default_interface{ using type = winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo; }; template <> struct abi { @@ -346,6 +402,45 @@ namespace winrt::impl virtual int32_t __stdcall get_Request(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Id(void**) noexcept = 0; + virtual int32_t __stdcall get_Title(void**) noexcept = 0; + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall get_FilePath(void**) noexcept = 0; + virtual int32_t __stdcall put_FilePath(void*) noexcept = 0; + virtual int32_t __stdcall get_PrimaryAction(void**) noexcept = 0; + virtual int32_t __stdcall put_PrimaryAction(void*) noexcept = 0; + virtual int32_t __stdcall get_SecondaryAction(void**) noexcept = 0; + virtual int32_t __stdcall put_SecondaryAction(void*) noexcept = 0; + virtual int32_t __stdcall get_InformationalLink(void**) noexcept = 0; + virtual int32_t __stdcall put_InformationalLink(void*) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Label(void**) noexcept = 0; + virtual int32_t __stdcall get_ActionUri(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void*, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -383,6 +478,13 @@ namespace winrt::impl virtual int32_t __stdcall put_Path(void*) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetStatusSource(void*, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -426,6 +528,32 @@ namespace winrt::impl virtual int32_t __stdcall IsPropertySupported(void*, bool*) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Message(void**) noexcept = 0; + virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_ErrorMessages(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(int32_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(int32_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetStatus(void**) noexcept = 0; + virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -586,6 +714,53 @@ namespace winrt::impl template using type = consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs; }; template + struct consume_Windows_Storage_Provider_IStorageProviderError + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; + [[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const; + [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; + [[nodiscard]] WINRT_IMPL_AUTO(hstring) FilePath() const; + WINRT_IMPL_AUTO(void) FilePath(param::hstring const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) PrimaryAction() const; + WINRT_IMPL_AUTO(void) PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) SecondaryAction() const; + WINRT_IMPL_AUTO(void) SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) InformationalLink() const; + WINRT_IMPL_AUTO(void) InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderError; + }; + template + struct consume_Windows_Storage_Provider_IStorageProviderErrorCommand + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ActionUri() const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderErrorCommand; + }; + template + struct consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory + { + WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory; + }; + template + struct consume_Windows_Storage_Provider_IStorageProviderErrorFactory + { + WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderError) CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderErrorFactory; + }; + template struct consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo { [[nodiscard]] WINRT_IMPL_AUTO(hstring) FileExtension() const; @@ -631,6 +806,15 @@ namespace winrt::impl template using type = consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult; }; template + struct consume_Windows_Storage_Provider_IStorageProviderHandlerFactory + { + WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::IStorageProviderStatusSource) GetStatusSource(param::hstring const& syncRootId) const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderHandlerFactory; + }; + template struct consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics { WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable const& itemProperties) const; @@ -684,6 +868,40 @@ namespace winrt::impl template using type = consume_Windows_Storage_Provider_IStorageProviderPropertyCapabilities; }; template + struct consume_Windows_Storage_Provider_IStorageProviderStatus + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderState) State() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) ErrorMessages() const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderStatus; + }; + template + struct consume_Windows_Storage_Provider_IStorageProviderStatusFactory + { + WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const; + WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages) const; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderStatusFactory; + }; + template + struct consume_Windows_Storage_Provider_IStorageProviderStatusSource + { + WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) GetStatus() const; + WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Changed_revoker = impl::event_revoker::remove_Changed>; + [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Windows_Storage_Provider_IStorageProviderStatusSource; + }; + template struct consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo { [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.1.h index 70a95873..78ca5b7f 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.1.h @@ -84,6 +84,50 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider IFileUpdateRequestedEventArgs& operator=(IFileUpdateRequestedEventArgs const&) & noexcept = default; IFileUpdateRequestedEventArgs& operator=(IFileUpdateRequestedEventArgs&&) & noexcept = default; }; + struct __declspec(empty_bases) IStorageProviderError : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderError(std::nullptr_t = nullptr) noexcept {} + IStorageProviderError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderError(IStorageProviderError const&) noexcept = default; + IStorageProviderError(IStorageProviderError&&) noexcept = default; + IStorageProviderError& operator=(IStorageProviderError const&) & noexcept = default; + IStorageProviderError& operator=(IStorageProviderError&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageProviderErrorCommand : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderErrorCommand(std::nullptr_t = nullptr) noexcept {} + IStorageProviderErrorCommand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderErrorCommand(IStorageProviderErrorCommand const&) noexcept = default; + IStorageProviderErrorCommand(IStorageProviderErrorCommand&&) noexcept = default; + IStorageProviderErrorCommand& operator=(IStorageProviderErrorCommand const&) & noexcept = default; + IStorageProviderErrorCommand& operator=(IStorageProviderErrorCommand&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageProviderErrorCommandFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderErrorCommandFactory(std::nullptr_t = nullptr) noexcept {} + IStorageProviderErrorCommandFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderErrorCommandFactory(IStorageProviderErrorCommandFactory const&) noexcept = default; + IStorageProviderErrorCommandFactory(IStorageProviderErrorCommandFactory&&) noexcept = default; + IStorageProviderErrorCommandFactory& operator=(IStorageProviderErrorCommandFactory const&) & noexcept = default; + IStorageProviderErrorCommandFactory& operator=(IStorageProviderErrorCommandFactory&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageProviderErrorFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderErrorFactory(std::nullptr_t = nullptr) noexcept {} + IStorageProviderErrorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderErrorFactory(IStorageProviderErrorFactory const&) noexcept = default; + IStorageProviderErrorFactory(IStorageProviderErrorFactory&&) noexcept = default; + IStorageProviderErrorFactory& operator=(IStorageProviderErrorFactory const&) & noexcept = default; + IStorageProviderErrorFactory& operator=(IStorageProviderErrorFactory&&) & noexcept = default; + }; struct __declspec(empty_bases) IStorageProviderFileTypeInfo : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -128,6 +172,17 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider IStorageProviderGetPathForContentUriResult& operator=(IStorageProviderGetPathForContentUriResult const&) & noexcept = default; IStorageProviderGetPathForContentUriResult& operator=(IStorageProviderGetPathForContentUriResult&&) & noexcept = default; }; + struct __declspec(empty_bases) IStorageProviderHandlerFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderHandlerFactory(std::nullptr_t = nullptr) noexcept {} + IStorageProviderHandlerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderHandlerFactory(IStorageProviderHandlerFactory const&) noexcept = default; + IStorageProviderHandlerFactory(IStorageProviderHandlerFactory&&) noexcept = default; + IStorageProviderHandlerFactory& operator=(IStorageProviderHandlerFactory const&) & noexcept = default; + IStorageProviderHandlerFactory& operator=(IStorageProviderHandlerFactory&&) & noexcept = default; + }; struct __declspec(empty_bases) IStorageProviderItemPropertiesStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -183,6 +238,39 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider IStorageProviderPropertyCapabilities& operator=(IStorageProviderPropertyCapabilities const&) & noexcept = default; IStorageProviderPropertyCapabilities& operator=(IStorageProviderPropertyCapabilities&&) & noexcept = default; }; + struct __declspec(empty_bases) IStorageProviderStatus : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderStatus(std::nullptr_t = nullptr) noexcept {} + IStorageProviderStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderStatus(IStorageProviderStatus const&) noexcept = default; + IStorageProviderStatus(IStorageProviderStatus&&) noexcept = default; + IStorageProviderStatus& operator=(IStorageProviderStatus const&) & noexcept = default; + IStorageProviderStatus& operator=(IStorageProviderStatus&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageProviderStatusFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderStatusFactory(std::nullptr_t = nullptr) noexcept {} + IStorageProviderStatusFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderStatusFactory(IStorageProviderStatusFactory const&) noexcept = default; + IStorageProviderStatusFactory(IStorageProviderStatusFactory&&) noexcept = default; + IStorageProviderStatusFactory& operator=(IStorageProviderStatusFactory const&) & noexcept = default; + IStorageProviderStatusFactory& operator=(IStorageProviderStatusFactory&&) & noexcept = default; + }; + struct __declspec(empty_bases) IStorageProviderStatusSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IStorageProviderStatusSource(std::nullptr_t = nullptr) noexcept {} + IStorageProviderStatusSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IStorageProviderStatusSource(IStorageProviderStatusSource const&) noexcept = default; + IStorageProviderStatusSource(IStorageProviderStatusSource&&) noexcept = default; + IStorageProviderStatusSource& operator=(IStorageProviderStatusSource const&) & noexcept = default; + IStorageProviderStatusSource& operator=(IStorageProviderStatusSource&&) & noexcept = default; + }; struct __declspec(empty_bases) IStorageProviderSyncRootInfo : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.2.h index 48bea329..e61a86c4 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.2.h @@ -2,6 +2,7 @@ #ifndef WINRT_Windows_Storage_Provider_2_H #define WINRT_Windows_Storage_Provider_2_H +#include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.Storage.1.h" #include "winrt/impl/Windows.Storage.Provider.1.h" @@ -50,6 +51,26 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider FileUpdateRequestedEventArgs& operator=(FileUpdateRequestedEventArgs const&) & noexcept = default; FileUpdateRequestedEventArgs& operator=(FileUpdateRequestedEventArgs&&) & noexcept = default; }; + struct __declspec(empty_bases) StorageProviderError : winrt::Windows::Storage::Provider::IStorageProviderError + { + StorageProviderError(std::nullptr_t) noexcept {} + StorageProviderError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Provider::IStorageProviderError(ptr, take_ownership_from_abi) {} + StorageProviderError(param::hstring const& id, param::hstring const& title, param::hstring const& message); + StorageProviderError(StorageProviderError const&) noexcept = default; + StorageProviderError(StorageProviderError&&) noexcept = default; + StorageProviderError& operator=(StorageProviderError const&) & noexcept = default; + StorageProviderError& operator=(StorageProviderError&&) & noexcept = default; + }; + struct __declspec(empty_bases) StorageProviderErrorCommand : winrt::Windows::Storage::Provider::IStorageProviderErrorCommand + { + StorageProviderErrorCommand(std::nullptr_t) noexcept {} + StorageProviderErrorCommand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Provider::IStorageProviderErrorCommand(ptr, take_ownership_from_abi) {} + StorageProviderErrorCommand(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri); + StorageProviderErrorCommand(StorageProviderErrorCommand const&) noexcept = default; + StorageProviderErrorCommand(StorageProviderErrorCommand&&) noexcept = default; + StorageProviderErrorCommand& operator=(StorageProviderErrorCommand const&) & noexcept = default; + StorageProviderErrorCommand& operator=(StorageProviderErrorCommand&&) & noexcept = default; + }; struct __declspec(empty_bases) StorageProviderFileTypeInfo : winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo { StorageProviderFileTypeInfo(std::nullptr_t) noexcept {} @@ -105,6 +126,17 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider StorageProviderItemPropertyDefinition& operator=(StorageProviderItemPropertyDefinition const&) & noexcept = default; StorageProviderItemPropertyDefinition& operator=(StorageProviderItemPropertyDefinition&&) & noexcept = default; }; + struct __declspec(empty_bases) StorageProviderStatus : winrt::Windows::Storage::Provider::IStorageProviderStatus + { + StorageProviderStatus(std::nullptr_t) noexcept {} + StorageProviderStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Provider::IStorageProviderStatus(ptr, take_ownership_from_abi) {} + StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message); + StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable const& errorMessages); + StorageProviderStatus(StorageProviderStatus const&) noexcept = default; + StorageProviderStatus(StorageProviderStatus&&) noexcept = default; + StorageProviderStatus& operator=(StorageProviderStatus const&) & noexcept = default; + StorageProviderStatus& operator=(StorageProviderStatus&&) & noexcept = default; + }; struct __declspec(empty_bases) StorageProviderSyncRootInfo : winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo, impl::require { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.0.h index 580f0e28..fed5a1e5 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.0.h @@ -199,6 +199,7 @@ WINRT_EXPORT namespace winrt::Windows::System RemoteUser = 1, LocalGuest = 2, RemoteGuest = 3, + SystemManaged = 4, }; enum class UserWatcherStatus : int32_t { @@ -469,6 +470,7 @@ WINRT_EXPORT namespace winrt::Windows::System struct IUserPicker; struct IUserPickerStatics; struct IUserStatics; + struct IUserStatics2; struct IUserWatcher; struct AppActivationResult; struct AppDiagnosticInfo; @@ -592,6 +594,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -804,6 +807,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.System.IUserPicker"; template <> inline constexpr auto& name_v = L"Windows.System.IUserPickerStatics"; template <> inline constexpr auto& name_v = L"Windows.System.IUserStatics"; + template <> inline constexpr auto& name_v = L"Windows.System.IUserStatics2"; template <> inline constexpr auto& name_v = L"Windows.System.IUserWatcher"; template <> inline constexpr auto& name_v = L"Windows.System.DispatcherQueueHandler"; template <> inline constexpr guid guid_v{ 0x6B528900,0xF46E,0x4EB0,{ 0xAA,0x6C,0x38,0xAF,0x55,0x7C,0xF9,0xED } }; // 6B528900-F46E-4EB0-AA6C-38AF557CF9ED @@ -878,6 +882,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x7D548008,0xF1E3,0x4A6C,{ 0x8D,0xDC,0xA9,0xBB,0x0F,0x48,0x8A,0xED } }; // 7D548008-F1E3-4A6C-8DDC-A9BB0F488AED template <> inline constexpr guid guid_v{ 0xDE3290DC,0x7E73,0x4DF6,{ 0xA1,0xAE,0x4D,0x7E,0xCA,0x82,0xB4,0x0D } }; // DE3290DC-7E73-4DF6-A1AE-4D7ECA82B40D template <> inline constexpr guid guid_v{ 0x155EB23B,0x242A,0x45E0,{ 0xA2,0xE9,0x31,0x71,0xFC,0x6A,0x7F,0xDD } }; // 155EB23B-242A-45E0-A2E9-3171FC6A7FDD + template <> inline constexpr guid guid_v{ 0x74A37E11,0x2EB5,0x4487,{ 0xB0,0xD5,0x2C,0x67,0x90,0xE0,0x13,0xE9 } }; // 74A37E11-2EB5-4487-B0D5-2C6790E013E9 template <> inline constexpr guid guid_v{ 0x155EB23B,0x242A,0x45E0,{ 0xA2,0xE9,0x31,0x71,0xFC,0x6A,0x7F,0xBB } }; // 155EB23B-242A-45E0-A2E9-3171FC6A7FBB template <> inline constexpr guid guid_v{ 0xDFA2DC9C,0x1A2D,0x4917,{ 0x98,0xF2,0x93,0x9A,0xF1,0xD6,0xE0,0xC8 } }; // DFA2DC9C-1A2D-4917-98F2-939AF1D6E0C8 template <> struct default_interface{ using type = winrt::Windows::System::IAppActivationResult; }; @@ -1593,6 +1598,13 @@ namespace winrt::impl virtual int32_t __stdcall GetFromId(void*, void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetDefault(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2476,6 +2488,15 @@ namespace winrt::impl template using type = consume_Windows_System_IUserStatics; }; template + struct consume_Windows_System_IUserStatics2 + { + WINRT_IMPL_AUTO(winrt::Windows::System::User) GetDefault() const; + }; + template <> struct consume + { + template using type = consume_Windows_System_IUserStatics2; + }; + template struct consume_Windows_System_IUserWatcher { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcherStatus) Status() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.1.h index ee510627..4ba40210 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.1.h @@ -798,6 +798,17 @@ WINRT_EXPORT namespace winrt::Windows::System IUserStatics& operator=(IUserStatics const&) & noexcept = default; IUserStatics& operator=(IUserStatics&&) & noexcept = default; }; + struct __declspec(empty_bases) IUserStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IUserStatics2(std::nullptr_t = nullptr) noexcept {} + IUserStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IUserStatics2(IUserStatics2 const&) noexcept = default; + IUserStatics2(IUserStatics2&&) noexcept = default; + IUserStatics2& operator=(IUserStatics2 const&) & noexcept = default; + IUserStatics2& operator=(IUserStatics2&&) & noexcept = default; + }; struct __declspec(empty_bases) IUserWatcher : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.2.h index b1dd511e..61a47616 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.2.h @@ -433,6 +433,7 @@ WINRT_EXPORT namespace winrt::Windows::System static auto FindAllAsync(winrt::Windows::System::UserType const& type); static auto FindAllAsync(winrt::Windows::System::UserType const& type, winrt::Windows::System::UserAuthenticationStatus const& status); static auto GetFromId(param::hstring const& nonRoamableId); + static auto GetDefault(); }; struct __declspec(empty_bases) UserAuthenticationStatusChangeDeferral : winrt::Windows::System::IUserAuthenticationStatusChangeDeferral { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h index bbfafc4a..93ecd636 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h @@ -20,6 +20,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections WINRT_EXPORT namespace winrt::Windows::System { struct AppDiagnosticInfo; + enum class ProcessorArchitecture : int32_t; struct User; } WINRT_EXPORT namespace winrt::Windows::System::Diagnostics @@ -32,6 +33,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics Detecting = 3, Resolving = 4, VerifyingResolution = 5, + Executing = 6, }; struct IDiagnosticActionResult; struct IDiagnosticInvoker; @@ -51,6 +53,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics struct ISystemCpuUsageReport; struct ISystemDiagnosticInfo; struct ISystemDiagnosticInfoStatics; + struct ISystemDiagnosticInfoStatics2; struct ISystemMemoryUsage; struct ISystemMemoryUsageReport; struct DiagnosticActionResult; @@ -88,6 +91,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; @@ -138,6 +142,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.ISystemCpuUsageReport"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.ISystemDiagnosticInfo"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.ISystemDiagnosticInfoStatics"; + template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.ISystemDiagnosticInfoStatics2"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.ISystemMemoryUsage"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.ISystemMemoryUsageReport"; template <> inline constexpr guid guid_v{ 0xC265A296,0xE73B,0x4097,{ 0xB2,0x8F,0x34,0x42,0xF0,0x3D,0xD8,0x31 } }; // C265A296-E73B-4097-B28F-3442F03DD831 @@ -158,6 +163,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x2C26D0B2,0x9483,0x4F62,{ 0xAB,0x57,0x82,0xB2,0x9D,0x97,0x19,0xB8 } }; // 2C26D0B2-9483-4F62-AB57-82B29D9719B8 template <> inline constexpr guid guid_v{ 0xA290FE05,0xDFF3,0x407F,{ 0x9A,0x1B,0x0B,0x2B,0x31,0x7C,0xA8,0x00 } }; // A290FE05-DFF3-407F-9A1B-0B2B317CA800 template <> inline constexpr guid guid_v{ 0xD404AC21,0xFC7D,0x45F0,{ 0x9A,0x3F,0x39,0x20,0x3A,0xED,0x9F,0x7E } }; // D404AC21-FC7D-45F0-9A3F-39203AED9F7E + template <> inline constexpr guid guid_v{ 0x79DED189,0x6AF9,0x4DA9,{ 0xA4,0x22,0x15,0xF7,0x32,0x55,0xB3,0xEB } }; // 79DED189-6AF9-4DA9-A422-15F73255B3EB template <> inline constexpr guid guid_v{ 0x17FFC595,0x1702,0x49CF,{ 0xAA,0x27,0x2F,0x0A,0x32,0x59,0x14,0x04 } }; // 17FFC595-1702-49CF-AA27-2F0A32591404 template <> inline constexpr guid guid_v{ 0x38663C87,0x2A9F,0x403A,{ 0xBD,0x19,0x2C,0xF3,0xE8,0x16,0x95,0x00 } }; // 38663C87-2A9F-403A-BD19-2CF3E8169500 template <> struct default_interface{ using type = winrt::Windows::System::Diagnostics::IDiagnosticActionResult; }; @@ -331,6 +337,14 @@ namespace winrt::impl virtual int32_t __stdcall GetForCurrentSystem(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall IsArchitectureSupported(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall get_PreferredArchitecture(int32_t*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -541,6 +555,16 @@ namespace winrt::impl template using type = consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics; }; template + struct consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2 + { + WINRT_IMPL_AUTO(bool) IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) PreferredArchitecture() const; + }; + template <> struct consume + { + template using type = consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2; + }; + template struct consume_Windows_System_Diagnostics_ISystemMemoryUsage { WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) GetReport() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h index 029509f9..26b185d8 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h @@ -203,6 +203,17 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics ISystemDiagnosticInfoStatics& operator=(ISystemDiagnosticInfoStatics const&) & noexcept = default; ISystemDiagnosticInfoStatics& operator=(ISystemDiagnosticInfoStatics&&) & noexcept = default; }; + struct __declspec(empty_bases) ISystemDiagnosticInfoStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISystemDiagnosticInfoStatics2(std::nullptr_t = nullptr) noexcept {} + ISystemDiagnosticInfoStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ISystemDiagnosticInfoStatics2(ISystemDiagnosticInfoStatics2 const&) noexcept = default; + ISystemDiagnosticInfoStatics2(ISystemDiagnosticInfoStatics2&&) noexcept = default; + ISystemDiagnosticInfoStatics2& operator=(ISystemDiagnosticInfoStatics2 const&) & noexcept = default; + ISystemDiagnosticInfoStatics2& operator=(ISystemDiagnosticInfoStatics2&&) & noexcept = default; + }; struct __declspec(empty_bases) ISystemMemoryUsage : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h index c378f4d4..890bc821 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h @@ -122,6 +122,8 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics SystemDiagnosticInfo& operator=(SystemDiagnosticInfo const&) & noexcept = default; SystemDiagnosticInfo& operator=(SystemDiagnosticInfo&&) & noexcept = default; static auto GetForCurrentSystem(); + static auto IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type); + [[nodiscard]] static auto PreferredArchitecture(); }; struct __declspec(empty_bases) SystemMemoryUsage : winrt::Windows::System::Diagnostics::ISystemMemoryUsage { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.0.h index f60a7a07..b89f78dd 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.0.h @@ -52,6 +52,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile struct IAnalyticsInfoStatics; struct IAnalyticsInfoStatics2; struct IAnalyticsVersionInfo; + struct IAnalyticsVersionInfo2; struct IAppApplicabilityStatics; struct IEducationSettingsStatics; struct IHardwareIdentificationStatics; @@ -87,6 +88,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -142,6 +144,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.System.Profile.IAnalyticsInfoStatics"; template <> inline constexpr auto& name_v = L"Windows.System.Profile.IAnalyticsInfoStatics2"; template <> inline constexpr auto& name_v = L"Windows.System.Profile.IAnalyticsVersionInfo"; + template <> inline constexpr auto& name_v = L"Windows.System.Profile.IAnalyticsVersionInfo2"; template <> inline constexpr auto& name_v = L"Windows.System.Profile.IAppApplicabilityStatics"; template <> inline constexpr auto& name_v = L"Windows.System.Profile.IEducationSettingsStatics"; template <> inline constexpr auto& name_v = L"Windows.System.Profile.IHardwareIdentificationStatics"; @@ -159,6 +162,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x1D5EE066,0x188D,0x5BA9,{ 0x43,0x87,0xAC,0xAE,0xB0,0xE7,0xE3,0x05 } }; // 1D5EE066-188D-5BA9-4387-ACAEB0E7E305 template <> inline constexpr guid guid_v{ 0x101704EA,0xA7F9,0x46D2,{ 0xAB,0x94,0x01,0x68,0x65,0xAF,0xDB,0x25 } }; // 101704EA-A7F9-46D2-AB94-016865AFDB25 template <> inline constexpr guid guid_v{ 0x926130B8,0x9955,0x4C74,{ 0xBD,0xC1,0x7C,0xD0,0xDE,0xCF,0x9B,0x03 } }; // 926130B8-9955-4C74-BDC1-7CD0DECF9B03 + template <> inline constexpr guid guid_v{ 0x76E915B1,0xFF36,0x407C,{ 0x9F,0x57,0x16,0x0D,0x3E,0x54,0x07,0x47 } }; // 76E915B1-FF36-407C-9F57-160D3E540747 template <> inline constexpr guid guid_v{ 0x1664A082,0x0F38,0x5C99,{ 0x83,0xE4,0x48,0x99,0x59,0x70,0x86,0x1C } }; // 1664A082-0F38-5C99-83E4-48995970861C template <> inline constexpr guid guid_v{ 0xFC53F0EF,0x4D3E,0x4E13,{ 0x9B,0x23,0x50,0x5F,0x4D,0x09,0x1E,0x92 } }; // FC53F0EF-4D3E-4E13-9B23-505F4D091E92 template <> inline constexpr guid guid_v{ 0x971260E0,0xF170,0x4A42,{ 0xBD,0x55,0xA9,0x00,0xB2,0x12,0xDA,0xE2 } }; // 971260E0-F170-4A42-BD55-A900B212DAE2 @@ -200,6 +204,13 @@ namespace winrt::impl virtual int32_t __stdcall get_DeviceFamilyVersion(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_ProductName(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -365,6 +376,15 @@ namespace winrt::impl template using type = consume_Windows_System_Profile_IAnalyticsVersionInfo; }; template + struct consume_Windows_System_Profile_IAnalyticsVersionInfo2 + { + [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductName() const; + }; + template <> struct consume + { + template using type = consume_Windows_System_Profile_IAnalyticsVersionInfo2; + }; + template struct consume_Windows_System_Profile_IAppApplicabilityStatics { WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetUnsupportedAppRequirements(param::iterable const& capabilities) const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.1.h index fc4d20ed..3988faa0 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.1.h @@ -38,6 +38,17 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile IAnalyticsVersionInfo& operator=(IAnalyticsVersionInfo const&) & noexcept = default; IAnalyticsVersionInfo& operator=(IAnalyticsVersionInfo&&) & noexcept = default; }; + struct __declspec(empty_bases) IAnalyticsVersionInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAnalyticsVersionInfo2(std::nullptr_t = nullptr) noexcept {} + IAnalyticsVersionInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IAnalyticsVersionInfo2(IAnalyticsVersionInfo2 const&) noexcept = default; + IAnalyticsVersionInfo2(IAnalyticsVersionInfo2&&) noexcept = default; + IAnalyticsVersionInfo2& operator=(IAnalyticsVersionInfo2 const&) & noexcept = default; + IAnalyticsVersionInfo2& operator=(IAnalyticsVersionInfo2&&) & noexcept = default; + }; struct __declspec(empty_bases) IAppApplicabilityStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.2.h index 8e928c25..6dd84f2a 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.System.Profile.2.h @@ -16,7 +16,8 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile [[nodiscard]] static auto DeviceForm(); static auto GetSystemPropertiesAsync(param::async_iterable const& attributeNames); }; - struct __declspec(empty_bases) AnalyticsVersionInfo : winrt::Windows::System::Profile::IAnalyticsVersionInfo + struct __declspec(empty_bases) AnalyticsVersionInfo : winrt::Windows::System::Profile::IAnalyticsVersionInfo, + impl::require { AnalyticsVersionInfo(std::nullptr_t) noexcept {} AnalyticsVersionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Profile::IAnalyticsVersionInfo(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.0.h index 2aab9515..b8914427 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.0.h @@ -16,6 +16,7 @@ WINRT_EXPORT namespace winrt::Windows::UI struct UIContentRoot; struct UIContext; struct Color; + struct WindowId; } namespace winrt::impl { @@ -31,11 +32,13 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Windows.UI.ColorHelper"; template <> inline constexpr auto& name_v = L"Windows.UI.Colors"; template <> inline constexpr auto& name_v = L"Windows.UI.UIContentRoot"; template <> inline constexpr auto& name_v = L"Windows.UI.UIContext"; template <> inline constexpr auto& name_v = L"Windows.UI.Color"; + template <> inline constexpr auto& name_v = L"Windows.UI.WindowId"; template <> inline constexpr auto& name_v = L"Windows.UI.IColorHelper"; template <> inline constexpr auto& name_v = L"Windows.UI.IColorHelperStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.IColorHelperStatics2"; @@ -451,5 +454,13 @@ namespace winrt::impl { using type = struct_Windows_UI_Color; }; + struct struct_Windows_UI_WindowId + { + uint64_t Value; + }; + template <> struct abi + { + using type = struct_Windows_UI_WindowId; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.2.h index 3e38d5ba..7175e94e 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.2.h @@ -20,6 +20,18 @@ WINRT_EXPORT namespace winrt::Windows::UI { return !(left == right); } + struct WindowId + { + uint64_t Value; + }; + inline bool operator==(WindowId const& left, WindowId const& right) noexcept + { + return left.Value == right.Value; + } + inline bool operator!=(WindowId const& left, WindowId const& right) noexcept + { + return !(left == right); + } struct __declspec(empty_bases) ColorHelper : winrt::Windows::UI::IColorHelper { ColorHelper(std::nullptr_t) noexcept {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.0.h index 3e12bb09..89e920de 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.0.h @@ -7,7 +7,9 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; struct HResult; struct IAsyncAction; + template struct __declspec(empty_bases) IAsyncOperation; template struct __declspec(empty_bases) IReference; + struct Point; struct Size; template struct __declspec(empty_bases) TypedEventHandler; } @@ -138,6 +140,12 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition Default = 0, InheritFromVisualContent = 1, }; + enum class CompositionEasingFunctionMode : int32_t + { + In = 0, + Out = 1, + InOut = 2, + }; enum class CompositionEffectFactoryLoadStatus : int32_t { Success = 0, @@ -189,10 +197,14 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct IAnimationControllerStatics; struct IAnimationObject; struct IAnimationPropertyInfo; + struct IAnimationPropertyInfo2; + struct IBackEasingFunction; struct IBooleanKeyFrameAnimation; + struct IBounceEasingFunction; struct IBounceScalarNaturalMotionAnimation; struct IBounceVector2NaturalMotionAnimation; struct IBounceVector3NaturalMotionAnimation; + struct ICircleEasingFunction; struct IColorKeyFrameAnimation; struct ICompositionAnimation; struct ICompositionAnimation2; @@ -220,6 +232,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct ICompositionDrawingSurfaceFactory; struct ICompositionEasingFunction; struct ICompositionEasingFunctionFactory; + struct ICompositionEasingFunctionStatics; struct ICompositionEffectBrush; struct ICompositionEffectFactory; struct ICompositionEffectSourceParameter; @@ -234,6 +247,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct ICompositionGraphicsDevice; struct ICompositionGraphicsDevice2; struct ICompositionGraphicsDevice3; + struct ICompositionGraphicsDevice4; struct ICompositionLight; struct ICompositionLight2; struct ICompositionLight3; @@ -273,6 +287,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct ICompositionSurfaceBrush; struct ICompositionSurfaceBrush2; struct ICompositionSurfaceBrush3; + struct ICompositionSurfaceFacade; struct ICompositionTarget; struct ICompositionTargetFactory; struct ICompositionTransform; @@ -287,6 +302,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct ICompositor4; struct ICompositor5; struct ICompositor6; + struct ICompositor7; struct ICompositorStatics; struct ICompositorWithProjectedShadow; struct ICompositorWithRadialGradient; @@ -294,10 +310,14 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct IContainerVisual; struct IContainerVisualFactory; struct ICubicBezierEasingFunction; + struct IDelegatedInkTrailVisual; + struct IDelegatedInkTrailVisualStatics; struct IDistantLight; struct IDistantLight2; struct IDropShadow; struct IDropShadow2; + struct IElasticEasingFunction; + struct IExponentialEasingFunction; struct IExpressionAnimation; struct IImplicitAnimationCollection; struct IInsetClip; @@ -314,13 +334,16 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct IPointLight; struct IPointLight2; struct IPointLight3; + struct IPowerEasingFunction; struct IQuaternionKeyFrameAnimation; + struct IRectangleClip; struct IRedirectVisual; struct IRenderingDeviceReplacedEventArgs; struct IScalarKeyFrameAnimation; struct IScalarNaturalMotionAnimation; struct IScalarNaturalMotionAnimationFactory; struct IShapeVisual; + struct ISineEasingFunction; struct ISpotLight; struct ISpotLight2; struct ISpotLight3; @@ -340,17 +363,22 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct IVisual; struct IVisual2; struct IVisual3; + struct IVisual4; struct IVisualCollection; struct IVisualElement; + struct IVisualElement2; struct IVisualFactory; struct IVisualUnorderedCollection; struct AmbientLight; struct AnimationController; struct AnimationPropertyInfo; + struct BackEasingFunction; struct BooleanKeyFrameAnimation; + struct BounceEasingFunction; struct BounceScalarNaturalMotionAnimation; struct BounceVector2NaturalMotionAnimation; struct BounceVector3NaturalMotionAnimation; + struct CircleEasingFunction; struct ColorKeyFrameAnimation; struct CompositionAnimation; struct CompositionAnimationGroup; @@ -407,8 +435,11 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct Compositor; struct ContainerVisual; struct CubicBezierEasingFunction; + struct DelegatedInkTrailVisual; struct DistantLight; struct DropShadow; + struct ElasticEasingFunction; + struct ExponentialEasingFunction; struct ExpressionAnimation; struct ImplicitAnimationCollection; struct InitialValueExpressionCollection; @@ -419,12 +450,15 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct NaturalMotionAnimation; struct PathKeyFrameAnimation; struct PointLight; + struct PowerEasingFunction; struct QuaternionKeyFrameAnimation; + struct RectangleClip; struct RedirectVisual; struct RenderingDeviceReplacedEventArgs; struct ScalarKeyFrameAnimation; struct ScalarNaturalMotionAnimation; struct ShapeVisual; + struct SineEasingFunction; struct SpotLight; struct SpringScalarNaturalMotionAnimation; struct SpringVector2NaturalMotionAnimation; @@ -439,6 +473,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition struct Visual; struct VisualCollection; struct VisualUnorderedCollection; + struct InkTrailPoint; } namespace winrt::impl { @@ -448,10 +483,14 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -479,6 +518,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -493,6 +533,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -532,6 +573,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -546,6 +588,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -553,10 +596,14 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -573,13 +620,16 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -599,17 +649,22 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -666,8 +721,11 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -678,12 +736,15 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -711,6 +772,7 @@ namespace winrt::impl template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; @@ -718,13 +780,17 @@ namespace winrt::impl template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.AmbientLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.AnimationController"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.AnimationPropertyInfo"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.BackEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.BooleanKeyFrameAnimation"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.BounceEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.BounceScalarNaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.BounceVector2NaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.BounceVector3NaturalMotionAnimation"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CircleEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ColorKeyFrameAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionAnimationGroup"; @@ -781,8 +847,11 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.Compositor"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ContainerVisual"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CubicBezierEasingFunction"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.DelegatedInkTrailVisual"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.DistantLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.DropShadow"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ElasticEasingFunction"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ExponentialEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ExpressionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ImplicitAnimationCollection"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.InitialValueExpressionCollection"; @@ -793,12 +862,15 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.NaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.PathKeyFrameAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.PointLight"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.PowerEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.QuaternionKeyFrameAnimation"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.RectangleClip"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.RedirectVisual"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.RenderingDeviceReplacedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ScalarKeyFrameAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ScalarNaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ShapeVisual"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.SineEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.SpotLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.SpringScalarNaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.SpringVector2NaturalMotionAnimation"; @@ -826,6 +898,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionColorSpace"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionCompositeMode"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionDropShadowSourcePolicy"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionEasingFunctionMode"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionEffectFactoryLoadStatus"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionGetValueStatus"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionGradientExtendMode"; @@ -833,16 +906,21 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionStretch"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionStrokeCap"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.CompositionStrokeLineJoin"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.InkTrailPoint"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IAmbientLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IAmbientLight2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IAnimationController"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IAnimationControllerStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IAnimationObject"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IAnimationPropertyInfo"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IAnimationPropertyInfo2"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IBackEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IBooleanKeyFrameAnimation"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IBounceEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IBounceScalarNaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IBounceVector2NaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IBounceVector3NaturalMotionAnimation"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICircleEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IColorKeyFrameAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionAnimation2"; @@ -870,6 +948,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionDrawingSurfaceFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionEasingFunctionFactory"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionEasingFunctionStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionEffectBrush"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionEffectFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionEffectSourceParameter"; @@ -884,6 +963,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionGraphicsDevice"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionGraphicsDevice2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionGraphicsDevice3"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionGraphicsDevice4"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionLight2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionLight3"; @@ -923,6 +1003,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionSurfaceBrush"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionSurfaceBrush2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionSurfaceBrush3"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionSurfaceFacade"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionTarget"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionTargetFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositionTransform"; @@ -937,6 +1018,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositor4"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositor5"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositor6"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositor7"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositorStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositorWithProjectedShadow"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICompositorWithRadialGradient"; @@ -944,10 +1026,14 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IContainerVisual"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IContainerVisualFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ICubicBezierEasingFunction"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IDelegatedInkTrailVisual"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IDelegatedInkTrailVisualStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IDistantLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IDistantLight2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IDropShadow"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IDropShadow2"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IElasticEasingFunction"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IExponentialEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IExpressionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IImplicitAnimationCollection"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IInsetClip"; @@ -964,13 +1050,16 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IPointLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IPointLight2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IPointLight3"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IPowerEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IQuaternionKeyFrameAnimation"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IRectangleClip"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IRedirectVisual"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IRenderingDeviceReplacedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IScalarKeyFrameAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IScalarNaturalMotionAnimation"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IScalarNaturalMotionAnimationFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IShapeVisual"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ISineEasingFunction"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ISpotLight"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ISpotLight2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.ISpotLight3"; @@ -990,8 +1079,10 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisual"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisual2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisual3"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisual4"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisualCollection"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisualElement"; + template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisualElement2"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisualFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Composition.IVisualUnorderedCollection"; template <> inline constexpr guid guid_v{ 0xA48130A1,0xB7C4,0x46F7,{ 0xB9,0xBF,0xDA,0xF4,0x3A,0x44,0xE6,0xEE } }; // A48130A1-B7C4-46F7-B9BF-DAF43A44E6EE @@ -1000,10 +1091,14 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xE71164DF,0x651B,0x4800,{ 0xB9,0xE5,0x6A,0x3B,0xCF,0xED,0x33,0x65 } }; // E71164DF-651B-4800-B9E5-6A3BCFED3365 template <> inline constexpr guid guid_v{ 0xE7141E0A,0x04B8,0x4FC5,{ 0xA4,0xDC,0x19,0x53,0x92,0xE5,0x78,0x07 } }; // E7141E0A-04B8-4FC5-A4DC-195392E57807 template <> inline constexpr guid guid_v{ 0xF4716F05,0xED77,0x4E3C,{ 0xB3,0x28,0x5C,0x39,0x85,0xB3,0x73,0x8F } }; // F4716F05-ED77-4E3C-B328-5C3985B3738F + template <> inline constexpr guid guid_v{ 0x591720B4,0x7472,0x5218,{ 0x8B,0x39,0xDF,0xFE,0x61,0x5A,0xE6,0xDA } }; // 591720B4-7472-5218-8B39-DFFE615AE6DA + template <> inline constexpr guid guid_v{ 0xB8560DA4,0x5E3C,0x545D,{ 0xB2,0x63,0x79,0x87,0xA2,0xBD,0x27,0xCB } }; // B8560DA4-5E3C-545D-B263-7987A2BD27CB template <> inline constexpr guid guid_v{ 0x95E23A08,0xD1F4,0x4972,{ 0x97,0x70,0x3E,0xFE,0x68,0xD8,0x2E,0x14 } }; // 95E23A08-D1F4-4972-9770-3EFE68D82E14 + template <> inline constexpr guid guid_v{ 0xE7FDB44B,0xAAD5,0x5174,{ 0x94,0x21,0xEE,0xF8,0xB7,0x5A,0x6A,0x43 } }; // E7FDB44B-AAD5-5174-9421-EEF8B75A6A43 template <> inline constexpr guid guid_v{ 0xBAA30DCC,0xA633,0x4618,{ 0x9B,0x06,0x7F,0x7C,0x72,0xC8,0x7C,0xFF } }; // BAA30DCC-A633-4618-9B06-7F7C72C87CFF template <> inline constexpr guid guid_v{ 0xDA344196,0x2154,0x4B3C,{ 0x88,0xAA,0x47,0x36,0x12,0x04,0xEC,0xCD } }; // DA344196-2154-4B3C-88AA-47361204ECCD template <> inline constexpr guid guid_v{ 0x47DABC31,0x10D3,0x4518,{ 0x86,0xF1,0x09,0xCA,0xF7,0x42,0xD1,0x13 } }; // 47DABC31-10D3-4518-86F1-09CAF742D113 + template <> inline constexpr guid guid_v{ 0x1E07222A,0x6F82,0x5A28,{ 0x87,0x48,0x2E,0x92,0xFC,0x46,0xEE,0x2B } }; // 1E07222A-6F82-5A28-8748-2E92FC46EE2B template <> inline constexpr guid guid_v{ 0x93ADB5E9,0x8E05,0x4593,{ 0x84,0xA3,0xDC,0xA1,0x52,0x78,0x1E,0x56 } }; // 93ADB5E9-8E05-4593-84A3-DCA152781E56 template <> inline constexpr guid guid_v{ 0x464C4C2C,0x1CAA,0x4061,{ 0x9B,0x40,0xE1,0x3F,0xDE,0x15,0x03,0xCA } }; // 464C4C2C-1CAA-4061-9B40-E13FDE1503CA template <> inline constexpr guid guid_v{ 0x369B603E,0xA80F,0x4948,{ 0x93,0xE3,0xED,0x23,0xFB,0x38,0xC6,0xCB } }; // 369B603E-A80F-4948-93E3-ED23FB38C6CB @@ -1031,6 +1126,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x9497B00A,0x312D,0x46B9,{ 0x9D,0xB3,0x41,0x2F,0xD7,0x94,0x64,0xC8 } }; // 9497B00A-312D-46B9-9DB3-412FD79464C8 template <> inline constexpr guid guid_v{ 0x5145E356,0xBF79,0x4EA8,{ 0x8C,0xC2,0x6B,0x5B,0x47,0x2E,0x6C,0x9A } }; // 5145E356-BF79-4EA8-8CC2-6B5B472E6C9A template <> inline constexpr guid guid_v{ 0x60840774,0x3DA0,0x4949,{ 0x82,0x00,0x72,0x06,0xC0,0x01,0x90,0xA0 } }; // 60840774-3DA0-4949-8200-7206C00190A0 + template <> inline constexpr guid guid_v{ 0x17A766B6,0x2936,0x53EA,{ 0xB5,0xAF,0xC6,0x42,0xF4,0xA6,0x10,0x83 } }; // 17A766B6-2936-53EA-B5AF-C642F4A61083 template <> inline constexpr guid guid_v{ 0xBF7F795E,0x83CC,0x44BF,{ 0xA4,0x47,0x3E,0x3C,0x07,0x17,0x89,0xEC } }; // BF7F795E-83CC-44BF-A447-3E3C071789EC template <> inline constexpr guid guid_v{ 0xBE5624AF,0xBA7E,0x4510,{ 0x98,0x50,0x41,0xC0,0xB4,0xFF,0x74,0xDF } }; // BE5624AF-BA7E-4510-9850-41C0B4FF74DF template <> inline constexpr guid guid_v{ 0x858AB13A,0x3292,0x4E4E,{ 0xB3,0xBB,0x2B,0x6C,0x65,0x44,0xA6,0xEE } }; // 858AB13A-3292-4E4E-B3BB-2B6C6544A6EE @@ -1045,6 +1141,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xFB22C6E1,0x80A2,0x4667,{ 0x99,0x36,0xDB,0xEA,0xF6,0xEE,0xFE,0x95 } }; // FB22C6E1-80A2-4667-9936-DBEAF6EEFE95 template <> inline constexpr guid guid_v{ 0x0FB8BDF6,0xC0F0,0x4BCC,{ 0x9F,0xB8,0x08,0x49,0x82,0x49,0x0D,0x7D } }; // 0FB8BDF6-C0F0-4BCC-9FB8-084982490D7D template <> inline constexpr guid guid_v{ 0x37F67514,0xD3EF,0x49D1,{ 0xB6,0x9D,0x0D,0x8E,0xAB,0xEB,0x36,0x26 } }; // 37F67514-D3EF-49D1-B69D-0D8EABEB3626 + template <> inline constexpr guid guid_v{ 0x5A73BFF9,0xA97F,0x4CF5,{ 0xBA,0x46,0x98,0xEF,0x35,0x8E,0x71,0xB1 } }; // 5A73BFF9-A97F-4CF5-BA46-98EF358E71B1 template <> inline constexpr guid guid_v{ 0x41A6D7C2,0x2E5D,0x4BC1,{ 0xB0,0x9E,0x8F,0x0A,0x03,0xE3,0xD8,0xD3 } }; // 41A6D7C2-2E5D-4BC1-B09E-8F0A03E3D8D3 template <> inline constexpr guid guid_v{ 0xA7BCDA72,0xF35D,0x425D,{ 0x9B,0x98,0x23,0xF4,0x20,0x5F,0x66,0x69 } }; // A7BCDA72-F35D-425D-9B98-23F4205F6669 template <> inline constexpr guid guid_v{ 0x4B0B00E4,0xDF07,0x4959,{ 0xB7,0xA4,0x4F,0x7E,0x42,0x33,0xF8,0x38 } }; // 4B0B00E4-DF07-4959-B7A4-4F7E4233F838 @@ -1084,6 +1181,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xAD016D79,0x1E4C,0x4C0D,{ 0x9C,0x29,0x83,0x33,0x8C,0x87,0xC1,0x62 } }; // AD016D79-1E4C-4C0D-9C29-83338C87C162 template <> inline constexpr guid guid_v{ 0xD27174D5,0x64F5,0x4692,{ 0x9D,0xC7,0x71,0xB6,0x1D,0x7E,0x58,0x80 } }; // D27174D5-64F5-4692-9DC7-71B61D7E5880 template <> inline constexpr guid guid_v{ 0x550BB289,0x1FE0,0x42E5,{ 0x81,0x95,0x1E,0xEF,0xA8,0x7F,0xF0,0x8E } }; // 550BB289-1FE0-42E5-8195-1EEFA87FF08E + template <> inline constexpr guid guid_v{ 0xE01622C8,0x2332,0x55C7,{ 0x88,0x68,0xA7,0x31,0x2C,0x5C,0x22,0x9D } }; // E01622C8-2332-55C7-8868-A7312C5C229D template <> inline constexpr guid guid_v{ 0xA1BEA8BA,0xD726,0x4663,{ 0x81,0x29,0x6B,0x5E,0x79,0x27,0xFF,0xA6 } }; // A1BEA8BA-D726-4663-8129-6B5E7927FFA6 template <> inline constexpr guid guid_v{ 0x93CD9D2B,0x8516,0x4B14,{ 0xA8,0xCE,0xF4,0x9E,0x21,0x19,0xEC,0x42 } }; // 93CD9D2B-8516-4B14-A8CE-F49E2119EC42 template <> inline constexpr guid guid_v{ 0x7CD54529,0xFBED,0x4112,{ 0xAB,0xC5,0x18,0x59,0x06,0xDD,0x92,0x7C } }; // 7CD54529-FBED-4112-ABC5-185906DD927C @@ -1098,6 +1196,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xAE47E78A,0x7910,0x4425,{ 0xA4,0x82,0xA0,0x5B,0x75,0x8A,0xDC,0xE9 } }; // AE47E78A-7910-4425-A482-A05B758ADCE9 template <> inline constexpr guid guid_v{ 0x48EA31AD,0x7FCD,0x4076,{ 0xA7,0x9C,0x90,0xCC,0x4B,0x85,0x2C,0x9B } }; // 48EA31AD-7FCD-4076-A79C-90CC4B852C9B template <> inline constexpr guid guid_v{ 0x7A38B2BD,0xCEC8,0x4EEB,{ 0x83,0x0F,0xD8,0xD0,0x7A,0xED,0xEB,0xC3 } }; // 7A38B2BD-CEC8-4EEB-830F-D8D07AEDEBC3 + template <> inline constexpr guid guid_v{ 0xD3483FAD,0x9A12,0x53BA,{ 0xBF,0xC8,0x88,0xB7,0xFF,0x79,0x77,0xC6 } }; // D3483FAD-9A12-53BA-BFC8-88B7FF7977C6 template <> inline constexpr guid guid_v{ 0x080DB93E,0x121E,0x4D97,{ 0x8B,0x74,0x1D,0xFC,0xF9,0x19,0x87,0xEA } }; // 080DB93E-121E-4D97-8B74-1DFCF91987EA template <> inline constexpr guid guid_v{ 0xA2E6330E,0x8A60,0x5A38,{ 0xBB,0x85,0xB4,0x4E,0xA9,0x01,0x67,0x7C } }; // A2E6330E-8A60-5A38-BB85-B44EA901677C template <> inline constexpr guid guid_v{ 0x98B9C1A7,0x8E71,0x4B53,{ 0xB4,0xA8,0x69,0xBA,0x5D,0x19,0xDC,0x5B } }; // 98B9C1A7-8E71-4B53-B4A8-69BA5D19DC5B @@ -1105,10 +1204,14 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x02F6BC74,0xED20,0x4773,{ 0xAF,0xE6,0xD4,0x9B,0x4A,0x93,0xDB,0x32 } }; // 02F6BC74-ED20-4773-AFE6-D49B4A93DB32 template <> inline constexpr guid guid_v{ 0x0363A65B,0xC7DA,0x4D9A,{ 0x95,0xF4,0x69,0xB5,0xC8,0xDF,0x67,0x0B } }; // 0363A65B-C7DA-4D9A-95F4-69B5C8DF670B template <> inline constexpr guid guid_v{ 0x32350666,0xC1E8,0x44F9,{ 0x96,0xB8,0xC9,0x8A,0xCF,0x0A,0xE6,0x98 } }; // 32350666-C1E8-44F9-96B8-C98ACF0AE698 + template <> inline constexpr guid guid_v{ 0x856E60B1,0xE1AB,0x5B23,{ 0x8E,0x3D,0xD5,0x13,0xF2,0x21,0xC9,0x98 } }; // 856E60B1-E1AB-5B23-8E3D-D513F221C998 + template <> inline constexpr guid guid_v{ 0x0DAF6BD5,0x42C6,0x555C,{ 0x92,0x67,0xE0,0xAC,0x66,0x3A,0xF8,0x36 } }; // 0DAF6BD5-42C6-555C-9267-E0AC663AF836 template <> inline constexpr guid guid_v{ 0x318CFAFC,0x5CE3,0x4B55,{ 0xAB,0x5D,0x07,0xA0,0x03,0x53,0xAC,0x99 } }; // 318CFAFC-5CE3-4B55-AB5D-07A00353AC99 template <> inline constexpr guid guid_v{ 0xDBCDAA1C,0x294B,0x48D7,{ 0xB6,0x0E,0x76,0xDF,0x64,0xAA,0x39,0x2B } }; // DBCDAA1C-294B-48D7-B60E-76DF64AA392B template <> inline constexpr guid guid_v{ 0xCB977C07,0xA154,0x4851,{ 0x85,0xE7,0xA8,0x92,0x4C,0x84,0xFA,0xD8 } }; // CB977C07-A154-4851-85E7-A8924C84FAD8 template <> inline constexpr guid guid_v{ 0x6C4218BC,0x15B9,0x4C2D,{ 0x8D,0x4A,0x07,0x67,0xDF,0x11,0x97,0x7A } }; // 6C4218BC-15B9-4C2D-8D4A-0767DF11977A + template <> inline constexpr guid guid_v{ 0x66DE6285,0x054E,0x5594,{ 0x84,0x75,0xC2,0x2C,0xB5,0x1F,0x1B,0xD5 } }; // 66DE6285-054E-5594-8475-C22CB51F1BD5 + template <> inline constexpr guid guid_v{ 0x6F7D1A51,0x98D2,0x5638,{ 0xA3,0x4A,0x00,0x48,0x65,0x54,0xC7,0x50 } }; // 6F7D1A51-98D2-5638-A34A-00486554C750 template <> inline constexpr guid guid_v{ 0x6ACC5431,0x7D3D,0x4BF3,{ 0xAB,0xB6,0xF4,0x4B,0xDC,0x48,0x88,0xC1 } }; // 6ACC5431-7D3D-4BF3-ABB6-F44BDC4888C1 template <> inline constexpr guid guid_v{ 0x0598A3FF,0x0A92,0x4C9D,{ 0xA4,0x27,0xB2,0x55,0x19,0x25,0x0D,0xBF } }; // 0598A3FF-0A92-4C9D-A427-B25519250DBF template <> inline constexpr guid guid_v{ 0x1E73E647,0x84C7,0x477A,{ 0xB4,0x74,0x58,0x80,0xE0,0x44,0x2E,0x15 } }; // 1E73E647-84C7-477A-B474-5880E0442E15 @@ -1125,13 +1228,16 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xB18545B3,0x0C5A,0x4AB0,{ 0xBE,0xDC,0x4F,0x35,0x46,0x94,0x82,0x72 } }; // B18545B3-0C5A-4AB0-BEDC-4F3546948272 template <> inline constexpr guid guid_v{ 0xEFE98F2C,0x0678,0x4F69,{ 0xB1,0x64,0xA8,0x10,0xD9,0x95,0xBC,0xB7 } }; // EFE98F2C-0678-4F69-B164-A810D995BCB7 template <> inline constexpr guid guid_v{ 0x4C0A8367,0xD4E9,0x468A,{ 0x87,0xAE,0x7B,0xA4,0x3A,0xB2,0x94,0x85 } }; // 4C0A8367-D4E9-468A-87AE-7BA43AB29485 + template <> inline constexpr guid guid_v{ 0xC3FF53D6,0x138B,0x5815,{ 0x89,0x1A,0xB7,0xF6,0x15,0xCC,0xC5,0x63 } }; // C3FF53D6-138B-5815-891A-B7F615CCC563 template <> inline constexpr guid guid_v{ 0x404E5835,0xECF6,0x4240,{ 0x85,0x20,0x67,0x12,0x79,0xCF,0x36,0xBC } }; // 404E5835-ECF6-4240-8520-671279CF36BC + template <> inline constexpr guid guid_v{ 0xB3E7549E,0x00B4,0x5B53,{ 0x8B,0xE8,0x35,0x3F,0x6C,0x43,0x31,0x01 } }; // B3E7549E-00B4-5B53-8BE8-353F6C433101 template <> inline constexpr guid guid_v{ 0x8CC6E340,0x8B75,0x5422,{ 0xB0,0x6F,0x09,0xFF,0xE9,0xF8,0x61,0x7E } }; // 8CC6E340-8B75-5422-B06F-09FFE9F8617E template <> inline constexpr guid guid_v{ 0x3A31AC7D,0x28BF,0x4E7A,{ 0x85,0x24,0x71,0x67,0x9D,0x48,0x0F,0x38 } }; // 3A31AC7D-28BF-4E7A-8524-71679D480F38 template <> inline constexpr guid guid_v{ 0xAE288FA9,0x252C,0x4B95,{ 0xA7,0x25,0xBF,0x85,0xE3,0x80,0x00,0xA1 } }; // AE288FA9-252C-4B95-A725-BF85E38000A1 template <> inline constexpr guid guid_v{ 0x94A94581,0xBF92,0x495B,{ 0xB5,0xBD,0xD2,0xC6,0x59,0x43,0x07,0x37 } }; // 94A94581-BF92-495B-B5BD-D2C659430737 template <> inline constexpr guid guid_v{ 0x835AA4FC,0x671C,0x41DD,{ 0xAF,0x48,0xAE,0x8D,0xEF,0x8B,0x15,0x29 } }; // 835AA4FC-671C-41DD-AF48-AE8DEF8B1529 template <> inline constexpr guid guid_v{ 0xF2BD13C3,0xBA7E,0x4B0F,{ 0x91,0x26,0xFF,0xB7,0x53,0x6B,0x81,0x76 } }; // F2BD13C3-BA7E-4B0F-9126-FFB7536B8176 + template <> inline constexpr guid guid_v{ 0xF1B518BF,0x9563,0x5474,{ 0xBD,0x13,0x44,0xB2,0xDF,0x4B,0x1D,0x58 } }; // F1B518BF-9563-5474-BD13-44B2DF4B1D58 template <> inline constexpr guid guid_v{ 0x5A9FE273,0x44A1,0x4F95,{ 0xA4,0x22,0x8F,0xA5,0x11,0x6B,0xDB,0x44 } }; // 5A9FE273-44A1-4F95-A422-8FA5116BDB44 template <> inline constexpr guid guid_v{ 0x64EE615E,0x0686,0x4DEA,{ 0xA9,0xE8,0xBC,0x3A,0x8C,0x70,0x14,0x59 } }; // 64EE615E-0686-4DEA-A9E8-BC3A8C701459 template <> inline constexpr guid guid_v{ 0xE4D03EEA,0x131F,0x480E,{ 0x85,0x9E,0xB8,0x27,0x05,0xB7,0x43,0x60 } }; // E4D03EEA-131F-480E-859E-B82705B74360 @@ -1151,17 +1257,22 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x117E202D,0xA859,0x4C89,{ 0x87,0x3B,0xC2,0xAA,0x56,0x67,0x88,0xE3 } }; // 117E202D-A859-4C89-873B-C2AA566788E3 template <> inline constexpr guid guid_v{ 0x3052B611,0x56C3,0x4C3E,{ 0x8B,0xF3,0xF6,0xE1,0xAD,0x47,0x3F,0x06 } }; // 3052B611-56C3-4C3E-8BF3-F6E1AD473F06 template <> inline constexpr guid guid_v{ 0x30BE580D,0xF4B6,0x4AB7,{ 0x80,0xDD,0x37,0x38,0xCB,0xAC,0x9F,0x2C } }; // 30BE580D-F4B6-4AB7-80DD-3738CBAC9F2C + template <> inline constexpr guid guid_v{ 0x9476BF11,0xE24B,0x5BF9,{ 0x9E,0xBE,0x62,0x74,0x10,0x9B,0x27,0x11 } }; // 9476BF11-E24B-5BF9-9EBE-6274109B2711 template <> inline constexpr guid guid_v{ 0x8B745505,0xFD3E,0x4A98,{ 0x84,0xA8,0xE9,0x49,0x46,0x8C,0x6B,0xCB } }; // 8B745505-FD3E-4A98-84A8-E949468C6BCB template <> inline constexpr guid guid_v{ 0x01E64612,0x1D82,0x42F4,{ 0x8E,0x3F,0xA7,0x22,0xDE,0xD3,0x3F,0xC7 } }; // 01E64612-1D82-42F4-8E3F-A722DED33FC7 + template <> inline constexpr guid guid_v{ 0x993AE8A0,0x6057,0x5E40,{ 0x91,0x8C,0xE0,0x6E,0x0B,0x7E,0x7C,0x64 } }; // 993AE8A0-6057-5E40-918C-E06E0B7E7C64 template <> inline constexpr guid guid_v{ 0xAD0FF93E,0xB502,0x4EB5,{ 0x87,0xB4,0x9A,0x38,0xA7,0x1D,0x01,0x37 } }; // AD0FF93E-B502-4EB5-87B4-9A38A71D0137 template <> inline constexpr guid guid_v{ 0x338FAA70,0x54C8,0x40A7,{ 0x80,0x29,0xC9,0xCE,0xEB,0x0A,0xA2,0x50 } }; // 338FAA70-54C8-40A7-8029-C9CEEB0AA250 template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IAmbientLight; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IAnimationController; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IAnimationPropertyInfo; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IBackEasingFunction; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IBooleanKeyFrameAnimation; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IBounceEasingFunction; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ICircleEasingFunction; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IColorKeyFrameAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ICompositionAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ICompositionAnimationGroup; }; @@ -1218,8 +1329,11 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ICompositor; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IContainerVisual; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ICubicBezierEasingFunction; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IDelegatedInkTrailVisual; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IDistantLight; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IDropShadow; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IElasticEasingFunction; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IExponentialEasingFunction; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IExpressionAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IImplicitAnimationCollection; }; template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IMap; }; @@ -1230,12 +1344,15 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::UI::Composition::INaturalMotionAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IPathKeyFrameAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IPointLight; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IPowerEasingFunction; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IRectangleClip; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IRedirectVisual; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IRenderingDeviceReplacedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IScalarKeyFrameAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::IShapeVisual; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ISineEasingFunction; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ISpotLight; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation; }; template <> struct default_interface{ using type = winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation; }; @@ -1303,6 +1420,22 @@ namespace winrt::impl virtual int32_t __stdcall put_AccessMode(int32_t) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetResolvedCompositionObject(void**) noexcept = 0; + virtual int32_t __stdcall GetResolvedCompositionObjectProperty(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Amplitude(float*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1310,6 +1443,15 @@ namespace winrt::impl virtual int32_t __stdcall InsertKeyFrame(float, bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Bounces(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Bounciness(float*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1340,6 +1482,13 @@ namespace winrt::impl virtual int32_t __stdcall put_Restitution(float) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1565,6 +1714,23 @@ namespace winrt::impl { }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall CreateCubicBezierEasingFunction(void*, winrt::Windows::Foundation::Numerics::float2, winrt::Windows::Foundation::Numerics::float2, void**) noexcept = 0; + virtual int32_t __stdcall CreateLinearEasingFunction(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateStepEasingFunction(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateStepEasingFunctionWithStepCount(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateBackEasingFunction(void*, int32_t, float, void**) noexcept = 0; + virtual int32_t __stdcall CreateBounceEasingFunction(void*, int32_t, int32_t, float, void**) noexcept = 0; + virtual int32_t __stdcall CreateCircleEasingFunction(void*, int32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateElasticEasingFunction(void*, int32_t, int32_t, float, void**) noexcept = 0; + virtual int32_t __stdcall CreateExponentialEasingFunction(void*, int32_t, float, void**) noexcept = 0; + virtual int32_t __stdcall CreatePowerEasingFunction(void*, int32_t, float, void**) noexcept = 0; + virtual int32_t __stdcall CreateSineEasingFunction(void*, int32_t, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1698,6 +1864,13 @@ namespace winrt::impl virtual int32_t __stdcall Trim() noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall CaptureAsync(void*, struct struct_Windows_Graphics_SizeInt32, int32_t, int32_t, float, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2125,6 +2298,13 @@ namespace winrt::impl virtual int32_t __stdcall put_SnapToPixels(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetRealSurface(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2297,6 +2477,17 @@ namespace winrt::impl virtual int32_t __stdcall CreateBooleanKeyFrameAnimation(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_DispatcherQueue(void**) noexcept = 0; + virtual int32_t __stdcall CreateAnimationPropertyInfo(void**) noexcept = 0; + virtual int32_t __stdcall CreateRectangleClip(void**) noexcept = 0; + virtual int32_t __stdcall CreateRectangleClipWithSides(float, float, float, float, void**) noexcept = 0; + virtual int32_t __stdcall CreateRectangleClipWithSidesAndRadius(float, float, float, float, winrt::Windows::Foundation::Numerics::float2, winrt::Windows::Foundation::Numerics::float2, winrt::Windows::Foundation::Numerics::float2, winrt::Windows::Foundation::Numerics::float2, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2349,6 +2540,24 @@ namespace winrt::impl virtual int32_t __stdcall get_ControlPoint2(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall AddTrailPoints(uint32_t, struct struct_Windows_UI_Composition_InkTrailPoint*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall AddTrailPointsWithPrediction(uint32_t, struct struct_Windows_UI_Composition_InkTrailPoint*, uint32_t, struct struct_Windows_UI_Composition_InkTrailPoint*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall RemoveTrailPoints(uint32_t) noexcept = 0; + virtual int32_t __stdcall StartNewTrail(struct struct_Windows_UI_Color) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateForSwapChain(void*, void*, void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2393,6 +2602,23 @@ namespace winrt::impl virtual int32_t __stdcall put_SourcePolicy(int32_t) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Oscillations(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Springiness(float*) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Exponent(float*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2546,6 +2772,14 @@ namespace winrt::impl virtual int32_t __stdcall put_MaxAttenuationCutoff(float) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Power(float*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2554,6 +2788,28 @@ namespace winrt::impl virtual int32_t __stdcall InsertKeyFrameWithEasingFunction(float, winrt::Windows::Foundation::Numerics::quaternion, void*) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Bottom(float*) noexcept = 0; + virtual int32_t __stdcall put_Bottom(float) noexcept = 0; + virtual int32_t __stdcall get_BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall put_BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2) noexcept = 0; + virtual int32_t __stdcall get_BottomRightRadius(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall put_BottomRightRadius(winrt::Windows::Foundation::Numerics::float2) noexcept = 0; + virtual int32_t __stdcall get_Left(float*) noexcept = 0; + virtual int32_t __stdcall put_Left(float) noexcept = 0; + virtual int32_t __stdcall get_Right(float*) noexcept = 0; + virtual int32_t __stdcall put_Right(float) noexcept = 0; + virtual int32_t __stdcall get_Top(float*) noexcept = 0; + virtual int32_t __stdcall put_Top(float) noexcept = 0; + virtual int32_t __stdcall get_TopLeftRadius(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall put_TopLeftRadius(winrt::Windows::Foundation::Numerics::float2) noexcept = 0; + virtual int32_t __stdcall get_TopRightRadius(winrt::Windows::Foundation::Numerics::float2*) noexcept = 0; + virtual int32_t __stdcall put_TopRightRadius(winrt::Windows::Foundation::Numerics::float2) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2604,6 +2860,13 @@ namespace winrt::impl virtual int32_t __stdcall put_ViewBox(void*) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_Mode(int32_t*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2835,6 +3098,14 @@ namespace winrt::impl virtual int32_t __stdcall put_IsHitTestVisible(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_IsPixelSnappingEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsPixelSnappingEnabled(bool) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2854,6 +3125,13 @@ namespace winrt::impl { }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall GetVisualInternal(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -2936,6 +3214,26 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IAnimationPropertyInfo; }; template + struct consume_Windows_UI_Composition_IAnimationPropertyInfo2 + { + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionObject) GetResolvedCompositionObject() const; + WINRT_IMPL_AUTO(hstring) GetResolvedCompositionObjectProperty() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IAnimationPropertyInfo2; + }; + template + struct consume_Windows_UI_Composition_IBackEasingFunction + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Amplitude() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IBackEasingFunction; + }; + template struct consume_Windows_UI_Composition_IBooleanKeyFrameAnimation { WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, bool value) const; @@ -2945,6 +3243,17 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IBooleanKeyFrameAnimation; }; template + struct consume_Windows_UI_Composition_IBounceEasingFunction + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Bounces() const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Bounciness() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IBounceEasingFunction; + }; + template struct consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation { [[nodiscard]] WINRT_IMPL_AUTO(float) Acceleration() const; @@ -2981,6 +3290,15 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation; }; template + struct consume_Windows_UI_Composition_ICircleEasingFunction + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_ICircleEasingFunction; + }; + template struct consume_Windows_UI_Composition_IColorKeyFrameAnimation { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) InterpolationColorSpace() const; @@ -3264,6 +3582,25 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_ICompositionEasingFunctionFactory; }; template + struct consume_Windows_UI_Composition_ICompositionEasingFunctionStatics + { + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BackEasingFunction) CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceEasingFunction) CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CircleEasingFunction) CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ElasticEasingFunction) CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExponentialEasingFunction) CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PowerEasingFunction) CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SineEasingFunction) CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_ICompositionEasingFunctionStatics; + }; + template struct consume_Windows_UI_Composition_ICompositionEffectBrush { WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetSourceParameter(param::hstring const& name) const; @@ -3427,6 +3764,15 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_ICompositionGraphicsDevice3; }; template + struct consume_Windows_UI_Composition_ICompositionGraphicsDevice4 + { + WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) CaptureAsync(winrt::Windows::UI::Composition::Visual const& captureVisual, winrt::Windows::Graphics::SizeInt32 const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode, float sdrBoost) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_ICompositionGraphicsDevice4; + }; + template struct consume_Windows_UI_Composition_ICompositionLight { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) Targets() const; @@ -3934,6 +4280,15 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_ICompositionSurfaceBrush3; }; template + struct consume_Windows_UI_Composition_ICompositionSurfaceFacade + { + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) GetRealSurface() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_ICompositionSurfaceFacade; + }; + template struct consume_Windows_UI_Composition_ICompositionTarget { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) Root() const; @@ -4134,6 +4489,19 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_ICompositor6; }; template + struct consume_Windows_UI_Composition_ICompositor7 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyInfo) CreateAnimationPropertyInfo() const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) CreateRectangleClip() const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) CreateRectangleClip(float left, float top, float right, float bottom) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) CreateRectangleClip(float left, float top, float right, float bottom, winrt::Windows::Foundation::Numerics::float2 const& topLeftRadius, winrt::Windows::Foundation::Numerics::float2 const& topRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomRightRadius, winrt::Windows::Foundation::Numerics::float2 const& bottomLeftRadius) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_ICompositor7; + }; + template struct consume_Windows_UI_Composition_ICompositorStatics { [[nodiscard]] WINRT_IMPL_AUTO(float) MaxGlobalPlaybackRate() const; @@ -4200,6 +4568,28 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_ICubicBezierEasingFunction; }; template + struct consume_Windows_UI_Composition_IDelegatedInkTrailVisual + { + WINRT_IMPL_AUTO(uint32_t) AddTrailPoints(array_view inkPoints) const; + WINRT_IMPL_AUTO(uint32_t) AddTrailPointsWithPrediction(array_view inkPoints, array_view predictedInkPoints) const; + WINRT_IMPL_AUTO(void) RemoveTrailPoints(uint32_t generationId) const; + WINRT_IMPL_AUTO(void) StartNewTrail(winrt::Windows::UI::Color const& color) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IDelegatedInkTrailVisual; + }; + template + struct consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics + { + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) Create(winrt::Windows::UI::Composition::Compositor const& compositor) const; + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics; + }; + template struct consume_Windows_UI_Composition_IDistantLight { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const; @@ -4252,6 +4642,27 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IDropShadow2; }; template + struct consume_Windows_UI_Composition_IElasticEasingFunction + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Oscillations() const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Springiness() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IElasticEasingFunction; + }; + template + struct consume_Windows_UI_Composition_IExponentialEasingFunction + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Exponent() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IExponentialEasingFunction; + }; + template struct consume_Windows_UI_Composition_IExpressionAnimation { [[nodiscard]] WINRT_IMPL_AUTO(hstring) Expression() const; @@ -4437,6 +4848,16 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IPointLight3; }; template + struct consume_Windows_UI_Composition_IPowerEasingFunction + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Power() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IPowerEasingFunction; + }; + template struct consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation { WINRT_IMPL_AUTO(void) InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value) const; @@ -4447,6 +4868,30 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation; }; template + struct consume_Windows_UI_Composition_IRectangleClip + { + [[nodiscard]] WINRT_IMPL_AUTO(float) Bottom() const; + WINRT_IMPL_AUTO(void) Bottom(float value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) BottomLeftRadius() const; + WINRT_IMPL_AUTO(void) BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) BottomRightRadius() const; + WINRT_IMPL_AUTO(void) BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Left() const; + WINRT_IMPL_AUTO(void) Left(float value) const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Right() const; + WINRT_IMPL_AUTO(void) Right(float value) const; + [[nodiscard]] WINRT_IMPL_AUTO(float) Top() const; + WINRT_IMPL_AUTO(void) Top(float value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) TopLeftRadius() const; + WINRT_IMPL_AUTO(void) TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) TopRightRadius() const; + WINRT_IMPL_AUTO(void) TopRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IRectangleClip; + }; + template struct consume_Windows_UI_Composition_IRedirectVisual { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) Source() const; @@ -4509,6 +4954,15 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IShapeVisual; }; template + struct consume_Windows_UI_Composition_ISineEasingFunction + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_ISineEasingFunction; + }; + template struct consume_Windows_UI_Composition_ISpotLight { [[nodiscard]] WINRT_IMPL_AUTO(float) ConstantAttenuation() const; @@ -4778,6 +5232,16 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IVisual3; }; template + struct consume_Windows_UI_Composition_IVisual4 + { + [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPixelSnappingEnabled() const; + WINRT_IMPL_AUTO(void) IsPixelSnappingEnabled(bool value) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IVisual4; + }; + template struct consume_Windows_UI_Composition_IVisualCollection { [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Count() const; @@ -4801,6 +5265,15 @@ namespace winrt::impl template using type = consume_Windows_UI_Composition_IVisualElement; }; template + struct consume_Windows_UI_Composition_IVisualElement2 + { + WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) GetVisualInternal() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Composition_IVisualElement2; + }; + template struct consume_Windows_UI_Composition_IVisualFactory { }; @@ -4820,5 +5293,14 @@ namespace winrt::impl { template using type = consume_Windows_UI_Composition_IVisualUnorderedCollection; }; + struct struct_Windows_UI_Composition_InkTrailPoint + { + winrt::Windows::Foundation::Point Point; + float Radius; + }; + template <> struct abi + { + using type = struct_Windows_UI_Composition_InkTrailPoint; + }; } #endif diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.1.h index ae4e58db..e98c82e9 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.1.h @@ -71,6 +71,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IAnimationPropertyInfo& operator=(IAnimationPropertyInfo const&) & noexcept = default; IAnimationPropertyInfo& operator=(IAnimationPropertyInfo&&) & noexcept = default; }; + struct __declspec(empty_bases) IAnimationPropertyInfo2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IAnimationPropertyInfo2(std::nullptr_t = nullptr) noexcept {} + IAnimationPropertyInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IAnimationPropertyInfo2(IAnimationPropertyInfo2 const&) noexcept = default; + IAnimationPropertyInfo2(IAnimationPropertyInfo2&&) noexcept = default; + IAnimationPropertyInfo2& operator=(IAnimationPropertyInfo2 const&) & noexcept = default; + IAnimationPropertyInfo2& operator=(IAnimationPropertyInfo2&&) & noexcept = default; + }; + struct __declspec(empty_bases) IBackEasingFunction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBackEasingFunction(std::nullptr_t = nullptr) noexcept {} + IBackEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IBackEasingFunction(IBackEasingFunction const&) noexcept = default; + IBackEasingFunction(IBackEasingFunction&&) noexcept = default; + IBackEasingFunction& operator=(IBackEasingFunction const&) & noexcept = default; + IBackEasingFunction& operator=(IBackEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) IBooleanKeyFrameAnimation : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -82,6 +104,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IBooleanKeyFrameAnimation& operator=(IBooleanKeyFrameAnimation const&) & noexcept = default; IBooleanKeyFrameAnimation& operator=(IBooleanKeyFrameAnimation&&) & noexcept = default; }; + struct __declspec(empty_bases) IBounceEasingFunction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IBounceEasingFunction(std::nullptr_t = nullptr) noexcept {} + IBounceEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IBounceEasingFunction(IBounceEasingFunction const&) noexcept = default; + IBounceEasingFunction(IBounceEasingFunction&&) noexcept = default; + IBounceEasingFunction& operator=(IBounceEasingFunction const&) & noexcept = default; + IBounceEasingFunction& operator=(IBounceEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) IBounceScalarNaturalMotionAnimation : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -115,6 +148,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IBounceVector3NaturalMotionAnimation& operator=(IBounceVector3NaturalMotionAnimation const&) & noexcept = default; IBounceVector3NaturalMotionAnimation& operator=(IBounceVector3NaturalMotionAnimation&&) & noexcept = default; }; + struct __declspec(empty_bases) ICircleEasingFunction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICircleEasingFunction(std::nullptr_t = nullptr) noexcept {} + ICircleEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ICircleEasingFunction(ICircleEasingFunction const&) noexcept = default; + ICircleEasingFunction(ICircleEasingFunction&&) noexcept = default; + ICircleEasingFunction& operator=(ICircleEasingFunction const&) & noexcept = default; + ICircleEasingFunction& operator=(ICircleEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) IColorKeyFrameAnimation : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -412,6 +456,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition ICompositionEasingFunctionFactory& operator=(ICompositionEasingFunctionFactory const&) & noexcept = default; ICompositionEasingFunctionFactory& operator=(ICompositionEasingFunctionFactory&&) & noexcept = default; }; + struct __declspec(empty_bases) ICompositionEasingFunctionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompositionEasingFunctionStatics(std::nullptr_t = nullptr) noexcept {} + ICompositionEasingFunctionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ICompositionEasingFunctionStatics(ICompositionEasingFunctionStatics const&) noexcept = default; + ICompositionEasingFunctionStatics(ICompositionEasingFunctionStatics&&) noexcept = default; + ICompositionEasingFunctionStatics& operator=(ICompositionEasingFunctionStatics const&) & noexcept = default; + ICompositionEasingFunctionStatics& operator=(ICompositionEasingFunctionStatics&&) & noexcept = default; + }; struct __declspec(empty_bases) ICompositionEffectBrush : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -566,6 +621,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition ICompositionGraphicsDevice3& operator=(ICompositionGraphicsDevice3 const&) & noexcept = default; ICompositionGraphicsDevice3& operator=(ICompositionGraphicsDevice3&&) & noexcept = default; }; + struct __declspec(empty_bases) ICompositionGraphicsDevice4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompositionGraphicsDevice4(std::nullptr_t = nullptr) noexcept {} + ICompositionGraphicsDevice4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ICompositionGraphicsDevice4(ICompositionGraphicsDevice4 const&) noexcept = default; + ICompositionGraphicsDevice4(ICompositionGraphicsDevice4&&) noexcept = default; + ICompositionGraphicsDevice4& operator=(ICompositionGraphicsDevice4 const&) & noexcept = default; + ICompositionGraphicsDevice4& operator=(ICompositionGraphicsDevice4&&) & noexcept = default; + }; struct __declspec(empty_bases) ICompositionLight : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -995,6 +1061,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition ICompositionSurfaceBrush3& operator=(ICompositionSurfaceBrush3 const&) & noexcept = default; ICompositionSurfaceBrush3& operator=(ICompositionSurfaceBrush3&&) & noexcept = default; }; + struct __declspec(empty_bases) ICompositionSurfaceFacade : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompositionSurfaceFacade(std::nullptr_t = nullptr) noexcept {} + ICompositionSurfaceFacade(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ICompositionSurfaceFacade(ICompositionSurfaceFacade const&) noexcept = default; + ICompositionSurfaceFacade(ICompositionSurfaceFacade&&) noexcept = default; + ICompositionSurfaceFacade& operator=(ICompositionSurfaceFacade const&) & noexcept = default; + ICompositionSurfaceFacade& operator=(ICompositionSurfaceFacade&&) & noexcept = default; + }; struct __declspec(empty_bases) ICompositionTarget : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1149,6 +1226,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition ICompositor6& operator=(ICompositor6 const&) & noexcept = default; ICompositor6& operator=(ICompositor6&&) & noexcept = default; }; + struct __declspec(empty_bases) ICompositor7 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ICompositor7(std::nullptr_t = nullptr) noexcept {} + ICompositor7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ICompositor7(ICompositor7 const&) noexcept = default; + ICompositor7(ICompositor7&&) noexcept = default; + ICompositor7& operator=(ICompositor7 const&) & noexcept = default; + ICompositor7& operator=(ICompositor7&&) & noexcept = default; + }; struct __declspec(empty_bases) ICompositorStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1226,6 +1314,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition ICubicBezierEasingFunction& operator=(ICubicBezierEasingFunction const&) & noexcept = default; ICubicBezierEasingFunction& operator=(ICubicBezierEasingFunction&&) & noexcept = default; }; + struct __declspec(empty_bases) IDelegatedInkTrailVisual : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDelegatedInkTrailVisual(std::nullptr_t = nullptr) noexcept {} + IDelegatedInkTrailVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IDelegatedInkTrailVisual(IDelegatedInkTrailVisual const&) noexcept = default; + IDelegatedInkTrailVisual(IDelegatedInkTrailVisual&&) noexcept = default; + IDelegatedInkTrailVisual& operator=(IDelegatedInkTrailVisual const&) & noexcept = default; + IDelegatedInkTrailVisual& operator=(IDelegatedInkTrailVisual&&) & noexcept = default; + }; + struct __declspec(empty_bases) IDelegatedInkTrailVisualStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IDelegatedInkTrailVisualStatics(std::nullptr_t = nullptr) noexcept {} + IDelegatedInkTrailVisualStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IDelegatedInkTrailVisualStatics(IDelegatedInkTrailVisualStatics const&) noexcept = default; + IDelegatedInkTrailVisualStatics(IDelegatedInkTrailVisualStatics&&) noexcept = default; + IDelegatedInkTrailVisualStatics& operator=(IDelegatedInkTrailVisualStatics const&) & noexcept = default; + IDelegatedInkTrailVisualStatics& operator=(IDelegatedInkTrailVisualStatics&&) & noexcept = default; + }; struct __declspec(empty_bases) IDistantLight : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1270,6 +1380,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IDropShadow2& operator=(IDropShadow2 const&) & noexcept = default; IDropShadow2& operator=(IDropShadow2&&) & noexcept = default; }; + struct __declspec(empty_bases) IElasticEasingFunction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IElasticEasingFunction(std::nullptr_t = nullptr) noexcept {} + IElasticEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IElasticEasingFunction(IElasticEasingFunction const&) noexcept = default; + IElasticEasingFunction(IElasticEasingFunction&&) noexcept = default; + IElasticEasingFunction& operator=(IElasticEasingFunction const&) & noexcept = default; + IElasticEasingFunction& operator=(IElasticEasingFunction&&) & noexcept = default; + }; + struct __declspec(empty_bases) IExponentialEasingFunction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IExponentialEasingFunction(std::nullptr_t = nullptr) noexcept {} + IExponentialEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IExponentialEasingFunction(IExponentialEasingFunction const&) noexcept = default; + IExponentialEasingFunction(IExponentialEasingFunction&&) noexcept = default; + IExponentialEasingFunction& operator=(IExponentialEasingFunction const&) & noexcept = default; + IExponentialEasingFunction& operator=(IExponentialEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) IExpressionAnimation : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1446,6 +1578,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IPointLight3& operator=(IPointLight3 const&) & noexcept = default; IPointLight3& operator=(IPointLight3&&) & noexcept = default; }; + struct __declspec(empty_bases) IPowerEasingFunction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPowerEasingFunction(std::nullptr_t = nullptr) noexcept {} + IPowerEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IPowerEasingFunction(IPowerEasingFunction const&) noexcept = default; + IPowerEasingFunction(IPowerEasingFunction&&) noexcept = default; + IPowerEasingFunction& operator=(IPowerEasingFunction const&) & noexcept = default; + IPowerEasingFunction& operator=(IPowerEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) IQuaternionKeyFrameAnimation : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1457,6 +1600,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IQuaternionKeyFrameAnimation& operator=(IQuaternionKeyFrameAnimation const&) & noexcept = default; IQuaternionKeyFrameAnimation& operator=(IQuaternionKeyFrameAnimation&&) & noexcept = default; }; + struct __declspec(empty_bases) IRectangleClip : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IRectangleClip(std::nullptr_t = nullptr) noexcept {} + IRectangleClip(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IRectangleClip(IRectangleClip const&) noexcept = default; + IRectangleClip(IRectangleClip&&) noexcept = default; + IRectangleClip& operator=(IRectangleClip const&) & noexcept = default; + IRectangleClip& operator=(IRectangleClip&&) & noexcept = default; + }; struct __declspec(empty_bases) IRedirectVisual : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1523,6 +1677,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IShapeVisual& operator=(IShapeVisual const&) & noexcept = default; IShapeVisual& operator=(IShapeVisual&&) & noexcept = default; }; + struct __declspec(empty_bases) ISineEasingFunction : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + ISineEasingFunction(std::nullptr_t = nullptr) noexcept {} + ISineEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + ISineEasingFunction(ISineEasingFunction const&) noexcept = default; + ISineEasingFunction(ISineEasingFunction&&) noexcept = default; + ISineEasingFunction& operator=(ISineEasingFunction const&) & noexcept = default; + ISineEasingFunction& operator=(ISineEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) ISpotLight : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1732,6 +1897,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IVisual3& operator=(IVisual3 const&) & noexcept = default; IVisual3& operator=(IVisual3&&) & noexcept = default; }; + struct __declspec(empty_bases) IVisual4 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVisual4(std::nullptr_t = nullptr) noexcept {} + IVisual4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IVisual4(IVisual4 const&) noexcept = default; + IVisual4(IVisual4&&) noexcept = default; + IVisual4& operator=(IVisual4 const&) & noexcept = default; + IVisual4& operator=(IVisual4&&) & noexcept = default; + }; struct __declspec(empty_bases) IVisualCollection : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -1754,6 +1930,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition IVisualElement& operator=(IVisualElement const&) & noexcept = default; IVisualElement& operator=(IVisualElement&&) & noexcept = default; }; + struct __declspec(empty_bases) IVisualElement2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IVisualElement2(std::nullptr_t = nullptr) noexcept {} + IVisualElement2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IVisualElement2(IVisualElement2 const&) noexcept = default; + IVisualElement2(IVisualElement2&&) noexcept = default; + IVisualElement2& operator=(IVisualElement2 const&) & noexcept = default; + IVisualElement2& operator=(IVisualElement2&&) & noexcept = default; + }; struct __declspec(empty_bases) IVisualFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.2.h index cfd22861..0959f83b 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.2.h @@ -2,13 +2,27 @@ #ifndef WINRT_Windows_UI_Composition_2_H #define WINRT_Windows_UI_Composition_2_H -#include "winrt/impl/Windows.Foundation.1.h" -#include "winrt/impl/Windows.Foundation.Collections.1.h" -#include "winrt/impl/Windows.Graphics.1.h" -#include "winrt/impl/Windows.Graphics.Effects.1.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Windows.Foundation.Numerics.2.h" +#include "winrt/impl/Windows.Graphics.2.h" +#include "winrt/impl/Windows.Graphics.Effects.2.h" #include "winrt/impl/Windows.UI.Composition.1.h" WINRT_EXPORT namespace winrt::Windows::UI::Composition { + struct InkTrailPoint + { + winrt::Windows::Foundation::Point Point; + float Radius; + }; + inline bool operator==(InkTrailPoint const& left, InkTrailPoint const& right) noexcept + { + return left.Point == right.Point && left.Radius == right.Radius; + } + inline bool operator!=(InkTrailPoint const& left, InkTrailPoint const& right) noexcept + { + return !(left == right); + } struct __declspec(empty_bases) AmbientLight : winrt::Windows::UI::Composition::IAmbientLight, impl::base, impl::require @@ -35,7 +49,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition }; struct __declspec(empty_bases) AnimationPropertyInfo : winrt::Windows::UI::Composition::IAnimationPropertyInfo, impl::base, - impl::require + impl::require { AnimationPropertyInfo(std::nullptr_t) noexcept {} AnimationPropertyInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IAnimationPropertyInfo(ptr, take_ownership_from_abi) {} @@ -44,6 +58,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition AnimationPropertyInfo& operator=(AnimationPropertyInfo const&) & noexcept = default; AnimationPropertyInfo& operator=(AnimationPropertyInfo&&) & noexcept = default; }; + struct __declspec(empty_bases) BackEasingFunction : winrt::Windows::UI::Composition::IBackEasingFunction, + impl::base, + impl::require + { + BackEasingFunction(std::nullptr_t) noexcept {} + BackEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IBackEasingFunction(ptr, take_ownership_from_abi) {} + BackEasingFunction(BackEasingFunction const&) noexcept = default; + BackEasingFunction(BackEasingFunction&&) noexcept = default; + BackEasingFunction& operator=(BackEasingFunction const&) & noexcept = default; + BackEasingFunction& operator=(BackEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) BooleanKeyFrameAnimation : winrt::Windows::UI::Composition::IBooleanKeyFrameAnimation, impl::base, impl::require @@ -55,6 +80,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition BooleanKeyFrameAnimation& operator=(BooleanKeyFrameAnimation const&) & noexcept = default; BooleanKeyFrameAnimation& operator=(BooleanKeyFrameAnimation&&) & noexcept = default; }; + struct __declspec(empty_bases) BounceEasingFunction : winrt::Windows::UI::Composition::IBounceEasingFunction, + impl::base, + impl::require + { + BounceEasingFunction(std::nullptr_t) noexcept {} + BounceEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IBounceEasingFunction(ptr, take_ownership_from_abi) {} + BounceEasingFunction(BounceEasingFunction const&) noexcept = default; + BounceEasingFunction(BounceEasingFunction&&) noexcept = default; + BounceEasingFunction& operator=(BounceEasingFunction const&) & noexcept = default; + BounceEasingFunction& operator=(BounceEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) BounceScalarNaturalMotionAnimation : winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation, impl::base, impl::require @@ -88,6 +124,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition BounceVector3NaturalMotionAnimation& operator=(BounceVector3NaturalMotionAnimation const&) & noexcept = default; BounceVector3NaturalMotionAnimation& operator=(BounceVector3NaturalMotionAnimation&&) & noexcept = default; }; + struct __declspec(empty_bases) CircleEasingFunction : winrt::Windows::UI::Composition::ICircleEasingFunction, + impl::base, + impl::require + { + CircleEasingFunction(std::nullptr_t) noexcept {} + CircleEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ICircleEasingFunction(ptr, take_ownership_from_abi) {} + CircleEasingFunction(CircleEasingFunction const&) noexcept = default; + CircleEasingFunction(CircleEasingFunction&&) noexcept = default; + CircleEasingFunction& operator=(CircleEasingFunction const&) & noexcept = default; + CircleEasingFunction& operator=(CircleEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) ColorKeyFrameAnimation : winrt::Windows::UI::Composition::IColorKeyFrameAnimation, impl::base, impl::require @@ -250,6 +297,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition CompositionEasingFunction(CompositionEasingFunction&&) noexcept = default; CompositionEasingFunction& operator=(CompositionEasingFunction const&) & noexcept = default; CompositionEasingFunction& operator=(CompositionEasingFunction&&) & noexcept = default; + static auto CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2); + static auto CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner); + static auto CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner); + static auto CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount); + static auto CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude); + static auto CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness); + static auto CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode); + static auto CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness); + static auto CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent); + static auto CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power); + static auto CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode); }; struct __declspec(empty_bases) CompositionEffectBrush : winrt::Windows::UI::Composition::ICompositionEffectBrush, impl::base, @@ -330,7 +388,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition }; struct __declspec(empty_bases) CompositionGraphicsDevice : winrt::Windows::UI::Composition::ICompositionGraphicsDevice, impl::base, - impl::require + impl::require { CompositionGraphicsDevice(std::nullptr_t) noexcept {} CompositionGraphicsDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ICompositionGraphicsDevice(ptr, take_ownership_from_abi) {} @@ -672,7 +730,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition CompositionVisualSurface& operator=(CompositionVisualSurface&&) & noexcept = default; }; struct __declspec(empty_bases) Compositor : winrt::Windows::UI::Composition::ICompositor, - impl::require + impl::require { Compositor(std::nullptr_t) noexcept {} Compositor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ICompositor(ptr, take_ownership_from_abi) {} @@ -686,7 +744,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition }; struct __declspec(empty_bases) ContainerVisual : winrt::Windows::UI::Composition::IContainerVisual, impl::base, - impl::require + impl::require { ContainerVisual(std::nullptr_t) noexcept {} ContainerVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IContainerVisual(ptr, take_ownership_from_abi) {} @@ -706,6 +764,19 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition CubicBezierEasingFunction& operator=(CubicBezierEasingFunction const&) & noexcept = default; CubicBezierEasingFunction& operator=(CubicBezierEasingFunction&&) & noexcept = default; }; + struct __declspec(empty_bases) DelegatedInkTrailVisual : winrt::Windows::UI::Composition::IDelegatedInkTrailVisual, + impl::base, + impl::require + { + DelegatedInkTrailVisual(std::nullptr_t) noexcept {} + DelegatedInkTrailVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IDelegatedInkTrailVisual(ptr, take_ownership_from_abi) {} + DelegatedInkTrailVisual(DelegatedInkTrailVisual const&) noexcept = default; + DelegatedInkTrailVisual(DelegatedInkTrailVisual&&) noexcept = default; + DelegatedInkTrailVisual& operator=(DelegatedInkTrailVisual const&) & noexcept = default; + DelegatedInkTrailVisual& operator=(DelegatedInkTrailVisual&&) & noexcept = default; + static auto Create(winrt::Windows::UI::Composition::Compositor const& compositor); + static auto CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain); + }; struct __declspec(empty_bases) DistantLight : winrt::Windows::UI::Composition::IDistantLight, impl::base, impl::require @@ -728,6 +799,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition DropShadow& operator=(DropShadow const&) & noexcept = default; DropShadow& operator=(DropShadow&&) & noexcept = default; }; + struct __declspec(empty_bases) ElasticEasingFunction : winrt::Windows::UI::Composition::IElasticEasingFunction, + impl::base, + impl::require + { + ElasticEasingFunction(std::nullptr_t) noexcept {} + ElasticEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IElasticEasingFunction(ptr, take_ownership_from_abi) {} + ElasticEasingFunction(ElasticEasingFunction const&) noexcept = default; + ElasticEasingFunction(ElasticEasingFunction&&) noexcept = default; + ElasticEasingFunction& operator=(ElasticEasingFunction const&) & noexcept = default; + ElasticEasingFunction& operator=(ElasticEasingFunction&&) & noexcept = default; + }; + struct __declspec(empty_bases) ExponentialEasingFunction : winrt::Windows::UI::Composition::IExponentialEasingFunction, + impl::base, + impl::require + { + ExponentialEasingFunction(std::nullptr_t) noexcept {} + ExponentialEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IExponentialEasingFunction(ptr, take_ownership_from_abi) {} + ExponentialEasingFunction(ExponentialEasingFunction const&) noexcept = default; + ExponentialEasingFunction(ExponentialEasingFunction&&) noexcept = default; + ExponentialEasingFunction& operator=(ExponentialEasingFunction const&) & noexcept = default; + ExponentialEasingFunction& operator=(ExponentialEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) ExpressionAnimation : winrt::Windows::UI::Composition::IExpressionAnimation, impl::base, impl::require @@ -785,7 +878,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition }; struct __declspec(empty_bases) LayerVisual : winrt::Windows::UI::Composition::ILayerVisual, impl::base, - impl::require + impl::require { LayerVisual(std::nullptr_t) noexcept {} LayerVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ILayerVisual(ptr, take_ownership_from_abi) {} @@ -838,6 +931,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition PointLight& operator=(PointLight const&) & noexcept = default; PointLight& operator=(PointLight&&) & noexcept = default; }; + struct __declspec(empty_bases) PowerEasingFunction : winrt::Windows::UI::Composition::IPowerEasingFunction, + impl::base, + impl::require + { + PowerEasingFunction(std::nullptr_t) noexcept {} + PowerEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IPowerEasingFunction(ptr, take_ownership_from_abi) {} + PowerEasingFunction(PowerEasingFunction const&) noexcept = default; + PowerEasingFunction(PowerEasingFunction&&) noexcept = default; + PowerEasingFunction& operator=(PowerEasingFunction const&) & noexcept = default; + PowerEasingFunction& operator=(PowerEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) QuaternionKeyFrameAnimation : winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation, impl::base, impl::require @@ -849,9 +953,20 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition QuaternionKeyFrameAnimation& operator=(QuaternionKeyFrameAnimation const&) & noexcept = default; QuaternionKeyFrameAnimation& operator=(QuaternionKeyFrameAnimation&&) & noexcept = default; }; + struct __declspec(empty_bases) RectangleClip : winrt::Windows::UI::Composition::IRectangleClip, + impl::base, + impl::require + { + RectangleClip(std::nullptr_t) noexcept {} + RectangleClip(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IRectangleClip(ptr, take_ownership_from_abi) {} + RectangleClip(RectangleClip const&) noexcept = default; + RectangleClip(RectangleClip&&) noexcept = default; + RectangleClip& operator=(RectangleClip const&) & noexcept = default; + RectangleClip& operator=(RectangleClip&&) & noexcept = default; + }; struct __declspec(empty_bases) RedirectVisual : winrt::Windows::UI::Composition::IRedirectVisual, impl::base, - impl::require + impl::require { RedirectVisual(std::nullptr_t) noexcept {} RedirectVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IRedirectVisual(ptr, take_ownership_from_abi) {} @@ -895,7 +1010,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition }; struct __declspec(empty_bases) ShapeVisual : winrt::Windows::UI::Composition::IShapeVisual, impl::base, - impl::require + impl::require { ShapeVisual(std::nullptr_t) noexcept {} ShapeVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IShapeVisual(ptr, take_ownership_from_abi) {} @@ -904,6 +1019,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition ShapeVisual& operator=(ShapeVisual const&) & noexcept = default; ShapeVisual& operator=(ShapeVisual&&) & noexcept = default; }; + struct __declspec(empty_bases) SineEasingFunction : winrt::Windows::UI::Composition::ISineEasingFunction, + impl::base, + impl::require + { + SineEasingFunction(std::nullptr_t) noexcept {} + SineEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ISineEasingFunction(ptr, take_ownership_from_abi) {} + SineEasingFunction(SineEasingFunction const&) noexcept = default; + SineEasingFunction(SineEasingFunction&&) noexcept = default; + SineEasingFunction& operator=(SineEasingFunction const&) & noexcept = default; + SineEasingFunction& operator=(SineEasingFunction&&) & noexcept = default; + }; struct __declspec(empty_bases) SpotLight : winrt::Windows::UI::Composition::ISpotLight, impl::base, impl::require @@ -950,7 +1076,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition }; struct __declspec(empty_bases) SpriteVisual : winrt::Windows::UI::Composition::ISpriteVisual, impl::base, - impl::require + impl::require { SpriteVisual(std::nullptr_t) noexcept {} SpriteVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ISpriteVisual(ptr, take_ownership_from_abi) {} @@ -1027,7 +1153,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition }; struct __declspec(empty_bases) Visual : winrt::Windows::UI::Composition::IVisual, impl::base, - impl::require + impl::require { Visual(std::nullptr_t) noexcept {} Visual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IVisual(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h index 85e67fd6..34ac6bdf 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h @@ -191,7 +191,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition::Scenes }; struct __declspec(empty_bases) SceneVisual : winrt::Windows::UI::Composition::Scenes::ISceneVisual, impl::base, - impl::require + impl::require { SceneVisual(std::nullptr_t) noexcept {} SceneVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::Scenes::ISceneVisual(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h index 8d038500..0f7e6880 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h @@ -152,6 +152,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking struct IInkSynchronizer; struct IInkUnprocessedInput; struct IPenAndInkSettings; + struct IPenAndInkSettings2; struct IPenAndInkSettingsStatics; struct InkDrawingAttributes; struct InkDrawingAttributesPencilProperties; @@ -223,6 +224,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -338,6 +340,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Input.Inking.IInkSynchronizer"; template <> inline constexpr auto& name_v = L"Windows.UI.Input.Inking.IInkUnprocessedInput"; template <> inline constexpr auto& name_v = L"Windows.UI.Input.Inking.IPenAndInkSettings"; + template <> inline constexpr auto& name_v = L"Windows.UI.Input.Inking.IPenAndInkSettings2"; template <> inline constexpr auto& name_v = L"Windows.UI.Input.Inking.IPenAndInkSettingsStatics"; template <> inline constexpr guid guid_v{ 0x97A2176C,0x6774,0x48AD,{ 0x84,0xF0,0x48,0xF5,0xA9,0xBE,0x74,0xF9 } }; // 97A2176C-6774-48AD-84F0-48F5A9BE74F9 template <> inline constexpr guid guid_v{ 0x7CAB6508,0x8EC4,0x42FD,{ 0xA5,0xA5,0xE4,0xB7,0xD1,0xD5,0x31,0x6D } }; // 7CAB6508-8EC4-42FD-A5A5-E4B7D1D5316D @@ -383,6 +386,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x9B9EA160,0xAE9B,0x45F9,{ 0x84,0x07,0x4B,0x49,0x3B,0x16,0x36,0x61 } }; // 9B9EA160-AE9B-45F9-8407-4B493B163661 template <> inline constexpr guid guid_v{ 0xDB4445E0,0x8398,0x4921,{ 0xAC,0x3B,0xAB,0x97,0x8C,0x5B,0xA2,0x56 } }; // DB4445E0-8398-4921-AC3B-AB978C5BA256 template <> inline constexpr guid guid_v{ 0xBC2CEB8F,0x0066,0x44A8,{ 0xBB,0x7A,0xB8,0x39,0xB3,0xDE,0xB8,0xF5 } }; // BC2CEB8F-0066-44A8-BB7A-B839B3DEB8F5 + template <> inline constexpr guid guid_v{ 0x3262DA53,0x1F44,0x55E2,{ 0x99,0x29,0xEB,0xF7,0x7E,0x54,0x81,0xB8 } }; // 3262DA53-1F44-55E2-9929-EBF77E5481B8 template <> inline constexpr guid guid_v{ 0xED6DD036,0x5708,0x5C3C,{ 0x96,0xDB,0xF2,0xF5,0x52,0xEA,0xB6,0x41 } }; // ED6DD036-5708-5C3C-96DB-F2F552EAB641 template <> struct default_interface{ using type = winrt::Windows::UI::Input::Inking::IInkDrawingAttributes; }; template <> struct default_interface{ using type = winrt::Windows::UI::Input::Inking::IInkDrawingAttributesPencilProperties; }; @@ -863,6 +867,13 @@ namespace winrt::impl virtual int32_t __stdcall get_IsTouchHandwritingEnabled(bool*) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall SetPenHandedness(int32_t) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -1441,6 +1452,15 @@ namespace winrt::impl template using type = consume_Windows_UI_Input_Inking_IPenAndInkSettings; }; template + struct consume_Windows_UI_Input_Inking_IPenAndInkSettings2 + { + WINRT_IMPL_AUTO(void) SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Input_Inking_IPenAndInkSettings2; + }; + template struct consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics { WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) GetDefault() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h index 10254239..3b056f97 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h @@ -495,6 +495,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking IPenAndInkSettings& operator=(IPenAndInkSettings const&) & noexcept = default; IPenAndInkSettings& operator=(IPenAndInkSettings&&) & noexcept = default; }; + struct __declspec(empty_bases) IPenAndInkSettings2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IPenAndInkSettings2(std::nullptr_t = nullptr) noexcept {} + IPenAndInkSettings2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IPenAndInkSettings2(IPenAndInkSettings2 const&) noexcept = default; + IPenAndInkSettings2(IPenAndInkSettings2&&) noexcept = default; + IPenAndInkSettings2& operator=(IPenAndInkSettings2 const&) & noexcept = default; + IPenAndInkSettings2& operator=(IPenAndInkSettings2&&) & noexcept = default; + }; struct __declspec(empty_bases) IPenAndInkSettingsStatics : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h index 2187a135..b8114048 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h @@ -226,7 +226,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking InkUnprocessedInput& operator=(InkUnprocessedInput const&) & noexcept = default; InkUnprocessedInput& operator=(InkUnprocessedInput&&) & noexcept = default; }; - struct __declspec(empty_bases) PenAndInkSettings : winrt::Windows::UI::Input::Inking::IPenAndInkSettings + struct __declspec(empty_bases) PenAndInkSettings : winrt::Windows::UI::Input::Inking::IPenAndInkSettings, + impl::require { PenAndInkSettings(std::nullptr_t) noexcept {} PenAndInkSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Input::Inking::IPenAndInkSettings(ptr, take_ownership_from_abi) {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h index ed533ec8..c7178cfc 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h @@ -26,6 +26,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement::Core Handwriting = 2, Emoji = 3, Symbols = 4, + Clipboard = 5, }; enum class CoreInputViewOcclusionKind : int32_t { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h index aaec4bac..23db2ed8 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h @@ -28,6 +28,7 @@ WINRT_EXPORT namespace winrt::Windows::UI struct Color; struct UIContentRoot; struct UIContext; + struct WindowId; } WINRT_EXPORT namespace winrt::Windows::UI::Composition { @@ -81,6 +82,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement struct IDefaultPresentationConfiguration; struct IDisplayRegion; struct IFullScreenPresentationConfiguration; + struct IWindowServicesStatics; struct IWindowingEnvironment; struct IWindowingEnvironmentAddedEventArgs; struct IWindowingEnvironmentChangedEventArgs; @@ -100,6 +102,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement struct DefaultPresentationConfiguration; struct DisplayRegion; struct FullScreenPresentationConfiguration; + struct WindowServices; struct WindowingEnvironment; struct WindowingEnvironmentAddedEventArgs; struct WindowingEnvironmentChangedEventArgs; @@ -125,6 +128,7 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -144,6 +148,7 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -167,6 +172,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.DefaultPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.DisplayRegion"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.FullScreenPresentationConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowServices"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironment"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs"; @@ -194,6 +200,7 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IDefaultPresentationConfiguration"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IDisplayRegion"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IFullScreenPresentationConfiguration"; + template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowServicesStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironment"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironmentAddedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.WindowManagement.IWindowingEnvironmentChangedEventArgs"; @@ -217,6 +224,7 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0xD8C2B53B,0x2168,0x5703,{ 0xA8,0x53,0xD5,0x25,0x58,0x9F,0xE2,0xB9 } }; // D8C2B53B-2168-5703-A853-D525589FE2B9 template <> inline constexpr guid guid_v{ 0xDB50C3A2,0x4094,0x5F47,{ 0x8C,0xB1,0xEA,0x01,0xDD,0xAF,0xAA,0x94 } }; // DB50C3A2-4094-5F47-8CB1-EA01DDAFAA94 template <> inline constexpr guid guid_v{ 0x43D3DCD8,0xD2A8,0x503D,{ 0xA6,0x26,0x15,0x53,0x3D,0x6D,0x5F,0x62 } }; // 43D3DCD8-D2A8-503D-A626-15533D6D5F62 + template <> inline constexpr guid guid_v{ 0xCFF4D519,0x50A6,0x5C64,{ 0x97,0xF6,0xC2,0xD9,0x6A,0xDD,0x7F,0x42 } }; // CFF4D519-50A6-5C64-97F6-C2D96ADD7F42 template <> inline constexpr guid guid_v{ 0x264363C0,0x2A49,0x5417,{ 0xB3,0xAE,0x48,0xA7,0x1C,0x63,0xA3,0xBD } }; // 264363C0-2A49-5417-B3AE-48A71C63A3BD template <> inline constexpr guid guid_v{ 0xFF2A5B7F,0xF183,0x5C66,{ 0x99,0xB2,0x42,0x90,0x82,0x06,0x92,0x99 } }; // FF2A5B7F-F183-5C66-99B2-429082069299 template <> inline constexpr guid guid_v{ 0x4160CFC6,0x023D,0x5E9A,{ 0xB4,0x31,0x35,0x0E,0x67,0xDC,0x97,0x8A } }; // 4160CFC6-023D-5E9A-B431-350E67DC978A @@ -443,6 +451,13 @@ namespace winrt::impl virtual int32_t __stdcall put_IsExclusive(bool) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall FindAllTopLevelWindowIds(void**) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -730,6 +745,15 @@ namespace winrt::impl template using type = consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration; }; template + struct consume_Windows_UI_WindowManagement_IWindowServicesStatics + { + WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) FindAllTopLevelWindowIds() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_WindowManagement_IWindowServicesStatics; + }; + template struct consume_Windows_UI_WindowManagement_IWindowingEnvironment { [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h index e394642f..c5f563c4 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h @@ -203,6 +203,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement IFullScreenPresentationConfiguration& operator=(IFullScreenPresentationConfiguration const&) & noexcept = default; IFullScreenPresentationConfiguration& operator=(IFullScreenPresentationConfiguration&&) & noexcept = default; }; + struct __declspec(empty_bases) IWindowServicesStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IWindowServicesStatics(std::nullptr_t = nullptr) noexcept {} + IWindowServicesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IWindowServicesStatics(IWindowServicesStatics const&) noexcept = default; + IWindowServicesStatics(IWindowServicesStatics&&) noexcept = default; + IWindowServicesStatics& operator=(IWindowServicesStatics const&) & noexcept = default; + IWindowServicesStatics& operator=(IWindowServicesStatics&&) & noexcept = default; + }; struct __declspec(empty_bases) IWindowingEnvironment : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h index cffdd4ec..c329ca98 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h @@ -145,6 +145,11 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement FullScreenPresentationConfiguration& operator=(FullScreenPresentationConfiguration const&) & noexcept = default; FullScreenPresentationConfiguration& operator=(FullScreenPresentationConfiguration&&) & noexcept = default; }; + struct WindowServices + { + WindowServices() = delete; + static auto FindAllTopLevelWindowIds(); + }; struct __declspec(empty_bases) WindowingEnvironment : winrt::Windows::UI::WindowManagement::IWindowingEnvironment { WindowingEnvironment(std::nullptr_t) noexcept {} diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h index 02f2b8ec..381ef4e3 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h @@ -1163,8 +1163,12 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls struct IHandwritingPanelClosedEventArgs; struct IHandwritingPanelOpenedEventArgs; struct IHandwritingView; + struct IHandwritingView2; + struct IHandwritingViewCandidatesChangedEventArgs; struct IHandwritingViewFactory; struct IHandwritingViewStatics; + struct IHandwritingViewStatics2; + struct IHandwritingViewTextSubmittedEventArgs; struct IHub; struct IHubFactory; struct IHubSection; @@ -1824,6 +1828,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls struct HandwritingPanelClosedEventArgs; struct HandwritingPanelOpenedEventArgs; struct HandwritingView; + struct HandwritingViewCandidatesChangedEventArgs; + struct HandwritingViewTextSubmittedEventArgs; struct Hub; struct HubSection; struct HubSectionCollection; @@ -2312,8 +2318,12 @@ namespace winrt::impl template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; @@ -2973,6 +2983,8 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; @@ -3348,6 +3360,8 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.HandwritingPanelClosedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.HandwritingPanelOpenedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.HandwritingView"; + template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.HandwritingViewCandidatesChangedEventArgs"; + template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.HandwritingViewTextSubmittedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.Hub"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.HubSection"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.HubSectionCollection"; @@ -3890,8 +3904,12 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingPanelClosedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingPanelOpenedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingView"; + template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingView2"; + template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingViewCandidatesChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingViewFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingViewStatics"; + template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingViewStatics2"; + template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHandwritingViewTextSubmittedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHub"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHubFactory"; template <> inline constexpr auto& name_v = L"Windows.UI.Xaml.Controls.IHubSection"; @@ -4750,8 +4768,12 @@ namespace winrt::impl template <> inline constexpr guid guid_v{ 0x4FB91C73,0x192D,0x4DD2,{ 0xA1,0xA2,0x80,0xED,0x01,0x12,0x58,0x76 } }; // 4FB91C73-192D-4DD2-A1A2-80ED01125876 template <> inline constexpr guid guid_v{ 0xFC15B16D,0x9F15,0x47B0,{ 0xB9,0x7A,0x94,0xA6,0x8C,0xC6,0x13,0x45 } }; // FC15B16D-9F15-47B0-B97A-94A68CC61345 template <> inline constexpr guid guid_v{ 0xC44204A7,0x31E0,0x44BC,{ 0xA3,0x8B,0x4B,0xEE,0x64,0xEC,0xD9,0x9F } }; // C44204A7-31E0-44BC-A38B-4BEE64ECD99F + template <> inline constexpr guid guid_v{ 0x4BCF991B,0x0DE1,0x5C9E,{ 0x89,0x70,0x37,0xB9,0x87,0x8F,0xE1,0x71 } }; // 4BCF991B-0DE1-5C9E-8970-37B9878FE171 + template <> inline constexpr guid guid_v{ 0x6F5F63D8,0x56B1,0x56C5,{ 0xA4,0x16,0xC1,0x9C,0x16,0xBF,0x78,0x84 } }; // 6F5F63D8-56B1-56C5-A416-C19C16BF7884 template <> inline constexpr guid guid_v{ 0xE00C873F,0x0012,0x475C,{ 0x89,0x0C,0x97,0xAE,0x30,0x86,0x42,0xDE } }; // E00C873F-0012-475C-890C-97AE308642DE template <> inline constexpr guid guid_v{ 0xBB7CEED0,0xCC5F,0x4004,{ 0xB8,0xC8,0x14,0x2E,0x19,0x5F,0x06,0x18 } }; // BB7CEED0-CC5F-4004-B8C8-142E195F0618 + template <> inline constexpr guid guid_v{ 0x2CD052E4,0xD703,0x5183,{ 0xA1,0xBE,0x7E,0x28,0x5D,0xF9,0x78,0xD9 } }; // 2CD052E4-D703-5183-A1BE-7E285DF978D9 + template <> inline constexpr guid guid_v{ 0x55AC0F47,0xF5E4,0x55DA,{ 0xB8,0xA3,0xD4,0x18,0xB7,0x56,0x42,0x91 } }; // 55AC0F47-F5E4-55DA-B8A3-D418B7564291 template <> inline constexpr guid guid_v{ 0xAE692E82,0x7314,0x4F51,{ 0xAB,0x11,0x2A,0xF1,0xED,0x4A,0x19,0xF8 } }; // AE692E82-7314-4F51-AB11-2AF1ED4A19F8 template <> inline constexpr guid guid_v{ 0xDCA6B2BA,0xC6F5,0x4961,{ 0x99,0x53,0xC5,0x18,0x73,0xDB,0x54,0x24 } }; // DCA6B2BA-C6F5-4961-9953-C51873DB5424 template <> inline constexpr guid guid_v{ 0xA4E66CB7,0x7FDD,0x4FE0,{ 0xAB,0x49,0xC2,0x46,0x63,0x9D,0xCC,0xF9 } }; // A4E66CB7-7FDD-4FE0-AB49-C246639DCCF9 @@ -5427,6 +5449,8 @@ namespace winrt::impl template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Controls::IHandwritingPanelClosedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Controls::IHandwritingPanelOpenedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Controls::IHandwritingView; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs; }; + template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Controls::IHandwritingViewTextSubmittedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Controls::IHub; }; template <> struct default_interface{ using type = winrt::Windows::UI::Xaml::Controls::IHubSection; }; template <> struct default_interface{ using type = winrt::Windows::Foundation::Collections::IVector; }; @@ -8450,6 +8474,31 @@ namespace winrt::impl virtual int32_t __stdcall TryOpen(bool*) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_IsSwitchToKeyboardEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsSwitchToKeyboardEnabled(bool) noexcept = 0; + virtual int32_t __stdcall get_IsCommandBarOpen(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsCommandBarOpen(bool) noexcept = 0; + virtual int32_t __stdcall get_InputDeviceTypes(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_InputDeviceTypes(uint32_t) noexcept = 0; + virtual int32_t __stdcall add_CandidatesChanged(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_CandidatesChanged(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_TextSubmitted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_TextSubmitted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall GetCandidates(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall SelectCandidate(uint32_t, uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_CandidatesSessionId(uint32_t*) noexcept = 0; + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -8467,6 +8516,20 @@ namespace winrt::impl virtual int32_t __stdcall get_AreCandidatesEnabledProperty(void**) noexcept = 0; }; }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + virtual int32_t __stdcall get_IsSwitchToKeyboardEnabledProperty(void**) noexcept = 0; + virtual int32_t __stdcall get_IsCommandBarOpenProperty(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct __declspec(novtable) type : inspectable_abi + { + }; + }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi @@ -18260,6 +18323,39 @@ namespace winrt::impl template using type = consume_Windows_UI_Xaml_Controls_IHandwritingView; }; template + struct consume_Windows_UI_Xaml_Controls_IHandwritingView2 + { + [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSwitchToKeyboardEnabled() const; + WINRT_IMPL_AUTO(void) IsSwitchToKeyboardEnabled(bool value) const; + [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCommandBarOpen() const; + WINRT_IMPL_AUTO(void) IsCommandBarOpen(bool value) const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) InputDeviceTypes() const; + WINRT_IMPL_AUTO(void) InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const; + WINRT_IMPL_AUTO(winrt::event_token) CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using CandidatesChanged_revoker = impl::event_revoker::remove_CandidatesChanged>; + [[nodiscard]] CandidatesChanged_revoker CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + WINRT_IMPL_AUTO(void) CandidatesChanged(winrt::event_token const& token) const noexcept; + WINRT_IMPL_AUTO(winrt::event_token) TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using TextSubmitted_revoker = impl::event_revoker::remove_TextSubmitted>; + [[nodiscard]] TextSubmitted_revoker TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + WINRT_IMPL_AUTO(void) TextSubmitted(winrt::event_token const& token) const noexcept; + WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) GetCandidates(uint32_t candidatesSessionId) const; + WINRT_IMPL_AUTO(void) SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Xaml_Controls_IHandwritingView2; + }; + template + struct consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs + { + [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CandidatesSessionId() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs; + }; + template struct consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory { WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; @@ -18281,6 +18377,24 @@ namespace winrt::impl template using type = consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics; }; template + struct consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2 + { + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsSwitchToKeyboardEnabledProperty() const; + [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsCommandBarOpenProperty() const; + }; + template <> struct consume + { + template using type = consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2; + }; + template + struct consume_Windows_UI_Xaml_Controls_IHandwritingViewTextSubmittedEventArgs + { + }; + template <> struct consume + { + template using type = consume_Windows_UI_Xaml_Controls_IHandwritingViewTextSubmittedEventArgs; + }; + template struct consume_Windows_UI_Xaml_Controls_IHub { [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Header() const; diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h index 1d1572e7..3a823403 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h @@ -2942,6 +2942,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls IHandwritingView& operator=(IHandwritingView const&) & noexcept = default; IHandwritingView& operator=(IHandwritingView&&) & noexcept = default; }; + struct __declspec(empty_bases) IHandwritingView2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHandwritingView2(std::nullptr_t = nullptr) noexcept {} + IHandwritingView2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IHandwritingView2(IHandwritingView2 const&) noexcept = default; + IHandwritingView2(IHandwritingView2&&) noexcept = default; + IHandwritingView2& operator=(IHandwritingView2 const&) & noexcept = default; + IHandwritingView2& operator=(IHandwritingView2&&) & noexcept = default; + }; + struct __declspec(empty_bases) IHandwritingViewCandidatesChangedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHandwritingViewCandidatesChangedEventArgs(std::nullptr_t = nullptr) noexcept {} + IHandwritingViewCandidatesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IHandwritingViewCandidatesChangedEventArgs(IHandwritingViewCandidatesChangedEventArgs const&) noexcept = default; + IHandwritingViewCandidatesChangedEventArgs(IHandwritingViewCandidatesChangedEventArgs&&) noexcept = default; + IHandwritingViewCandidatesChangedEventArgs& operator=(IHandwritingViewCandidatesChangedEventArgs const&) & noexcept = default; + IHandwritingViewCandidatesChangedEventArgs& operator=(IHandwritingViewCandidatesChangedEventArgs&&) & noexcept = default; + }; struct __declspec(empty_bases) IHandwritingViewFactory : winrt::Windows::Foundation::IInspectable, impl::consume_t @@ -2964,6 +2986,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls IHandwritingViewStatics& operator=(IHandwritingViewStatics const&) & noexcept = default; IHandwritingViewStatics& operator=(IHandwritingViewStatics&&) & noexcept = default; }; + struct __declspec(empty_bases) IHandwritingViewStatics2 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHandwritingViewStatics2(std::nullptr_t = nullptr) noexcept {} + IHandwritingViewStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IHandwritingViewStatics2(IHandwritingViewStatics2 const&) noexcept = default; + IHandwritingViewStatics2(IHandwritingViewStatics2&&) noexcept = default; + IHandwritingViewStatics2& operator=(IHandwritingViewStatics2 const&) & noexcept = default; + IHandwritingViewStatics2& operator=(IHandwritingViewStatics2&&) & noexcept = default; + }; + struct __declspec(empty_bases) IHandwritingViewTextSubmittedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IHandwritingViewTextSubmittedEventArgs(std::nullptr_t = nullptr) noexcept {} + IHandwritingViewTextSubmittedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + IHandwritingViewTextSubmittedEventArgs(IHandwritingViewTextSubmittedEventArgs const&) noexcept = default; + IHandwritingViewTextSubmittedEventArgs(IHandwritingViewTextSubmittedEventArgs&&) noexcept = default; + IHandwritingViewTextSubmittedEventArgs& operator=(IHandwritingViewTextSubmittedEventArgs const&) & noexcept = default; + IHandwritingViewTextSubmittedEventArgs& operator=(IHandwritingViewTextSubmittedEventArgs&&) & noexcept = default; + }; struct __declspec(empty_bases) IHub : winrt::Windows::Foundation::IInspectable, impl::consume_t diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h index 1fd7ce99..c19fdcb2 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h @@ -1527,7 +1527,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls }; struct __declspec(empty_bases) HandwritingView : winrt::Windows::UI::Xaml::Controls::IHandwritingView, impl::base, - impl::require + impl::require { HandwritingView(std::nullptr_t) noexcept {} HandwritingView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::IHandwritingView(ptr, take_ownership_from_abi) {} @@ -1540,6 +1540,26 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls [[nodiscard]] static auto PlacementAlignmentProperty(); [[nodiscard]] static auto IsOpenProperty(); [[nodiscard]] static auto AreCandidatesEnabledProperty(); + [[nodiscard]] static auto IsSwitchToKeyboardEnabledProperty(); + [[nodiscard]] static auto IsCommandBarOpenProperty(); + }; + struct __declspec(empty_bases) HandwritingViewCandidatesChangedEventArgs : winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs + { + HandwritingViewCandidatesChangedEventArgs(std::nullptr_t) noexcept {} + HandwritingViewCandidatesChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs(ptr, take_ownership_from_abi) {} + HandwritingViewCandidatesChangedEventArgs(HandwritingViewCandidatesChangedEventArgs const&) noexcept = default; + HandwritingViewCandidatesChangedEventArgs(HandwritingViewCandidatesChangedEventArgs&&) noexcept = default; + HandwritingViewCandidatesChangedEventArgs& operator=(HandwritingViewCandidatesChangedEventArgs const&) & noexcept = default; + HandwritingViewCandidatesChangedEventArgs& operator=(HandwritingViewCandidatesChangedEventArgs&&) & noexcept = default; + }; + struct __declspec(empty_bases) HandwritingViewTextSubmittedEventArgs : winrt::Windows::UI::Xaml::Controls::IHandwritingViewTextSubmittedEventArgs + { + HandwritingViewTextSubmittedEventArgs(std::nullptr_t) noexcept {} + HandwritingViewTextSubmittedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::IHandwritingViewTextSubmittedEventArgs(ptr, take_ownership_from_abi) {} + HandwritingViewTextSubmittedEventArgs(HandwritingViewTextSubmittedEventArgs const&) noexcept = default; + HandwritingViewTextSubmittedEventArgs(HandwritingViewTextSubmittedEventArgs&&) noexcept = default; + HandwritingViewTextSubmittedEventArgs& operator=(HandwritingViewTextSubmittedEventArgs const&) & noexcept = default; + HandwritingViewTextSubmittedEventArgs& operator=(HandwritingViewTextSubmittedEventArgs&&) & noexcept = default; }; struct __declspec(empty_bases) Hub : winrt::Windows::UI::Xaml::Controls::IHub, impl::base, diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h index 9cf4266d..ccecb86c 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h @@ -1784,6 +1784,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Core::Direct CommandBarTemplateSettings_OverflowContentCompactYTranslation = 2384, CommandBarTemplateSettings_OverflowContentHiddenYTranslation = 2385, CommandBarTemplateSettings_OverflowContentMinimalYTranslation = 2386, + HandwritingView_IsCommandBarOpen = 2395, + HandwritingView_IsSwitchToKeyboardEnabled = 2396, }; enum class XamlTypeIndex : int32_t { diff --git a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h index 71f3bc72..d5a2ed32 100644 --- a/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h +++ b/cpp/platform/impl/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h @@ -107,6 +107,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input Chat = 58, NameOrPhoneNumber = 59, EmailNameOrAddress = 60, + Private = 61, Maps = 62, NumericPassword = 63, NumericPin = 64, diff --git a/cpp/platform/impl/windows/generated/winrt/winrt.ixx b/cpp/platform/impl/windows/generated/winrt/winrt.ixx index 4be98830..2caa8a2f 100644 --- a/cpp/platform/impl/windows/generated/winrt/winrt.ixx +++ b/cpp/platform/impl/windows/generated/winrt/winrt.ixx @@ -86,6 +86,7 @@ export module winrt; #include "winrt/Windows.ApplicationModel.Email.DataProvider.h" #include "winrt/Windows.ApplicationModel.ExtendedExecution.h" #include "winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h" +#include "winrt/Windows.ApplicationModel.Holographic.h" #include "winrt/Windows.ApplicationModel.LockScreen.h" #include "winrt/Windows.ApplicationModel.Payments.h" #include "winrt/Windows.ApplicationModel.Payments.Provider.h" @@ -315,6 +316,7 @@ export module winrt; #include "winrt/Windows.System.Diagnostics.Telemetry.h" #include "winrt/Windows.System.Diagnostics.TraceReporting.h" #include "winrt/Windows.System.Display.h" +#include "winrt/Windows.System.Implementation.FileExplorer.h" #include "winrt/Windows.System.Inventory.h" #include "winrt/Windows.System.Power.h" #include "winrt/Windows.System.Power.Diagnostics.h" @@ -357,6 +359,8 @@ export module winrt; #include "winrt/Windows.UI.StartScreen.h" #include "winrt/Windows.UI.Text.h" #include "winrt/Windows.UI.Text.Core.h" +#include "winrt/Windows.UI.UIAutomation.h" +#include "winrt/Windows.UI.UIAutomation.Core.h" #include "winrt/Windows.UI.ViewManagement.h" #include "winrt/Windows.UI.ViewManagement.Core.h" #include "winrt/Windows.UI.WebUI.h"