@@ -442,6 +442,24 @@ namespace winrt::impl
442442 check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStoreContext4)->SetInstallOrderForAssociatedStoreQueueItemsAsync (*(void **)(&items), &operation));
443443 return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>{ operation, take_ownership_from_abi };
444444 }
445+ template <typename D> auto consume_Windows_Services_Store_IStoreContext5<D>::GetUserPurchaseHistoryAsync(param::async_iterable<hstring> const & productKinds) const
446+ {
447+ void * operation{};
448+ check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStoreContext5)->GetUserPurchaseHistoryAsync (*(void **)(&productKinds), &operation));
449+ return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>{ operation, take_ownership_from_abi };
450+ }
451+ template <typename D> auto consume_Windows_Services_Store_IStoreContext5<D>::GetAssociatedStoreProductsByInAppOfferTokenAsync(param::async_iterable<hstring> const & inAppOfferTokens) const
452+ {
453+ void * operation{};
454+ check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStoreContext5)->GetAssociatedStoreProductsByInAppOfferTokenAsync (*(void **)(&inAppOfferTokens), &operation));
455+ return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>{ operation, take_ownership_from_abi };
456+ }
457+ template <typename D> auto consume_Windows_Services_Store_IStoreContext5<D>::RequestPurchaseByInAppOfferTokenAsync(param::hstring const & inAppOfferToken) const
458+ {
459+ void * operation{};
460+ check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStoreContext5)->RequestPurchaseByInAppOfferTokenAsync (*(void **)(&inAppOfferToken), &operation));
461+ return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
462+ }
445463 template <typename D> auto consume_Windows_Services_Store_IStoreContextStatics<D>::GetDefault() const
446464 {
447465 void * value{};
@@ -620,6 +638,24 @@ namespace winrt::impl
620638 check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStorePrice)->get_FormattedRecurrencePrice (&value));
621639 return hstring{ value, take_ownership_from_abi };
622640 }
641+ template <typename D> auto consume_Windows_Services_Store_IStorePrice2<D>::UnformattedBasePrice() const
642+ {
643+ void * value{};
644+ check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStorePrice2)->get_UnformattedBasePrice (&value));
645+ return hstring{ value, take_ownership_from_abi };
646+ }
647+ template <typename D> auto consume_Windows_Services_Store_IStorePrice2<D>::UnformattedPrice() const
648+ {
649+ void * value{};
650+ check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStorePrice2)->get_UnformattedPrice (&value));
651+ return hstring{ value, take_ownership_from_abi };
652+ }
653+ template <typename D> auto consume_Windows_Services_Store_IStorePrice2<D>::UnformattedRecurrencePrice() const
654+ {
655+ void * value{};
656+ check_hresult (WINRT_IMPL_SHIM (winrt::Windows::Services::Store::IStorePrice2)->get_UnformattedRecurrencePrice (&value));
657+ return hstring{ value, take_ownership_from_abi };
658+ }
623659 template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::StoreId() const
624660 {
625661 void * value{};
@@ -1782,6 +1818,36 @@ namespace winrt::impl
17821818 catch (...) { return to_hresult (); }
17831819 };
17841820#endif
1821+ #ifndef WINRT_LEAN_AND_MEAN
1822+ template <typename D>
1823+ struct produce <D, winrt::Windows::Services::Store::IStoreContext5> : produce_base<D, winrt::Windows::Services::Store::IStoreContext5>
1824+ {
1825+ int32_t __stdcall GetUserPurchaseHistoryAsync (void * productKinds, void ** operation) noexcept final try
1826+ {
1827+ clear_abi (operation);
1828+ typename D::abi_guard guard (this ->shim ());
1829+ *operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>>(this ->shim ().GetUserPurchaseHistoryAsync (*reinterpret_cast <winrt::Windows::Foundation::Collections::IIterable<hstring> const *>(&productKinds)));
1830+ return 0 ;
1831+ }
1832+ catch (...) { return to_hresult (); }
1833+ int32_t __stdcall GetAssociatedStoreProductsByInAppOfferTokenAsync (void * inAppOfferTokens, void ** operation) noexcept final try
1834+ {
1835+ clear_abi (operation);
1836+ typename D::abi_guard guard (this ->shim ());
1837+ *operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>>(this ->shim ().GetAssociatedStoreProductsByInAppOfferTokenAsync (*reinterpret_cast <winrt::Windows::Foundation::Collections::IIterable<hstring> const *>(&inAppOfferTokens)));
1838+ return 0 ;
1839+ }
1840+ catch (...) { return to_hresult (); }
1841+ int32_t __stdcall RequestPurchaseByInAppOfferTokenAsync (void * inAppOfferToken, void ** operation) noexcept final try
1842+ {
1843+ clear_abi (operation);
1844+ typename D::abi_guard guard (this ->shim ());
1845+ *operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>>(this ->shim ().RequestPurchaseByInAppOfferTokenAsync (*reinterpret_cast <hstring const *>(&inAppOfferToken)));
1846+ return 0 ;
1847+ }
1848+ catch (...) { return to_hresult (); }
1849+ };
1850+ #endif
17851851#ifndef WINRT_LEAN_AND_MEAN
17861852 template <typename D>
17871853 struct produce <D, winrt::Windows::Services::Store::IStoreContextStatics> : produce_base<D, winrt::Windows::Services::Store::IStoreContextStatics>
@@ -2064,6 +2130,36 @@ namespace winrt::impl
20642130 catch (...) { return to_hresult (); }
20652131 };
20662132#endif
2133+ #ifndef WINRT_LEAN_AND_MEAN
2134+ template <typename D>
2135+ struct produce <D, winrt::Windows::Services::Store::IStorePrice2> : produce_base<D, winrt::Windows::Services::Store::IStorePrice2>
2136+ {
2137+ int32_t __stdcall get_UnformattedBasePrice (void ** value) noexcept final try
2138+ {
2139+ clear_abi (value);
2140+ typename D::abi_guard guard (this ->shim ());
2141+ *value = detach_from<hstring>(this ->shim ().UnformattedBasePrice ());
2142+ return 0 ;
2143+ }
2144+ catch (...) { return to_hresult (); }
2145+ int32_t __stdcall get_UnformattedPrice (void ** value) noexcept final try
2146+ {
2147+ clear_abi (value);
2148+ typename D::abi_guard guard (this ->shim ());
2149+ *value = detach_from<hstring>(this ->shim ().UnformattedPrice ());
2150+ return 0 ;
2151+ }
2152+ catch (...) { return to_hresult (); }
2153+ int32_t __stdcall get_UnformattedRecurrencePrice (void ** value) noexcept final try
2154+ {
2155+ clear_abi (value);
2156+ typename D::abi_guard guard (this ->shim ());
2157+ *value = detach_from<hstring>(this ->shim ().UnformattedRecurrencePrice ());
2158+ return 0 ;
2159+ }
2160+ catch (...) { return to_hresult (); }
2161+ };
2162+ #endif
20672163#ifndef WINRT_LEAN_AND_MEAN
20682164 template <typename D>
20692165 struct produce <D, winrt::Windows::Services::Store::IStoreProduct> : produce_base<D, winrt::Windows::Services::Store::IStoreProduct>
@@ -2923,6 +3019,7 @@ namespace std
29233019 template <> struct hash <winrt::Windows::Services::Store::IStoreContext2> : winrt::impl::hash_base {};
29243020 template <> struct hash <winrt::Windows::Services::Store::IStoreContext3> : winrt::impl::hash_base {};
29253021 template <> struct hash <winrt::Windows::Services::Store::IStoreContext4> : winrt::impl::hash_base {};
3022+ template <> struct hash <winrt::Windows::Services::Store::IStoreContext5> : winrt::impl::hash_base {};
29263023 template <> struct hash <winrt::Windows::Services::Store::IStoreContextStatics> : winrt::impl::hash_base {};
29273024 template <> struct hash <winrt::Windows::Services::Store::IStoreImage> : winrt::impl::hash_base {};
29283025 template <> struct hash <winrt::Windows::Services::Store::IStoreLicense> : winrt::impl::hash_base {};
@@ -2932,6 +3029,7 @@ namespace std
29323029 template <> struct hash <winrt::Windows::Services::Store::IStorePackageUpdateResult> : winrt::impl::hash_base {};
29333030 template <> struct hash <winrt::Windows::Services::Store::IStorePackageUpdateResult2> : winrt::impl::hash_base {};
29343031 template <> struct hash <winrt::Windows::Services::Store::IStorePrice> : winrt::impl::hash_base {};
3032+ template <> struct hash <winrt::Windows::Services::Store::IStorePrice2> : winrt::impl::hash_base {};
29353033 template <> struct hash <winrt::Windows::Services::Store::IStoreProduct> : winrt::impl::hash_base {};
29363034 template <> struct hash <winrt::Windows::Services::Store::IStoreProductOptions> : winrt::impl::hash_base {};
29373035 template <> struct hash <winrt::Windows::Services::Store::IStoreProductPagedQueryResult> : winrt::impl::hash_base {};
0 commit comments