portable-devtools / msvc /Windows Kits /10 /Include /10.0.26100.0 /cppwinrt /winrt /windows.applicationmodel.socialinfo.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_SocialInfo_ISocialFeedChildItem<D>::Author() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Author(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Author(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::PrimaryContent() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_PrimaryContent(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->get_PrimaryContent(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::SecondaryContent() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_SecondaryContent(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->get_SecondaryContent(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Timestamp() const | |
| { | |
| winrt::Windows::Foundation::DateTime value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Timestamp(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Timestamp(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Timestamp(winrt::Windows::Foundation::DateTime const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_Timestamp(impl::bind_in(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->put_Timestamp(impl::bind_in(value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::TargetUri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Thumbnails() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Thumbnails(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Thumbnails(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::SharedItem() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_SharedItem(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->get_SharedItem(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem, 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::SocialInfo::ISocialFeedChildItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_SharedItem(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>**)this; | |
| check_hresult(_winrt_abi_type->put_SharedItem(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Title() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent, 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::SocialInfo::ISocialFeedContent>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Title(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>**)this; | |
| check_hresult(_winrt_abi_type->get_Title(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Title(param::hstring const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent, 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::SocialInfo::ISocialFeedContent>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_Title(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>**)this; | |
| check_hresult(_winrt_abi_type->put_Title(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Message() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent, 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::SocialInfo::ISocialFeedContent>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Message(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>**)this; | |
| check_hresult(_winrt_abi_type->get_Message(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Message(param::hstring const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent, 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::SocialInfo::ISocialFeedContent>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_Message(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>**)this; | |
| check_hresult(_winrt_abi_type->put_Message(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::TargetUri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent, 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::SocialInfo::ISocialFeedContent>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>**)this; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent, 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::SocialInfo::ISocialFeedContent>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>**)this; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Author() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Author(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Author(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::PrimaryContent() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_PrimaryContent(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_PrimaryContent(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::SecondaryContent() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_SecondaryContent(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_SecondaryContent(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Timestamp() const | |
| { | |
| winrt::Windows::Foundation::DateTime value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Timestamp(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Timestamp(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Timestamp(winrt::Windows::Foundation::DateTime const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_Timestamp(impl::bind_in(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_Timestamp(impl::bind_in(value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::TargetUri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Thumbnails() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Thumbnails(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Thumbnails(&value)); | |
| } | |
| return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::SharedItem() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_SharedItem(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_SharedItem(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_SharedItem(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_SharedItem(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeStyle() const | |
| { | |
| winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_BadgeStyle(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_BadgeStyle(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_BadgeStyle(static_cast<int32_t>(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_BadgeStyle(static_cast<int32_t>(value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeCountValue() const | |
| { | |
| int32_t value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_BadgeCountValue(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_BadgeCountValue(&value)); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeCountValue(int32_t value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_BadgeCountValue(value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_BadgeCountValue(value)); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::RemoteId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_RemoteId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_RemoteId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::RemoteId(param::hstring const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_RemoteId(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_RemoteId(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::ChildItem() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ChildItem(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_ChildItem(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_ChildItem(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_ChildItem(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Style() const | |
| { | |
| winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Style(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Style(reinterpret_cast<int32_t*>(&value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem, 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::SocialInfo::ISocialFeedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_Style(static_cast<int32_t>(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_Style(static_cast<int32_t>(value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::OriginalSource() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_OriginalSource(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_OriginalSource(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::OriginalSource(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_OriginalSource(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_OriginalSource(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Content() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Content(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Content(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Timestamp() const | |
| { | |
| winrt::Windows::Foundation::DateTime value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Timestamp(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Timestamp(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Timestamp(winrt::Windows::Foundation::DateTime const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_Timestamp(impl::bind_in(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_Timestamp(impl::bind_in(value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::TargetUri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_Thumbnail(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->put_Thumbnail(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Thumbnail() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem, 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::SocialInfo::ISocialFeedSharedItem>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_Thumbnail(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>**)this; | |
| check_hresult(_winrt_abi_type->get_Thumbnail(&value)); | |
| } | |
| return winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::TargetUri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail, 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::SocialInfo::ISocialItemThumbnail>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>**)this; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail, 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::SocialInfo::ISocialItemThumbnail>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>**)this; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::ImageUri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail, 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::SocialInfo::ISocialItemThumbnail>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_ImageUri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>**)this; | |
| check_hresult(_winrt_abi_type->get_ImageUri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::ImageUri(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail, 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::SocialInfo::ISocialItemThumbnail>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_ImageUri(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>**)this; | |
| check_hresult(_winrt_abi_type->put_ImageUri(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::BitmapSize() const | |
| { | |
| winrt::Windows::Graphics::Imaging::BitmapSize value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail, 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::SocialInfo::ISocialItemThumbnail>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_BitmapSize(put_abi(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>**)this; | |
| check_hresult(_winrt_abi_type->get_BitmapSize(put_abi(value))); | |
| } | |
| return value; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail, 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::SocialInfo::ISocialItemThumbnail>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_BitmapSize(impl::bind_in(value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>**)this; | |
| check_hresult(_winrt_abi_type->put_BitmapSize(impl::bind_in(value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const | |
| { | |
| void* operation{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail, 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::SocialInfo::ISocialItemThumbnail>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->SetImageAsync(*(void**)(&image), &operation)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>**)this; | |
| check_hresult(_winrt_abi_type->SetImageAsync(*(void**)(&image), &operation)); | |
| } | |
| return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::DisplayName() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_DisplayName(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->get_DisplayName(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::DisplayName(param::hstring const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_DisplayName(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->put_DisplayName(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::UserName() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_UserName(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->get_UserName(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::UserName(param::hstring const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_UserName(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->put_UserName(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::RemoteId() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_RemoteId(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->get_RemoteId(&value)); | |
| } | |
| return hstring{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::RemoteId(param::hstring const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_RemoteId(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->put_RemoteId(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::TargetUri() const | |
| { | |
| void* value{}; | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->get_TargetUri(&value)); | |
| } | |
| return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; | |
| } | |
| template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const | |
| { | |
| if constexpr (!std::is_same_v<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>) | |
| { | |
| winrt::hresult _winrt_cast_result_code; | |
| auto const _winrt_casted_result = impl::try_as_with_reason<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo, 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::SocialInfo::ISocialUserInfo>**)&_winrt_casted_result; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| else | |
| { | |
| auto const _winrt_abi_type = *(abi_t<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>**)this; | |
| check_hresult(_winrt_abi_type->put_TargetUri(*(void**)(&value))); | |
| } | |
| } | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem> : produce_base<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem> | |
| { | |
| int32_t __stdcall get_Author(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo>(this->shim().Author()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_PrimaryContent(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent>(this->shim().PrimaryContent()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_SecondaryContent(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent>(this->shim().SecondaryContent()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Timestamp(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().Timestamp()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_Timestamp(int64_t value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Timestamp(*reinterpret_cast<winrt::Windows::Foundation::DateTime const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_TargetUri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().TargetUri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_TargetUri(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().TargetUri(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Thumbnails(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>>(this->shim().Thumbnails()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_SharedItem(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem>(this->shim().SharedItem()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_SharedItem(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().SharedItem(*reinterpret_cast<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent> : produce_base<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent> | |
| { | |
| int32_t __stdcall get_Title(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Title()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_Title(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Title(*reinterpret_cast<hstring const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Message(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().Message()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_Message(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Message(*reinterpret_cast<hstring const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_TargetUri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().TargetUri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_TargetUri(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().TargetUri(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem> : produce_base<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem> | |
| { | |
| int32_t __stdcall get_Author(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo>(this->shim().Author()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_PrimaryContent(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent>(this->shim().PrimaryContent()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_SecondaryContent(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent>(this->shim().SecondaryContent()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Timestamp(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().Timestamp()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_Timestamp(int64_t value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Timestamp(*reinterpret_cast<winrt::Windows::Foundation::DateTime const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_TargetUri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().TargetUri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_TargetUri(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().TargetUri(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Thumbnails(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>>(this->shim().Thumbnails()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_SharedItem(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem>(this->shim().SharedItem()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_SharedItem(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().SharedItem(*reinterpret_cast<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_BadgeStyle(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle>(this->shim().BadgeStyle()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_BadgeStyle(int32_t value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().BadgeStyle(*reinterpret_cast<winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_BadgeCountValue(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<int32_t>(this->shim().BadgeCountValue()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_BadgeCountValue(int32_t value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().BadgeCountValue(value); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_RemoteId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().RemoteId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_RemoteId(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().RemoteId(*reinterpret_cast<hstring const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ChildItem(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem>(this->shim().ChildItem()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_ChildItem(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().ChildItem(*reinterpret_cast<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Style(int32_t* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle>(this->shim().Style()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_Style(int32_t value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Style(*reinterpret_cast<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem> : produce_base<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem> | |
| { | |
| int32_t __stdcall get_OriginalSource(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().OriginalSource()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_OriginalSource(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().OriginalSource(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Content(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent>(this->shim().Content()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Timestamp(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().Timestamp()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_Timestamp(int64_t value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Timestamp(*reinterpret_cast<winrt::Windows::Foundation::DateTime const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_TargetUri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().TargetUri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_TargetUri(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().TargetUri(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_Thumbnail(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().Thumbnail(*reinterpret_cast<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_Thumbnail(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>(this->shim().Thumbnail()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail> : produce_base<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail> | |
| { | |
| int32_t __stdcall get_TargetUri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().TargetUri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_TargetUri(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().TargetUri(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_ImageUri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().ImageUri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_ImageUri(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().ImageUri(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_BitmapSize(struct struct_Windows_Graphics_Imaging_BitmapSize* value) noexcept final try | |
| { | |
| zero_abi<winrt::Windows::Graphics::Imaging::BitmapSize>(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Graphics::Imaging::BitmapSize>(this->shim().BitmapSize()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_BitmapSize(struct struct_Windows_Graphics_Imaging_BitmapSize value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().BitmapSize(*reinterpret_cast<winrt::Windows::Graphics::Imaging::BitmapSize const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall SetImageAsync(void* image, void** operation) noexcept final try | |
| { | |
| clear_abi(operation); | |
| typename D::abi_guard guard(this->shim()); | |
| *operation = detach_from<winrt::Windows::Foundation::IAsyncAction>(this->shim().SetImageAsync(*reinterpret_cast<winrt::Windows::Storage::Streams::IInputStream const*>(&image))); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| template <typename D> | |
| struct produce<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo> : produce_base<D, winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo> | |
| { | |
| int32_t __stdcall get_DisplayName(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().DisplayName()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_DisplayName(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().DisplayName(*reinterpret_cast<hstring const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_UserName(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().UserName()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_UserName(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().UserName(*reinterpret_cast<hstring const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_RemoteId(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<hstring>(this->shim().RemoteId()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_RemoteId(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().RemoteId(*reinterpret_cast<hstring const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall get_TargetUri(void** value) noexcept final try | |
| { | |
| clear_abi(value); | |
| typename D::abi_guard guard(this->shim()); | |
| *value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().TargetUri()); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| int32_t __stdcall put_TargetUri(void* value) noexcept final try | |
| { | |
| typename D::abi_guard guard(this->shim()); | |
| this->shim().TargetUri(*reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&value)); | |
| return 0; | |
| } | |
| catch (...) { return to_hresult(); } | |
| }; | |
| } | |
| WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo | |
| { | |
| inline SocialFeedChildItem::SocialFeedChildItem() : | |
| SocialFeedChildItem(impl::call_factory_cast<SocialFeedChildItem(*)(winrt::Windows::Foundation::IActivationFactory const&), SocialFeedChildItem>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<SocialFeedChildItem>(); })) | |
| { | |
| } | |
| inline SocialFeedItem::SocialFeedItem() : | |
| SocialFeedItem(impl::call_factory_cast<SocialFeedItem(*)(winrt::Windows::Foundation::IActivationFactory const&), SocialFeedItem>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<SocialFeedItem>(); })) | |
| { | |
| } | |
| inline SocialFeedSharedItem::SocialFeedSharedItem() : | |
| SocialFeedSharedItem(impl::call_factory_cast<SocialFeedSharedItem(*)(winrt::Windows::Foundation::IActivationFactory const&), SocialFeedSharedItem>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<SocialFeedSharedItem>(); })) | |
| { | |
| } | |
| inline SocialItemThumbnail::SocialItemThumbnail() : | |
| SocialItemThumbnail(impl::call_factory_cast<SocialItemThumbnail(*)(winrt::Windows::Foundation::IActivationFactory const&), SocialItemThumbnail>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<SocialItemThumbnail>(); })) | |
| { | |
| } | |
| } | |
| namespace std | |
| { | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItem> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail> : winrt::impl::hash_base {}; | |
| template<> struct hash<winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo> : winrt::impl::hash_base {}; | |
| } | |