portable-devtools / msvc /Windows Kits /10 /Include /10.0.26100.0 /cppwinrt /winrt /windows.applicationmodel.activation.h
| // C++/WinRT v2.0.250303.1 | |
| // Copyright (c) Microsoft Corporation. All rights reserved. | |
| // Licensed under the MIT License. | |
| static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.250303.1"), "Mismatched C++/WinRT headers."); | |
| namespace winrt::impl | |
| { | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::Kind() const | |
| { | |
| winrt::Windows::ApplicationModel::Activation::ActivationKind value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Kind(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Kind(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::PreviousExecutionState() const | |
| { | |
| winrt::Windows::ApplicationModel::Activation::ApplicationExecutionState value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_PreviousExecutionState(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_PreviousExecutionState(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::SplashScreen() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_SplashScreen(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_SplashScreen(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Activation::SplashScreen{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgsWithUser<D>::User() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_User(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser>**)this; | |
| check_hresult(_winrt_abi_type->get_User(&value)); | |
| } | |
| return winrt::Windows::System::User{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IApplicationViewActivatedEventArgs<D>::CurrentlyShownApplicationViewId() const | |
| { | |
| int32_t value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CurrentlyShownApplicationViewId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_CurrentlyShownApplicationViewId(&value)); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderActivatedEventArgs<D>::Verb() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderAddAppointmentActivatedEventArgs<D>::AddAppointmentOperation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_AddAppointmentOperation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_AddAppointmentOperation(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderRemoveAppointmentActivatedEventArgs<D>::RemoveAppointmentOperation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_RemoveAppointmentOperation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_RemoveAppointmentOperation(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderReplaceAppointmentActivatedEventArgs<D>::ReplaceAppointmentOperation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ReplaceAppointmentOperation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ReplaceAppointmentOperation(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::InstanceStartDate() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_InstanceStartDate(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_InstanceStartDate(&value)); | |
| } | |
| return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::LocalId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_LocalId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_LocalId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::RoamingId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_RoamingId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_RoamingId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs<D>::TimeToShow() const | |
| { | |
| winrt::Windows::Foundation::DateTime value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TimeToShow(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_TimeToShow(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs<D>::Duration() const | |
| { | |
| winrt::Windows::Foundation::TimeSpan value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Duration(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Duration(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IBackgroundActivatedEventArgs<D>::TaskInstance() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TaskInstance(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_TaskInstance(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IBarcodeScannerPreviewActivatedEventArgs<D>::ConnectionId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ConnectionId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ConnectionId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICachedFileUpdaterActivatedEventArgs<D>::CachedFileUpdaterUI() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CachedFileUpdaterUI(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_CachedFileUpdaterUI(&value)); | |
| } | |
| return winrt::Windows::Storage::Provider::CachedFileUpdaterUI{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs<D>::VideoDeviceController() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_VideoDeviceController(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_VideoDeviceController(&value)); | |
| } | |
| return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs<D>::VideoDeviceExtension() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_VideoDeviceExtension(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_VideoDeviceExtension(&value)); | |
| } | |
| return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivatedEventArgs<D>::Operation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Operation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Operation(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::Arguments() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Arguments(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)this; | |
| check_hresult(_winrt_abi_type->get_Arguments(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::CurrentDirectoryPath() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CurrentDirectoryPath(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)this; | |
| check_hresult(_winrt_abi_type->get_CurrentDirectoryPath(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::ExitCode(int32_t value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_ExitCode(value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)this; | |
| check_hresult(_winrt_abi_type->put_ExitCode(value)); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::ExitCode() const | |
| { | |
| int32_t value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ExitCode(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)this; | |
| check_hresult(_winrt_abi_type->get_ExitCode(&value)); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::GetDeferral() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->GetDeferral(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>**)this; | |
| check_hresult(_winrt_abi_type->GetDeferral(&value)); | |
| } | |
| return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactActivatedEventArgs<D>::Verb() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::ServiceId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::ServiceUserId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::Contact() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs<D>::Address() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Address(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Address(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::ContactAddress{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs<D>::Contact() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::ServiceId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::ServiceUserId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::Contact() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs<D>::ContactPanel() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ContactPanel(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ContactPanel(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::ContactPanel{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs<D>::Contact() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPickerActivatedEventArgs<D>::ContactPickerUI() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ContactPickerUI(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ContactPickerUI(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::ServiceId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::ServiceUserId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::Contact() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::ServiceId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::ServiceUserId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ServiceUserId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::Contact() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Contact(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactsProviderActivatedEventArgs<D>::Verb() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IContinuationActivatedEventArgs<D>::ContinuationData() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ContinuationData(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ContinuationData(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs<D>::DeviceInformationId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_DeviceInformationId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_DeviceInformationId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs<D>::Verb() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IDevicePairingActivatedEventArgs<D>::DeviceInformation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_DeviceInformation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_DeviceInformation(&value)); | |
| } | |
| return winrt::Windows::Devices::Enumeration::DeviceInformation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IDialReceiverActivatedEventArgs<D>::AppName() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_AppName(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_AppName(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs<D>::Files() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Files(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Files(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs<D>::Verb() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Verb(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithCallerPackageFamilyName<D>::CallerPackageFamilyName() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName>**)this; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithNeighboringFiles<D>::NeighboringFilesQuery() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_NeighboringFilesQuery(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles>**)this; | |
| check_hresult(_winrt_abi_type->get_NeighboringFilesQuery(&value)); | |
| } | |
| return winrt::Windows::Storage::Search::StorageFileQueryResult{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs<D>::FileOpenPickerUI() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_FileOpenPickerUI(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_FileOpenPickerUI(&value)); | |
| } | |
| return winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs2<D>::CallerPackageFamilyName() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2>**)this; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerContinuationEventArgs<D>::Files() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Files(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Files(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs<D>::FileSavePickerUI() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_FileSavePickerUI(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_FileSavePickerUI(&value)); | |
| } | |
| return winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2<D>::CallerPackageFamilyName() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>**)this; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2<D>::EnterpriseId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_EnterpriseId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>**)this; | |
| check_hresult(_winrt_abi_type->get_EnterpriseId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerContinuationEventArgs<D>::File() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_File(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_File(&value)); | |
| } | |
| return winrt::Windows::Storage::StorageFile{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IFolderPickerContinuationEventArgs<D>::Folder() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Folder(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Folder(&value)); | |
| } | |
| return winrt::Windows::Storage::StorageFolder{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs<D>::Arguments() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Arguments(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Arguments(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs<D>::TileId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TileId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_TileId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs2<D>::TileActivatedInfo() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TileActivatedInfo(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2>**)this; | |
| check_hresult(_winrt_abi_type->get_TileActivatedInfo(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Activation::TileActivatedInfo{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ILockScreenActivatedEventArgs<D>::Info() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Info(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Info(&value)); | |
| } | |
| return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ILockScreenCallActivatedEventArgs<D>::CallUI() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CallUI(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_CallUI(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Calls::LockScreenCallUI{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IPhoneCallActivatedEventArgs<D>::LineId() const | |
| { | |
| winrt::guid value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IPhoneCallActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IPhoneCallActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPhoneCallActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_LineId(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPhoneCallActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_LineId(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IPickerReturnedActivatedEventArgs<D>::PickerOperationId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_PickerOperationId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_PickerOperationId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IPrelaunchActivatedEventArgs<D>::PrelaunchActivated() const | |
| { | |
| bool value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_PrelaunchActivated(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_PrelaunchActivated(&value)); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IPrint3DWorkflowActivatedEventArgs<D>::Workflow() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Workflow(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Workflow(&value)); | |
| } | |
| return winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IPrintTaskSettingsActivatedEventArgs<D>::Configuration() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Configuration(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Configuration(&value)); | |
| } | |
| return winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgs<D>::Uri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Uri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Uri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData<D>::CallerPackageFamilyName() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>**)this; | |
| check_hresult(_winrt_abi_type->get_CallerPackageFamilyName(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData<D>::Data() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Data(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>**)this; | |
| check_hresult(_winrt_abi_type->get_Data(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolForResultsActivatedEventArgs<D>::ProtocolForResultsOperation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ProtocolForResultsOperation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ProtocolForResultsOperation(&value)); | |
| } | |
| return winrt::Windows::System::ProtocolForResultsOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IRestrictedLaunchActivatedEventArgs<D>::SharedContext() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_SharedContext(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_SharedContext(&value)); | |
| } | |
| return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs<D>::QueryText() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_QueryText(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_QueryText(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs<D>::Language() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Language(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Language(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgsWithLinguisticDetails<D>::LinguisticDetails() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_LinguisticDetails(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails>**)this; | |
| check_hresult(_winrt_abi_type->get_LinguisticDetails(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IShareTargetActivatedEventArgs<D>::ShareOperation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ShareOperation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ShareOperation(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::ImageLocation() const | |
| { | |
| winrt::Windows::Foundation::Rect value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ISplashScreen>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ISplashScreen, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISplashScreen>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ImageLocation(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISplashScreen>**)this; | |
| check_hresult(_winrt_abi_type->get_ImageLocation(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const | |
| { | |
| winrt::event_token cookie{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ISplashScreen>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ISplashScreen, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISplashScreen>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->add_Dismissed(*(void**)(&handler), put_abi(cookie))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISplashScreen>**)this; | |
| check_hresult(_winrt_abi_type->add_Dismissed(*(void**)(&handler), put_abi(cookie))); | |
| } | |
| return cookie; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const | |
| { | |
| return impl::make_event_revoker<D, Dismissed_revoker>(this, Dismissed(handler)); | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(winrt::event_token const& cookie) const noexcept | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ISplashScreen>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ISplashScreen, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISplashScreen>**)&_winrt_casted_result; | |
| _winrt_abi_type->remove_Dismissed(impl::bind_in(cookie)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ISplashScreen>**)this; | |
| _winrt_abi_type->remove_Dismissed(impl::bind_in(cookie)); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IStartupTaskActivatedEventArgs<D>::TaskId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TaskId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_TaskId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_ITileActivatedInfo<D>::RecentlyShownNotifications() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_RecentlyShownNotifications(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo>**)this; | |
| check_hresult(_winrt_abi_type->get_RecentlyShownNotifications(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ShownTileNotification>{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs<D>::Argument() const | |
| { | |
| void* argument{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Argument(&argument)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Argument(&argument)); | |
| } | |
| return hstring{ argument, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs<D>::UserInput() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_UserInput(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_UserInput(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::ValueSet{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IUserDataAccountProviderActivatedEventArgs<D>::Operation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Operation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Operation(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IViewSwitcherProvider<D>::ViewSwitcher() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ViewSwitcher(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider>**)this; | |
| check_hresult(_winrt_abi_type->get_ViewSwitcher(&value)); | |
| } | |
| return winrt::Windows::UI::ViewManagement::ActivationViewSwitcher{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IVoiceCommandActivatedEventArgs<D>::Result() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Result(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Result(&value)); | |
| } | |
| return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::ItemId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ItemId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ItemId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::ActionKind() const | |
| { | |
| winrt::Windows::ApplicationModel::Wallet::WalletActionKind value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ActionKind(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ActionKind(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::ActionId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ActionId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_ActionId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IWebAccountProviderActivatedEventArgs<D>::Operation() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Operation(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_Operation(&value)); | |
| } | |
| return winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_Activation_IWebAuthenticationBrokerContinuationEventArgs<D>::WebAuthenticationResult() const | |
| { | |
| void* result{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs, D const*>(static_cast<D const*>(this), _winrt_cast_result_code); | |
| check_hresult(_winrt_cast_result_code); | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_WebAuthenticationResult(&result)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs>**)this; | |
| check_hresult(_winrt_abi_type->get_WebAuthenticationResult(&result)); | |
| } | |
| return winrt::Windows::Security::Authentication::Web::WebAuthenticationResult{ result, take_ownership_from_abi }; | |
| } | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Kind(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Activation::ActivationKind>(this->shim().Kind()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_PreviousExecutionState(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Activation::ApplicationExecutionState>(this->shim().PreviousExecutionState()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_SplashScreen(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Activation::SplashScreen>(this->shim().SplashScreen()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser> | |
| { | |
| int32_t __stdcall get_User(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::System::User>(this->shim().User()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_CurrentlyShownApplicationViewId(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<int32_t>(this->shim().CurrentlyShownApplicationViewId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Verb(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Verb()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_AddAppointmentOperation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation>(this->shim().AddAppointmentOperation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_RemoveAppointmentOperation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation>(this->shim().RemoveAppointmentOperation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ReplaceAppointmentOperation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation>(this->shim().ReplaceAppointmentOperation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_InstanceStartDate(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>>(this->shim().InstanceStartDate()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_LocalId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().LocalId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_RoamingId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().RoamingId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_TimeToShow(int64_t* value) noexcept final try | |
| { | |
| zero_abi<winrt::Windows::Foundation::DateTime>(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::DateTime>(this->shim().TimeToShow()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Duration(int64_t* value) noexcept final try | |
| { | |
| zero_abi<winrt::Windows::Foundation::TimeSpan>(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::TimeSpan>(this->shim().Duration()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_TaskInstance(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance>(this->shim().TaskInstance()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ConnectionId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ConnectionId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_CachedFileUpdaterUI(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Storage::Provider::CachedFileUpdaterUI>(this->shim().CachedFileUpdaterUI()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_VideoDeviceController(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::IInspectable>(this->shim().VideoDeviceController()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_VideoDeviceExtension(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::IInspectable>(this->shim().VideoDeviceExtension()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Operation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation>(this->shim().Operation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation> | |
| { | |
| int32_t __stdcall get_Arguments(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Arguments()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_CurrentDirectoryPath(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().CurrentDirectoryPath()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_ExitCode(int32_t value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().ExitCode(value); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ExitCode(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<int32_t>(this->shim().ExitCode()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall GetDeferral(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Deferral>(this->shim().GetDeferral()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Verb(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Verb()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ServiceId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ServiceUserId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceUserId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Contact(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::Contact>(this->shim().Contact()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Address(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::ContactAddress>(this->shim().Address()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Contact(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::Contact>(this->shim().Contact()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ServiceId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ServiceUserId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceUserId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Contact(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::Contact>(this->shim().Contact()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ContactPanel(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::ContactPanel>(this->shim().ContactPanel()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Contact(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::Contact>(this->shim().Contact()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ContactPickerUI(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI>(this->shim().ContactPickerUI()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ServiceId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ServiceUserId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceUserId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Contact(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::Contact>(this->shim().Contact()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ServiceId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ServiceUserId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ServiceUserId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Contact(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Contacts::Contact>(this->shim().Contact()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Verb(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Verb()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ContinuationData(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::ValueSet>(this->shim().ContinuationData()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_DeviceInformationId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().DeviceInformationId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Verb(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Verb()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_DeviceInformation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Devices::Enumeration::DeviceInformation>(this->shim().DeviceInformation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_AppName(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().AppName()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Files(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>(this->shim().Files()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Verb(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Verb()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName> | |
| { | |
| int32_t __stdcall get_CallerPackageFamilyName(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().CallerPackageFamilyName()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles> | |
| { | |
| int32_t __stdcall get_NeighboringFilesQuery(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Storage::Search::StorageFileQueryResult>(this->shim().NeighboringFilesQuery()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_FileOpenPickerUI(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI>(this->shim().FileOpenPickerUI()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2> | |
| { | |
| int32_t __stdcall get_CallerPackageFamilyName(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().CallerPackageFamilyName()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs> | |
| { | |
| int32_t __stdcall get_Files(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>(this->shim().Files()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_FileSavePickerUI(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI>(this->shim().FileSavePickerUI()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2> | |
| { | |
| int32_t __stdcall get_CallerPackageFamilyName(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().CallerPackageFamilyName()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_EnterpriseId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().EnterpriseId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs> | |
| { | |
| int32_t __stdcall get_File(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Storage::StorageFile>(this->shim().File()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs> | |
| { | |
| int32_t __stdcall get_Folder(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Storage::StorageFolder>(this->shim().Folder()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Arguments(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Arguments()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_TileId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().TileId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2> | |
| { | |
| int32_t __stdcall get_TileActivatedInfo(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Activation::TileActivatedInfo>(this->shim().TileActivatedInfo()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Info(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::IInspectable>(this->shim().Info()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_CallUI(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI>(this->shim().CallUI()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IPhoneCallActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IPhoneCallActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_LineId(winrt::guid* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::guid>(this->shim().LineId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_PickerOperationId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().PickerOperationId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_PrelaunchActivated(bool* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<bool>(this->shim().PrelaunchActivated()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Workflow(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow>(this->shim().Workflow()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Configuration(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration>(this->shim().Configuration()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Uri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().Uri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData> | |
| { | |
| int32_t __stdcall get_CallerPackageFamilyName(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().CallerPackageFamilyName()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Data(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::ValueSet>(this->shim().Data()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ProtocolForResultsOperation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::System::ProtocolForResultsOperation>(this->shim().ProtocolForResultsOperation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_SharedContext(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::IInspectable>(this->shim().SharedContext()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_QueryText(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().QueryText()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Language(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Language()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails> | |
| { | |
| int32_t __stdcall get_LinguisticDetails(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails>(this->shim().LinguisticDetails()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ShareOperation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation>(this->shim().ShareOperation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ISplashScreen> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ISplashScreen> | |
| { | |
| int32_t __stdcall get_ImageLocation(winrt::Windows::Foundation::Rect* value) noexcept final try | |
| { | |
| zero_abi<winrt::Windows::Foundation::Rect>(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Rect>(this->shim().ImageLocation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall add_Dismissed(void* handler, winrt::event_token* cookie) noexcept final try | |
| { | |
| zero_abi<winrt::event_token>(cookie); | |
| typename D::abi_guard guard(this->shim()); | |
| *cookie = detach_from<winrt::event_token>(this->shim().Dismissed(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const*>(&handler))); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall remove_Dismissed(winrt::event_token cookie) noexcept final | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Dismissed(*reinterpret_cast<winrt::event_token const*>(&cookie)); | |
| return 0; | |
| } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_TaskId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().TaskId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo> : produce_base<D, winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo> | |
| { | |
| int32_t __stdcall get_RecentlyShownNotifications(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ShownTileNotification>>(this->shim().RecentlyShownNotifications()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Argument(void** argument) noexcept final try | |
| { | |
| clear_abi(argument); | |
| typename D::abi_guard guard(this->shim()); | |
| *argument = detach_from<hstring>(this->shim().Argument()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_UserInput(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::ValueSet>(this->shim().UserInput()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Operation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation>(this->shim().Operation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider> | |
| { | |
| int32_t __stdcall get_ViewSwitcher(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::UI::ViewManagement::ActivationViewSwitcher>(this->shim().ViewSwitcher()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Result(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>(this->shim().Result()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_ItemId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ItemId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ActionKind(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::Wallet::WalletActionKind>(this->shim().ActionKind()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ActionId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().ActionId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs> | |
| { | |
| int32_t __stdcall get_Operation(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation>(this->shim().Operation()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs> : produce_base<D, winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs> | |
| { | |
| int32_t __stdcall get_WebAuthenticationResult(void** result) noexcept final try | |
| { | |
| clear_abi(result); | |
| typename D::abi_guard guard(this->shim()); | |
| *result = detach_from<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>(this->shim().WebAuthenticationResult()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| } | |
| WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Activation | |
| { | |
| } | |
| namespace std | |
| { | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IPhoneCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ISplashScreen> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::AppointmentsProviderAddAppointmentActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::AppointmentsProviderRemoveAppointmentActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::AppointmentsProviderReplaceAppointmentActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::AppointmentsProviderShowAppointmentDetailsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::AppointmentsProviderShowTimeFrameActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::BarcodeScannerPreviewActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::CameraSettingsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::CommandLineActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ContactCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ContactMapActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ContactMessageActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ContactPanelActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ContactPickerActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ContactPostActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ContactVideoCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::DeviceActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::DevicePairingActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::DialReceiverActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::FileOpenPickerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::FileSavePickerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::FolderPickerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::LockScreenActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::LockScreenCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::LockScreenComponentActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::PhoneCallActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::PickerReturnedActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::Print3DWorkflowActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::PrintTaskSettingsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ProtocolActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ProtocolForResultsActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::RestrictedLaunchActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::SplashScreen> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::StartupTaskActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::TileActivatedInfo> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::ToastNotificationActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::UserDataAccountProviderActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::VoiceCommandActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::WalletActionActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::WebAccountProviderActivatedEventArgs> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::Activation::WebAuthenticationBrokerContinuationEventArgs> : winrt::impl::hash_base {}; | |
| } | |