Updating the winrt headers

After this C/L you must update your Windows SDK to 10.0.20348.0 in order to build on Visual Studio

PiperOrigin-RevId: 393786833
This commit is contained in:
jfcarroll
2021-08-30 09:22:59 -07:00
committed by Copybara-Service
parent 8e2f2da45d
commit 9f8d186e42
107 changed files with 6826 additions and 94 deletions
@@ -276,6 +276,10 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->put_CloseModelOnSessionCreation(value));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3<D>::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3)->OverrideNamedDimension(*(void**)(&name), dimension));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const
{
void* operation{};
@@ -1351,6 +1355,19 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3> : produce_base<D, winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>
{
int32_t __stdcall OverrideNamedDimension(void* name, uint32_t dimension) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().OverrideNamedDimension(*reinterpret_cast<hstring const*>(&name), dimension);
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::AI::MachineLearning::ILearningModelStatics> : produce_base<D, winrt::Windows::AI::MachineLearning::ILearningModelStatics>
@@ -2847,6 +2864,7 @@ namespace std
template<> struct hash<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::AI::MachineLearning::ILearningModelStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor> : winrt::impl::hash_base {};
@@ -39,6 +39,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry3)->LaunchForUserAsync(*(void**)(&user), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_Core_IAppListEntry4<D>::AppInfo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry4)->get_AppInfo(&value));
return winrt::Windows::ApplicationModel::AppInfo{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Id() const
{
void* value{};
@@ -457,6 +463,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::Core::IAppListEntry4> : produce_base<D, winrt::Windows::ApplicationModel::Core::IAppListEntry4>
{
int32_t __stdcall get_AppInfo(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::ApplicationModel::AppInfo>(this->shim().AppInfo());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::Core::ICoreApplication> : produce_base<D, winrt::Windows::ApplicationModel::Core::ICoreApplication>
@@ -1188,6 +1208,7 @@ namespace std
template<> struct hash<winrt::Windows::ApplicationModel::Core::IAppListEntry> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Core::IAppListEntry2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Core::IAppListEntry3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Core::IAppListEntry4> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Core::ICoreApplication> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Core::ICoreApplication2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Core::ICoreApplication3> : winrt::impl::hash_base {};
@@ -695,9 +695,9 @@ namespace winrt::impl
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral) consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::GetDeferral() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->GetDeferral(&value));
return winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral{ value, take_ownership_from_abi };
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->GetDeferral(&result));
return winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral<D>::Complete() const
{
@@ -709,33 +709,33 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequestedEventArgs)->get_Request(&value));
return winrt::Windows::ApplicationModel::DataTransfer::DataRequest{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& eventHandler) const
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const
{
winrt::event_token eventCookie{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_DataRequested(*(void**)(&eventHandler), put_abi(eventCookie)));
return eventCookie;
winrt::event_token token{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_DataRequested(*(void**)(&handler), put_abi(token)));
return token;
}
template <typename D> typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& eventHandler) const
template <typename D> typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DataRequested_revoker>(this, DataRequested(eventHandler));
return impl::make_event_revoker<D, DataRequested_revoker>(this, DataRequested(handler));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::event_token const& eventCookie) const noexcept
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::event_token const& token) const noexcept
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_DataRequested(impl::bind_in(eventCookie)));
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_DataRequested(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& eventHandler) const
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const
{
winrt::event_token eventCookie{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_TargetApplicationChosen(*(void**)(&eventHandler), put_abi(eventCookie)));
return eventCookie;
winrt::event_token token{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->add_TargetApplicationChosen(*(void**)(&handler), put_abi(token)));
return token;
}
template <typename D> typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& eventHandler) const
template <typename D> typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TargetApplicationChosen_revoker>(this, TargetApplicationChosen(eventHandler));
return impl::make_event_revoker<D, TargetApplicationChosen_revoker>(this, TargetApplicationChosen(handler));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::event_token const& eventCookie) const noexcept
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::event_token const& token) const noexcept
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_TargetApplicationChosen(impl::bind_in(eventCookie)));
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_TargetApplicationChosen(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> const& handler) const
{
@@ -757,15 +757,15 @@ namespace winrt::impl
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics<D>::GetForCurrentView() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics)->GetForCurrentView(&value));
return winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager{ value, take_ownership_from_abi };
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics)->GetForCurrentView(&result));
return winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2)->IsSupported(&value));
return value;
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2)->IsSupported(&result));
return result;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics3<D>::ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const
{
@@ -865,9 +865,9 @@ namespace winrt::impl
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs<D>::GetDeferral() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->GetDeferral(&value));
return winrt::Windows::Foundation::Deferral{ value, take_ownership_from_abi };
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->GetDeferral(&result));
return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo<D>::AppUserModelId() const
{
@@ -2064,11 +2064,11 @@ namespace winrt::impl
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall GetDeferral(void** value) noexcept final try
int32_t __stdcall GetDeferral(void** result) noexcept final try
{
clear_abi(value);
clear_abi(result);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral>(this->shim().GetDeferral());
*result = detach_from<winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral>(this->shim().GetDeferral());
return 0;
}
catch (...) { return to_hresult(); }
@@ -2105,32 +2105,32 @@ namespace winrt::impl
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager> : produce_base<D, winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager>
{
int32_t __stdcall add_DataRequested(void* eventHandler, winrt::event_token* eventCookie) noexcept final try
int32_t __stdcall add_DataRequested(void* handler, winrt::event_token* token) noexcept final try
{
zero_abi<winrt::event_token>(eventCookie);
zero_abi<winrt::event_token>(token);
typename D::abi_guard guard(this->shim());
*eventCookie = detach_from<winrt::event_token>(this->shim().DataRequested(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const*>(&eventHandler)));
*token = detach_from<winrt::event_token>(this->shim().DataRequested(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const*>(&handler)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall remove_DataRequested(winrt::event_token eventCookie) noexcept final
int32_t __stdcall remove_DataRequested(winrt::event_token token) noexcept final
{
typename D::abi_guard guard(this->shim());
this->shim().DataRequested(*reinterpret_cast<winrt::event_token const*>(&eventCookie));
this->shim().DataRequested(*reinterpret_cast<winrt::event_token const*>(&token));
return 0;
}
int32_t __stdcall add_TargetApplicationChosen(void* eventHandler, winrt::event_token* eventCookie) noexcept final try
int32_t __stdcall add_TargetApplicationChosen(void* handler, winrt::event_token* token) noexcept final try
{
zero_abi<winrt::event_token>(eventCookie);
zero_abi<winrt::event_token>(token);
typename D::abi_guard guard(this->shim());
*eventCookie = detach_from<winrt::event_token>(this->shim().TargetApplicationChosen(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const*>(&eventHandler)));
*token = detach_from<winrt::event_token>(this->shim().TargetApplicationChosen(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const*>(&handler)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall remove_TargetApplicationChosen(winrt::event_token eventCookie) noexcept final
int32_t __stdcall remove_TargetApplicationChosen(winrt::event_token token) noexcept final
{
typename D::abi_guard guard(this->shim());
this->shim().TargetApplicationChosen(*reinterpret_cast<winrt::event_token const*>(&eventCookie));
this->shim().TargetApplicationChosen(*reinterpret_cast<winrt::event_token const*>(&token));
return 0;
}
};
@@ -2166,11 +2166,11 @@ namespace winrt::impl
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall GetForCurrentView(void** value) noexcept final try
int32_t __stdcall GetForCurrentView(void** result) noexcept final try
{
clear_abi(value);
clear_abi(result);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager>(this->shim().GetForCurrentView());
*result = detach_from<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager>(this->shim().GetForCurrentView());
return 0;
}
catch (...) { return to_hresult(); }
@@ -2180,10 +2180,10 @@ namespace winrt::impl
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2> : produce_base<D, winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2>
{
int32_t __stdcall IsSupported(bool* value) noexcept final try
int32_t __stdcall IsSupported(bool* result) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().IsSupported());
*result = detach_from<bool>(this->shim().IsSupported());
return 0;
}
catch (...) { return to_hresult(); }
@@ -2373,11 +2373,11 @@ namespace winrt::impl
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall GetDeferral(void** value) noexcept final try
int32_t __stdcall GetDeferral(void** result) noexcept final try
{
clear_abi(value);
clear_abi(result);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Deferral>(this->shim().GetDeferral());
*result = detach_from<winrt::Windows::Foundation::Deferral>(this->shim().GetDeferral());
return 0;
}
catch (...) { return to_hresult(); }
@@ -65,6 +65,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3)->GetForUIContext(*(void**)(&context), &result));
return winrt::Windows::ApplicationModel::Resources::ResourceLoader{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4<D>::GetDefaultPriPath(param::hstring const& packageFullName) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4)->GetDefaultPriPath(*(void**)(&packageFullName), &value));
return hstring{ value, take_ownership_from_abi };
}
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::Resources::IResourceLoader> : produce_base<D, winrt::Windows::ApplicationModel::Resources::IResourceLoader>
@@ -173,6 +179,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4> : produce_base<D, winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4>
{
int32_t __stdcall GetDefaultPriPath(void* packageFullName, void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().GetDefaultPriPath(*reinterpret_cast<hstring const*>(&packageFullName)));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
}
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources
{
@@ -208,6 +228,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources
{
return impl::call_factory<ResourceLoader, IResourceLoaderStatics3>([&](IResourceLoaderStatics3 const& f) { return f.GetForUIContext(context); });
}
inline auto ResourceLoader::GetDefaultPriPath(param::hstring const& packageFullName)
{
return impl::call_factory<ResourceLoader, IResourceLoaderStatics4>([&](IResourceLoaderStatics4 const& f) { return f.GetDefaultPriPath(packageFullName); });
}
}
namespace std
{
@@ -218,6 +242,7 @@ namespace std
template<> struct hash<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::Resources::ResourceLoader> : winrt::impl::hash_base {};
#endif
}
@@ -63,6 +63,19 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo2)->get_Package(&value));
return winrt::Windows::ApplicationModel::Package{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) consume_Windows_ApplicationModel_IAppInfo3<D>::ExecutionContext() const
{
winrt::Windows::ApplicationModel::AppExecutionContext value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo3)->get_ExecutionContext(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(com_array<hstring>) consume_Windows_ApplicationModel_IAppInfo4<D>::SupportedFileExtensions() const
{
uint32_t value_impl_size{};
void** value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo4)->get_SupportedFileExtensions(&value_impl_size, &value));
return com_array<hstring>{ value, value_impl_size, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics<D>::Current() const
{
void* value{};
@@ -1123,6 +1136,34 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::IAppInfo3> : produce_base<D, winrt::Windows::ApplicationModel::IAppInfo3>
{
int32_t __stdcall get_ExecutionContext(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::ApplicationModel::AppExecutionContext>(this->shim().ExecutionContext());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::IAppInfo4> : produce_base<D, winrt::Windows::ApplicationModel::IAppInfo4>
{
int32_t __stdcall get_SupportedFileExtensions(uint32_t* __valueSize, void*** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
std::tie(*__valueSize, *value) = detach_abi(this->shim().SupportedFileExtensions());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::IAppInfoStatics> : produce_base<D, winrt::Windows::ApplicationModel::IAppInfoStatics>
{
@@ -1151,6 +1192,7 @@ namespace winrt::impl
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::ApplicationModel::IAppInstallerInfo> : produce_base<D, winrt::Windows::ApplicationModel::IAppInstallerInfo>
@@ -2774,6 +2816,8 @@ namespace std
template<> struct hash<winrt::Windows::ApplicationModel::IAppDisplayInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::IAppInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::IAppInfo2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::IAppInfo3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::IAppInfo4> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::IAppInfoStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::IAppInstallerInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::ApplicationModel::IAppInstance> : winrt::impl::hash_base {};
@@ -203,6 +203,18 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_VerticalDilutionOfPrecision(&ppValue));
return winrt::Windows::Foundation::IReference<double>{ ppValue, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2<D>::GeometricDilutionOfPrecision() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_GeometricDilutionOfPrecision(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2<D>::TimeDilutionOfPrecision() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_TimeDilutionOfPrecision(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint<D>::Point() const
{
void* value{};
@@ -821,6 +833,28 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2> : produce_base<D, winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>
{
int32_t __stdcall get_GeometricDilutionOfPrecision(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<double>>(this->shim().GeometricDilutionOfPrecision());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_TimeDilutionOfPrecision(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<double>>(this->shim().TimeDilutionOfPrecision());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint> : produce_base<D, winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint>
@@ -1482,6 +1516,7 @@ namespace std
template<> struct hash<winrt::Windows::Devices::Geolocation::IGeocircleFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Devices::Geolocation::IGeocoordinate> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp> : winrt::impl::hash_base {};
@@ -10,7 +10,9 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210505.3"), "Mismatche
#include "winrt/impl/Windows.Graphics.2.h"
#include "winrt/impl/Windows.Graphics.DirectX.2.h"
#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h"
#include "winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h"
#include "winrt/impl/Windows.System.2.h"
#include "winrt/impl/Windows.UI.2.h"
#include "winrt/impl/Windows.UI.Composition.2.h"
#include "winrt/impl/Windows.Graphics.Capture.2.h"
namespace winrt::impl
@@ -81,6 +83,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2)->CreateFreeThreaded(*(void**)(&device), static_cast<int32_t>(pixelFormat), numberOfBuffers, impl::bind_in(size), &result));
return winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>) consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics<D>::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics)->RequestAccessAsync(static_cast<int32_t>(request), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::DisplayName() const
{
void* value{};
@@ -113,6 +121,18 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics)->CreateFromVisual(*(void**)(&visual), &result));
return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2<D>::TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2)->TryCreateFromWindowId(impl::bind_in(windowId), &result));
return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2<D>::TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2)->TryCreateFromDisplayId(impl::bind_in(displayId), &result));
return winrt::Windows::Graphics::Capture::GraphicsCaptureItem{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>) consume_Windows_Graphics_Capture_IGraphicsCapturePicker<D>::PickSingleItemAsync() const
{
void* operation{};
@@ -133,6 +153,16 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2)->put_IsCursorCaptureEnabled(value));
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3<D>::IsBorderRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->get_IsBorderRequired(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3<D>::IsBorderRequired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->put_IsBorderRequired(value));
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics<D>::IsSupported() const
{
bool result{};
@@ -248,6 +278,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics> : produce_base<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics>
{
int32_t __stdcall RequestAccessAsync(int32_t request, void** operation) noexcept final try
{
clear_abi(operation);
typename D::abi_guard guard(this->shim());
*operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>>(this->shim().RequestAccessAsync(*reinterpret_cast<winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const*>(&request)));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureItem> : produce_base<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureItem>
@@ -298,6 +342,28 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2> : produce_base<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2>
{
int32_t __stdcall TryCreateFromWindowId(struct struct_Windows_UI_WindowId windowId, void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>(this->shim().TryCreateFromWindowId(*reinterpret_cast<winrt::Windows::UI::WindowId const*>(&windowId)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall TryCreateFromDisplayId(struct struct_Windows_Graphics_DisplayId displayId, void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>(this->shim().TryCreateFromDisplayId(*reinterpret_cast<winrt::Windows::Graphics::DisplayId const*>(&displayId)));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Capture::IGraphicsCapturePicker> : produce_base<D, winrt::Windows::Graphics::Capture::IGraphicsCapturePicker>
@@ -345,6 +411,26 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3> : produce_base<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3>
{
int32_t __stdcall get_IsBorderRequired(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().IsBorderRequired());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_IsBorderRequired(bool value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().IsBorderRequired(value);
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics> : produce_base<D, winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics>
@@ -369,10 +455,22 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
{
return impl::call_factory<Direct3D11CaptureFramePool, IDirect3D11CaptureFramePoolStatics2>([&](IDirect3D11CaptureFramePoolStatics2 const& f) { return f.CreateFreeThreaded(device, pixelFormat, numberOfBuffers, size); });
}
inline auto GraphicsCaptureAccess::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request)
{
return impl::call_factory<GraphicsCaptureAccess, IGraphicsCaptureAccessStatics>([&](IGraphicsCaptureAccessStatics const& f) { return f.RequestAccessAsync(request); });
}
inline auto GraphicsCaptureItem::CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual)
{
return impl::call_factory<GraphicsCaptureItem, IGraphicsCaptureItemStatics>([&](IGraphicsCaptureItemStatics const& f) { return f.CreateFromVisual(visual); });
}
inline auto GraphicsCaptureItem::TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId)
{
return impl::call_factory<GraphicsCaptureItem, IGraphicsCaptureItemStatics2>([&](IGraphicsCaptureItemStatics2 const& f) { return f.TryCreateFromWindowId(windowId); });
}
inline auto GraphicsCaptureItem::TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId)
{
return impl::call_factory<GraphicsCaptureItem, IGraphicsCaptureItemStatics2>([&](IGraphicsCaptureItemStatics2 const& f) { return f.TryCreateFromDisplayId(displayId); });
}
inline GraphicsCapturePicker::GraphicsCapturePicker() :
GraphicsCapturePicker(impl::call_factory_cast<GraphicsCapturePicker(*)(winrt::Windows::Foundation::IActivationFactory const&), GraphicsCapturePicker>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<GraphicsCapturePicker>(); }))
{
@@ -389,14 +487,18 @@ namespace std
template<> struct hash<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCapturePicker> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::GraphicsCaptureAccess> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::GraphicsCaptureItem> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::GraphicsCapturePicker> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Capture::GraphicsCaptureSession> : winrt::impl::hash_base {};
@@ -8,6 +8,7 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210505.3"), "Mismatche
#include "winrt/Windows.Graphics.h"
#include "winrt/impl/Windows.Foundation.2.h"
#include "winrt/impl/Windows.Foundation.Collections.2.h"
#include "winrt/impl/Windows.Graphics.2.h"
#include "winrt/impl/Windows.Storage.Streams.2.h"
#include "winrt/impl/Windows.Graphics.Display.2.h"
namespace winrt::impl
@@ -632,6 +633,13 @@ namespace winrt::impl
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_DisplayContentsInvalidated(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Graphics::DisplayId>) consume_Windows_Graphics_Display_IDisplayServicesStatics<D>::FindAll() const
{
uint32_t result_impl_size{};
struct struct_Windows_Graphics_DisplayId* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayServicesStatics)->FindAll(&result_impl_size, &result));
return com_array<winrt::Windows::Graphics::DisplayId>{ result, result_impl_size, take_ownership_from_abi };
}
template <typename H> struct delegate<winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler, H> final : implements_delegate<winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler, H>
{
delegate(H&& handler) : implements_delegate<winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler, H>(std::forward<H>(handler)) {}
@@ -1480,6 +1488,26 @@ namespace winrt::impl
}
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Display::IDisplayServices> : produce_base<D, winrt::Windows::Graphics::Display::IDisplayServices>
{
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Display::IDisplayServicesStatics> : produce_base<D, winrt::Windows::Graphics::Display::IDisplayServicesStatics>
{
int32_t __stdcall FindAll(uint32_t* __resultSize, struct struct_Windows_Graphics_DisplayId** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
std::tie(*__resultSize, *result) = detach_abi(this->shim().FindAll());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
}
WINRT_EXPORT namespace winrt::Windows::Graphics::Display
{
@@ -1699,6 +1727,10 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display
{
impl::call_factory<DisplayProperties, IDisplayPropertiesStatics>([&](IDisplayPropertiesStatics const& f) { return f.DisplayContentsInvalidated(token); });
}
inline auto DisplayServices::FindAll()
{
return impl::call_factory_cast<com_array<winrt::Windows::Graphics::DisplayId>(*)(IDisplayServicesStatics const&), DisplayServices, IDisplayServicesStatics>([](IDisplayServicesStatics const& f) { return f.FindAll(); });
}
template <typename L> DisplayPropertiesEventHandler::DisplayPropertiesEventHandler(L handler) :
DisplayPropertiesEventHandler(impl::make_delegate<DisplayPropertiesEventHandler>(std::forward<L>(handler)))
{
@@ -1745,6 +1777,8 @@ namespace std
template<> struct hash<winrt::Windows::Graphics::Display::IDisplayInformation5> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::IDisplayInformationStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::IDisplayServices> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::IDisplayServicesStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::AdvancedColorInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::BrightnessOverride> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::BrightnessOverrideSettings> : winrt::impl::hash_base {};
@@ -1754,6 +1788,7 @@ namespace std
template<> struct hash<winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::DisplayInformation> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::DisplayProperties> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Display::DisplayServices> : winrt::impl::hash_base {};
#endif
}
#endif
@@ -229,6 +229,16 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3)->put_IsContentProtectionEnabled(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4<D>::DepthReprojectionMethod() const
{
winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->get_DepthReprojectionMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4<D>::DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->put_DepthReprojectionMethod(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Foundation::Numerics::float2>) consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters<D>::HiddenAreaMesh() const
{
uint32_t value_impl_size{};
@@ -743,6 +753,12 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->put_IsEnabled(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2<D>::SupportedDepthReprojectionMethods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2)->get_SupportedDepthReprojectionMethods(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>{ value, take_ownership_from_abi };
}
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Holographic::IHolographicCamera> : produce_base<D, winrt::Windows::Graphics::Holographic::IHolographicCamera>
@@ -1103,6 +1119,26 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4> : produce_base<D, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>
{
int32_t __stdcall get_DepthReprojectionMethod(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>(this->shim().DepthReprojectionMethod());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_DepthReprojectionMethod(int32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().DepthReprojectionMethod(*reinterpret_cast<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters> : produce_base<D, winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters>
@@ -1929,6 +1965,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2> : produce_base<D, winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>
{
int32_t __stdcall get_SupportedDepthReprojectionMethods(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>>(this->shim().SupportedDepthReprojectionMethods());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
}
WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
{
@@ -1988,6 +2038,7 @@ namespace std
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicDisplay> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicDisplay2> : winrt::impl::hash_base {};
@@ -2015,6 +2066,7 @@ namespace std
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::HolographicCamera> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::HolographicCameraPose> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Graphics::Holographic::HolographicCameraRenderingParameters> : winrt::impl::hash_base {};
@@ -1612,6 +1612,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics)->get_DTSXUltra(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2<D>::DTSXForHomeTheater() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2)->get_DTSXForHomeTheater(&value));
return hstring{ value, take_ownership_from_abi };
}
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Audio::IAudioDeviceInputNode> : produce_base<D, winrt::Windows::Media::Audio::IAudioDeviceInputNode>
@@ -4116,6 +4122,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2> : produce_base<D, winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2>
{
int32_t __stdcall get_DTSXForHomeTheater(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().DTSXForHomeTheater());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
}
WINRT_EXPORT namespace winrt::Windows::Media::Audio
{
@@ -4274,6 +4294,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio
{
return impl::call_factory_cast<hstring(*)(ISpatialAudioFormatSubtypeStatics const&), SpatialAudioFormatSubtype, ISpatialAudioFormatSubtypeStatics>([](ISpatialAudioFormatSubtypeStatics const& f) { return f.DTSXUltra(); });
}
inline auto SpatialAudioFormatSubtype::DTSXForHomeTheater()
{
return impl::call_factory_cast<hstring(*)(ISpatialAudioFormatSubtypeStatics2 const&), SpatialAudioFormatSubtype, ISpatialAudioFormatSubtypeStatics2>([](ISpatialAudioFormatSubtypeStatics2 const& f) { return f.DTSXForHomeTheater(); });
}
}
namespace std
{
@@ -4342,6 +4366,7 @@ namespace std
template<> struct hash<winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Audio::ISpatialAudioFormatConfigurationStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Audio::AudioDeviceInputNode> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Audio::AudioDeviceOutputNode> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Audio::AudioFileInputNode> : winrt::impl::hash_base {};
@@ -2008,6 +2008,36 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackProvider)->get_TimedMetadataTracks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::TimedMetadataTrack>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenType) consume_Windows_Media_Core_ITimedTextBouten<D>::Type() const
{
winrt::Windows::Media::Core::TimedTextBoutenType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten<D>::Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Type(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextBouten<D>::Color() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Color(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten<D>::Color(winrt::Windows::UI::Color const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Color(impl::bind_in(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenPosition) consume_Windows_Media_Core_ITimedTextBouten<D>::Position() const
{
winrt::Windows::Media::Core::TimedTextBoutenPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Position(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten<D>::Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Position(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRegion) consume_Windows_Media_Core_ITimedTextCue<D>::CueRegion() const
{
void* value{};
@@ -2170,6 +2200,46 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_ScrollMode(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextRuby<D>::Text() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Text(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Text(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyPosition) consume_Windows_Media_Core_ITimedTextRuby<D>::Position() const
{
winrt::Windows::Media::Core::TimedTextRubyPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Position(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Position(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyAlign) consume_Windows_Media_Core_ITimedTextRuby<D>::Align() const
{
winrt::Windows::Media::Core::TimedTextRubyAlign value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Align(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Align(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyReserve) consume_Windows_Media_Core_ITimedTextRuby<D>::Reserve() const
{
winrt::Windows::Media::Core::TimedTextRubyReserve value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Reserve(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Reserve(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedTextSource<D>::Resolved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const
{
winrt::event_token token{};
@@ -2404,6 +2474,38 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsOverlineEnabled(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRuby) consume_Windows_Media_Core_ITimedTextStyle3<D>::Ruby() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_Ruby(&value));
return winrt::Windows::Media::Core::TimedTextRuby{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBouten) consume_Windows_Media_Core_ITimedTextStyle3<D>::Bouten() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_Bouten(&value));
return winrt::Windows::Media::Core::TimedTextBouten{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle3<D>::IsTextCombined() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_IsTextCombined(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3<D>::IsTextCombined(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_IsTextCombined(value));
}
template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Core_ITimedTextStyle3<D>::FontAngleInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_FontAngleInDegrees(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3<D>::FontAngleInDegrees(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_FontAngleInDegrees(value));
}
template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextSubformat<D>::StartIndex() const
{
int32_t value{};
@@ -5650,6 +5752,55 @@ namespace winrt::impl
}
catch (...) { return to_hresult(); }
};
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Core::ITimedTextBouten> : produce_base<D, winrt::Windows::Media::Core::ITimedTextBouten>
{
int32_t __stdcall get_Type(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Core::TimedTextBoutenType>(this->shim().Type());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Type(int32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Type(*reinterpret_cast<winrt::Windows::Media::Core::TimedTextBoutenType const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Color(struct struct_Windows_UI_Color* value) noexcept final try
{
zero_abi<winrt::Windows::UI::Color>(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::UI::Color>(this->shim().Color());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Color(struct struct_Windows_UI_Color value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Color(*reinterpret_cast<winrt::Windows::UI::Color const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Position(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Core::TimedTextBoutenPosition>(this->shim().Position());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Position(int32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Position(*reinterpret_cast<winrt::Windows::Media::Core::TimedTextBoutenPosition const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Core::ITimedTextCue> : produce_base<D, winrt::Windows::Media::Core::ITimedTextCue>
@@ -5903,6 +6054,69 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Core::ITimedTextRuby> : produce_base<D, winrt::Windows::Media::Core::ITimedTextRuby>
{
int32_t __stdcall get_Text(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().Text());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Text(void* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Text(*reinterpret_cast<hstring const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Position(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Core::TimedTextRubyPosition>(this->shim().Position());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Position(int32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Position(*reinterpret_cast<winrt::Windows::Media::Core::TimedTextRubyPosition const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Align(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Core::TimedTextRubyAlign>(this->shim().Align());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Align(int32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Align(*reinterpret_cast<winrt::Windows::Media::Core::TimedTextRubyAlign const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Reserve(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Core::TimedTextRubyReserve>(this->shim().Reserve());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Reserve(int32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Reserve(*reinterpret_cast<winrt::Windows::Media::Core::TimedTextRubyReserve const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Core::ITimedTextSource> : produce_base<D, winrt::Windows::Media::Core::ITimedTextSource>
@@ -6265,6 +6479,56 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Core::ITimedTextStyle3> : produce_base<D, winrt::Windows::Media::Core::ITimedTextStyle3>
{
int32_t __stdcall get_Ruby(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Core::TimedTextRuby>(this->shim().Ruby());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Bouten(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Core::TimedTextBouten>(this->shim().Bouten());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_IsTextCombined(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().IsTextCombined());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_IsTextCombined(bool value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().IsTextCombined(value);
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_FontAngleInDegrees(double* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<double>(this->shim().FontAngleInDegrees());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_FontAngleInDegrees(double value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().FontAngleInDegrees(value);
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Core::ITimedTextSubformat> : produce_base<D, winrt::Windows::Media::Core::ITimedTextSubformat>
@@ -6987,15 +7251,18 @@ namespace std
template<> struct hash<winrt::Windows::Media::Core::ITimedMetadataTrackFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedMetadataTrackProvider> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextBouten> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextCue> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextLine> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextRegion> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextRuby> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextSource> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextSourceStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextSourceStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextStyle> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextStyle2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextStyle3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::ITimedTextSubformat> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::IVideoStabilizationEffect> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs> : winrt::impl::hash_base {};
@@ -7060,9 +7327,11 @@ namespace std
template<> struct hash<winrt::Windows::Media::Core::TimedMetadataTrack> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedMetadataTrackError> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextBouten> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextCue> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextLine> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextRegion> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextRuby> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextSource> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Core::TimedTextStyle> : winrt::impl::hash_base {};
@@ -234,6 +234,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8)->get_PanelBasedOptimizationControl(&value));
return winrt::Windows::Media::Devices::PanelBasedOptimizationControl{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9<D>::DigitalWindowControl() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9)->get_DigitalWindowControl(&value));
return winrt::Windows::Media::Devices::DigitalWindowControl{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceController<D>::Muted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->put_Muted(value));
@@ -478,6 +484,117 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDialRequestedEventArgs)->get_Contact(&value));
return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginTop() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginTop(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginTop(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginTop(value));
}
template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginLeft() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginLeft(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginLeft(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginLeft(value));
}
template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::Scale() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_Scale(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::Scale(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_Scale(value));
}
template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::Width() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Width(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::Height() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Height(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MinScaleValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValue(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MaxScaleValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MaxScaleValue(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MinScaleValueWithoutUpsampling() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValueWithoutUpsampling(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::NormalizedFieldOfViewLimit() const
{
winrt::Windows::Foundation::Rect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_NormalizedFieldOfViewLimit(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IDigitalWindowControl<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_IsSupported(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Media::Devices::DigitalWindowMode>) consume_Windows_Media_Devices_IDigitalWindowControl<D>::SupportedModes() const
{
uint32_t value_impl_size{};
int32_t* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_SupportedModes(&value_impl_size, &value));
return com_array<winrt::Windows::Media::Devices::DigitalWindowMode>{ value, value_impl_size, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowMode) consume_Windows_Media_Devices_IDigitalWindowControl<D>::CurrentMode() const
{
winrt::Windows::Media::Devices::DigitalWindowMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_CurrentMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowBounds) consume_Windows_Media_Devices_IDigitalWindowControl<D>::GetBounds() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->GetBounds(&result));
return winrt::Windows::Media::Devices::DigitalWindowBounds{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl<D>::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->Configure(static_cast<int32_t>(digitalWindowMode)));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl<D>::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->ConfigureWithBounds(static_cast<int32_t>(digitalWindowMode), *(void**)(&digitalWindowBounds)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::DigitalWindowCapability>) consume_Windows_Media_Devices_IDigitalWindowControl<D>::SupportedCapabilities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_SupportedCapabilities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::DigitalWindowCapability>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowCapability) consume_Windows_Media_Devices_IDigitalWindowControl<D>::GetCapabilityForSize(int32_t width, int32_t height) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->GetCapabilityForSize(width, height, &result));
return winrt::Windows::Media::Devices::DigitalWindowCapability{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureCompensationControl<D>::Supported() const
{
bool value{};
@@ -2124,6 +2241,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9> : produce_base<D, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9>
{
int32_t __stdcall get_DigitalWindowControl(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Devices::DigitalWindowControl>(this->shim().DigitalWindowControl());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Devices::IAudioDeviceController> : produce_base<D, winrt::Windows::Media::Devices::IAudioDeviceController>
@@ -2468,6 +2599,169 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Devices::IDigitalWindowBounds> : produce_base<D, winrt::Windows::Media::Devices::IDigitalWindowBounds>
{
int32_t __stdcall get_NormalizedOriginTop(double* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<double>(this->shim().NormalizedOriginTop());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_NormalizedOriginTop(double value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().NormalizedOriginTop(value);
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_NormalizedOriginLeft(double* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<double>(this->shim().NormalizedOriginLeft());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_NormalizedOriginLeft(double value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().NormalizedOriginLeft(value);
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Scale(double* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<double>(this->shim().Scale());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_Scale(double value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Scale(value);
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Devices::IDigitalWindowCapability> : produce_base<D, winrt::Windows::Media::Devices::IDigitalWindowCapability>
{
int32_t __stdcall get_Width(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<int32_t>(this->shim().Width());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Height(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<int32_t>(this->shim().Height());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_MinScaleValue(double* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<double>(this->shim().MinScaleValue());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_MaxScaleValue(double* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<double>(this->shim().MaxScaleValue());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_MinScaleValueWithoutUpsampling(double* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<double>(this->shim().MinScaleValueWithoutUpsampling());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_NormalizedFieldOfViewLimit(winrt::Windows::Foundation::Rect* value) noexcept final try
{
zero_abi<winrt::Windows::Foundation::Rect>(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Rect>(this->shim().NormalizedFieldOfViewLimit());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Devices::IDigitalWindowControl> : produce_base<D, winrt::Windows::Media::Devices::IDigitalWindowControl>
{
int32_t __stdcall get_IsSupported(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().IsSupported());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_SupportedModes(uint32_t* __valueSize, int32_t** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
std::tie(*__valueSize, *value) = detach_abi(this->shim().SupportedModes());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_CurrentMode(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Media::Devices::DigitalWindowMode>(this->shim().CurrentMode());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall GetBounds(void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Media::Devices::DigitalWindowBounds>(this->shim().GetBounds());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall Configure(int32_t digitalWindowMode) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Configure(*reinterpret_cast<winrt::Windows::Media::Devices::DigitalWindowMode const*>(&digitalWindowMode));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall ConfigureWithBounds(int32_t digitalWindowMode, void* digitalWindowBounds) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Configure(*reinterpret_cast<winrt::Windows::Media::Devices::DigitalWindowMode const*>(&digitalWindowMode), *reinterpret_cast<winrt::Windows::Media::Devices::DigitalWindowBounds const*>(&digitalWindowBounds));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_SupportedCapabilities(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::DigitalWindowCapability>>(this->shim().SupportedCapabilities());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall GetCapabilityForSize(int32_t width, int32_t height, void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Media::Devices::DigitalWindowCapability>(this->shim().GetCapabilityForSize(width, height));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Media::Devices::IExposureCompensationControl> : produce_base<D, winrt::Windows::Media::Devices::IExposureCompensationControl>
@@ -4317,6 +4611,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
{
return impl::call_factory<CallControl, ICallControlStatics>([&](ICallControlStatics const& f) { return f.FromId(deviceId); });
}
inline DigitalWindowBounds::DigitalWindowBounds() :
DigitalWindowBounds(impl::call_factory_cast<DigitalWindowBounds(*)(winrt::Windows::Foundation::IActivationFactory const&), DigitalWindowBounds>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<DigitalWindowBounds>(); }))
{
}
inline FocusSettings::FocusSettings() :
FocusSettings(impl::call_factory_cast<FocusSettings(*)(winrt::Windows::Foundation::IActivationFactory const&), FocusSettings>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<FocusSettings>(); }))
{
@@ -4485,6 +4783,7 @@ namespace std
template<> struct hash<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IAudioDeviceController> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IAudioDeviceModule> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs> : winrt::impl::hash_base {};
@@ -4494,6 +4793,9 @@ namespace std
template<> struct hash<winrt::Windows::Media::Devices::ICallControlStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IDialRequestedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IDigitalWindowBounds> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IDigitalWindowCapability> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IDigitalWindowControl> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IExposureCompensationControl> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IExposureControl> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::IExposurePriorityVideoControl> : winrt::impl::hash_base {};
@@ -4540,6 +4842,9 @@ namespace std
template<> struct hash<winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::DialRequestedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::DigitalWindowBounds> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::DigitalWindowCapability> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::DigitalWindowControl> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::ExposureCompensationControl> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::ExposureControl> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Media::Devices::ExposurePriorityVideoControl> : winrt::impl::hash_base {};
@@ -981,6 +981,60 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TrackingAreaCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int64_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::CellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_CellId(&value));
return winrt::Windows::Foundation::IReference<int64_t>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ChannelNumber() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ChannelNumber(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::PhysicalCellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_PhysicalCellId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ProviderId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ProviderId(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ReferenceSignalReceivedPowerInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedPowerInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ReferenceSignalReceivedQualityInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedQualityInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::TimingAdvanceInNanoseconds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TimingAdvanceInNanoseconds(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::TrackingAreaCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TrackingAreaCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::SignalToNoiseRatioInDB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_SignalToNoiseRatioInDB(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::CellId() const
{
void* value{};
@@ -1137,6 +1191,24 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsUmts(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2<D>::NeighboringCellsNR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_NeighboringCellsNR(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2<D>::ServingCellsNR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_ServingCellsNR(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs<D>::CurrentSlotIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs)->get_CurrentSlotIndex(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::NetworkDeviceStatus() const
{
winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus value{};
@@ -1257,6 +1329,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3)->get_SimGid1(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4<D>::SlotManager() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4)->get_SlotManager(&value));
return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::DeviceServiceId() const
{
winrt::guid value{};
@@ -1885,6 +1963,76 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StopTransmissionStateMonitoring());
}
template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo<D>::Index() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_Index(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo<D>::State() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs<D>::SlotInfo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs)->get_SlotInfo(&value));
return winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_SlotInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_CurrentSlotIndex(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SetCurrentSlot(int32_t slotIndex) const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlot(slotIndex, reinterpret_cast<int32_t*>(&result)));
return result;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SetCurrentSlotAsync(int32_t slotIndex) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->SetCurrentSlotAsync(slotIndex, &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const
{
winrt::event_token token{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_SlotInfoChanged(*(void**)(&handler), put_abi(token)));
return token;
}
template <typename D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SlotInfoChanged_revoker>(this, SlotInfoChanged(handler));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(winrt::event_token const& token) const noexcept
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_SlotInfoChanged(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const
{
winrt::event_token token{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->add_CurrentSlotIndexChanged(*(void**)(&handler), put_abi(token)));
return token;
}
template <typename D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CurrentSlotIndexChanged_revoker>(this, CurrentSlotIndexChanged(handler));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_CurrentSlotIndexChanged(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs<D>::IsTransmitting() const
{
bool value{};
@@ -3770,6 +3918,84 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR>
{
int32_t __stdcall get_CellId(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<int64_t>>(this->shim().CellId());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ChannelNumber(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<int32_t>>(this->shim().ChannelNumber());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_PhysicalCellId(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<int32_t>>(this->shim().PhysicalCellId());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ProviderId(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().ProviderId());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<double>>(this->shim().ReferenceSignalReceivedPowerInDBm());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<double>>(this->shim().ReferenceSignalReceivedQualityInDBm());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_TimingAdvanceInNanoseconds(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<int32_t>>(this->shim().TimingAdvanceInNanoseconds());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_TrackingAreaCode(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<int32_t>>(this->shim().TrackingAreaCode());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_SignalToNoiseRatioInDB(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::IReference<double>>(this->shim().SignalToNoiseRatioInDB());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma>
@@ -3996,6 +4222,41 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2>
{
int32_t __stdcall get_NeighboringCellsNR(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>>(this->shim().NeighboringCellsNR());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ServingCellsNR(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>>(this->shim().ServingCellsNR());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs>
{
int32_t __stdcall get_CurrentSlotIndex(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<int32_t>(this->shim().CurrentSlotIndex());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation>
@@ -4169,6 +4430,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4>
{
int32_t __stdcall get_SlotManager(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager>(this->shim().SlotManager());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService>
@@ -5153,6 +5428,104 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo>
{
int32_t __stdcall get_Index(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<int32_t>(this->shim().Index());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_State(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState>(this->shim().State());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs>
{
int32_t __stdcall get_SlotInfo(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>(this->shim().SlotInfo());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>
{
int32_t __stdcall get_SlotInfos(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>>(this->shim().SlotInfos());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_CurrentSlotIndex(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<int32_t>(this->shim().CurrentSlotIndex());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall SetCurrentSlot(int32_t slotIndex, int32_t* result) noexcept final try
{
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>(this->shim().SetCurrentSlot(slotIndex));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall SetCurrentSlotAsync(int32_t slotIndex, void** operation) noexcept final try
{
clear_abi(operation);
typename D::abi_guard guard(this->shim());
*operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>>(this->shim().SetCurrentSlotAsync(slotIndex));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall add_SlotInfoChanged(void* handler, winrt::event_token* token) noexcept final try
{
zero_abi<winrt::event_token>(token);
typename D::abi_guard guard(this->shim());
*token = detach_from<winrt::event_token>(this->shim().SlotInfoChanged(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const*>(&handler)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall remove_SlotInfoChanged(winrt::event_token token) noexcept final
{
typename D::abi_guard guard(this->shim());
this->shim().SlotInfoChanged(*reinterpret_cast<winrt::event_token const*>(&token));
return 0;
}
int32_t __stdcall add_CurrentSlotIndexChanged(void* handler, winrt::event_token* token) noexcept final try
{
zero_abi<winrt::event_token>(token);
typename D::abi_guard guard(this->shim());
*token = detach_from<winrt::event_token>(this->shim().CurrentSlotIndexChanged(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const*>(&handler)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall remove_CurrentSlotIndexChanged(winrt::event_token token) noexcept final
{
typename D::abi_guard guard(this->shim());
this->shim().CurrentSlotIndexChanged(*reinterpret_cast<winrt::event_token const*>(&token));
return 0;
}
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs> : produce_base<D, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs>
@@ -6173,12 +6546,16 @@ namespace std
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession> : winrt::impl::hash_base {};
@@ -6209,6 +6586,9 @@ namespace std
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp> : winrt::impl::hash_base {};
@@ -6269,9 +6649,11 @@ namespace std
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellsInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult> : winrt::impl::hash_base {};
@@ -6296,6 +6678,9 @@ namespace std
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChange> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChangeTriggerDetails> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp> : winrt::impl::hash_base {};
@@ -216,6 +216,22 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel4)->get_CurrentRequestTransportContext(&context));
return winrt::Windows::Foundation::IInspectable{ context, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnReceivePacketBuffer(*(void**)(&decapsulatedPacketBuffer)));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnSendPacketBuffer(*(void**)(&encapsulatedPacketBuffer)));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::FlushVpnReceivePacketBuffers() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnReceivePacketBuffers());
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::FlushVpnSendPacketBuffers() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnSendPacketBuffers());
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs<D>::Type() const
{
winrt::Windows::Networking::Vpn::VpnChannelActivityEventType value{};
@@ -1457,6 +1473,40 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::Vpn::IVpnChannel5> : produce_base<D, winrt::Windows::Networking::Vpn::IVpnChannel5>
{
int32_t __stdcall AppendVpnReceivePacketBuffer(void* decapsulatedPacketBuffer) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().AppendVpnReceivePacketBuffer(*reinterpret_cast<winrt::Windows::Networking::Vpn::VpnPacketBuffer const*>(&decapsulatedPacketBuffer));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall AppendVpnSendPacketBuffer(void* encapsulatedPacketBuffer) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().AppendVpnSendPacketBuffer(*reinterpret_cast<winrt::Windows::Networking::Vpn::VpnPacketBuffer const*>(&encapsulatedPacketBuffer));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall FlushVpnReceivePacketBuffers() noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().FlushVpnReceivePacketBuffers();
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall FlushVpnSendPacketBuffers() noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().FlushVpnSendPacketBuffers();
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs> : produce_base<D, winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs>
@@ -3160,6 +3210,7 @@ namespace std
template<> struct hash<winrt::Windows::Networking::Vpn::IVpnChannel> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::Vpn::IVpnChannel2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::Vpn::IVpnChannel4> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::Vpn::IVpnChannel5> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Networking::Vpn::IVpnChannelConfiguration> : winrt::impl::hash_base {};
@@ -84,6 +84,24 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2)->PostMessageToReceiverWithTelemetryAsync(impl::bind_in(receiverId), *(void**)(&message), *(void**)(&telemetryParameters), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::GetUserInfo() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->GetUserInfo(&result));
return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->ShareFileAsync(*(void**)(&filePath), *(void**)(&options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3)->ShareFileWithTelemetryAsync(*(void**)(&filePath), *(void**)(&options), *(void**)(&telemetryParameters), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus value{};
@@ -142,6 +160,18 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile)->Close());
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2<D>::GuestPath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2)->get_GuestPath(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2)->get_IsReadOnly(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics<D>::IsReady() const
{
bool value{};
@@ -258,6 +288,16 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowCameraAndMicrophoneAccess(value));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2<D>::WindowAnnotationOverride() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2)->get_WindowAnnotationOverride(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2<D>::WindowAnnotationOverride(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2)->put_WindowAnnotationOverride(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ShareableFolders() const
{
void* value{};
@@ -342,6 +382,34 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->WaitForExitAsync(&operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions<D>::AllowWrite() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->get_AllowWrite(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions<D>::AllowWrite(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->put_AllowWrite(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_ExtendedError(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::File() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_File(&value));
return winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions<D>::AllowWrite() const
{
bool value{};
@@ -392,6 +460,24 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters)->put_CorrelationId(impl::bind_in(value)));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::EnvironmentUserSid() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->get_EnvironmentUserSid(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::EnvironmentUserName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->get_EnvironmentUserName(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::TryWaitForSignInAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->TryWaitForSignInAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics<D>::PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view<winrt::Windows::Foundation::IInspectable> const& message) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics)->PostMessageToReceiver(impl::bind_in(receiverId), *(void**)(&message)));
@@ -546,6 +632,36 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3>
{
int32_t __stdcall GetUserInfo(void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo>(this->shim().GetUserInfo());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall ShareFileAsync(void* filePath, void* options, void** operation) noexcept final try
{
clear_abi(operation);
typename D::abi_guard guard(this->shim());
*operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>>(this->shim().ShareFileAsync(*reinterpret_cast<hstring const*>(&filePath), *reinterpret_cast<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const*>(&options)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall ShareFileWithTelemetryAsync(void* filePath, void* options, void* telemetryParameters, void** operation) noexcept final try
{
clear_abi(operation);
typename D::abi_guard guard(this->shim());
*operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>>(this->shim().ShareFileAsync(*reinterpret_cast<hstring const*>(&filePath), *reinterpret_cast<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const*>(&options), *reinterpret_cast<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const*>(&telemetryParameters)));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult>
@@ -641,6 +757,27 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2>
{
int32_t __stdcall get_GuestPath(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().GuestPath());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_IsReadOnly(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().IsReadOnly());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics>
@@ -819,6 +956,27 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2>
{
int32_t __stdcall get_WindowAnnotationOverride(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().WindowAnnotationOverride());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_WindowAnnotationOverride(void* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().WindowAnnotationOverride(*reinterpret_cast<hstring const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData>
@@ -962,6 +1120,55 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions>
{
int32_t __stdcall get_AllowWrite(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().AllowWrite());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_AllowWrite(bool value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().AllowWrite(value);
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult>
{
int32_t __stdcall get_Status(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus>(this->shim().Status());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ExtendedError(winrt::hresult* value) noexcept final try
{
zero_abi<winrt::hresult>(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::hresult>(this->shim().ExtendedError());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_File(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile>(this->shim().File());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions>
@@ -1052,6 +1259,36 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo>
{
int32_t __stdcall get_EnvironmentUserSid(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().EnvironmentUserSid());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_EnvironmentUserName(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().EnvironmentUserName());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall TryWaitForSignInAsync(void** operation) noexcept final try
{
clear_abi(operation);
typename D::abi_guard guard(this->shim());
*operation = detach_from<winrt::Windows::Foundation::IAsyncOperation<bool>>(this->shim().TryWaitForSignInAsync());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics> : produce_base<D, winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics>
@@ -1228,6 +1465,10 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IsolatedWindowsEnvironmentOwnerRegistrationData(impl::call_factory_cast<IsolatedWindowsEnvironmentOwnerRegistrationData(*)(winrt::Windows::Foundation::IActivationFactory const&), IsolatedWindowsEnvironmentOwnerRegistrationData>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<IsolatedWindowsEnvironmentOwnerRegistrationData>(); }))
{
}
inline IsolatedWindowsEnvironmentShareFileRequestOptions::IsolatedWindowsEnvironmentShareFileRequestOptions() :
IsolatedWindowsEnvironmentShareFileRequestOptions(impl::call_factory_cast<IsolatedWindowsEnvironmentShareFileRequestOptions(*)(winrt::Windows::Foundation::IActivationFactory const&), IsolatedWindowsEnvironmentShareFileRequestOptions>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<IsolatedWindowsEnvironmentShareFileRequestOptions>(); }))
{
}
inline IsolatedWindowsEnvironmentShareFolderRequestOptions::IsolatedWindowsEnvironmentShareFolderRequestOptions() :
IsolatedWindowsEnvironmentShareFolderRequestOptions(impl::call_factory_cast<IsolatedWindowsEnvironmentShareFolderRequestOptions(*)(winrt::Windows::Foundation::IActivationFactory const&), IsolatedWindowsEnvironmentShareFolderRequestOptions>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<IsolatedWindowsEnvironmentShareFolderRequestOptions>(); }))
{
@@ -1306,21 +1547,27 @@ namespace std
#ifndef WINRT_LEAN_AND_MEAN
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment> : winrt::impl::hash_base {};
@@ -1334,10 +1581,13 @@ namespace std
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Security::Isolation::IsolatedWindowsHostMessenger> : winrt::impl::hash_base {};
#endif
}
@@ -131,6 +131,88 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs)->get_Request(&value));
return winrt::Windows::Storage::Provider::FileUpdateRequest{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::Id() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Id(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::Message() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_Message(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::FilePath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_FilePath(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::FilePath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_FilePath(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError<D>::PrimaryAction() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_PrimaryAction(&value));
return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_PrimaryAction(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError<D>::SecondaryAction() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_SecondaryAction(&value));
return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_SecondaryAction(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError<D>::InformationalLink() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->get_InformationalLink(&value));
return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_InformationalLink(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderErrorCommand<D>::Label() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommand)->get_Label(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Storage_Provider_IStorageProviderErrorCommand<D>::ActionUri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommand)->get_ActionUri(&value));
return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory<D>::CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory)->CreateInstance(*(void**)(&label), *(void**)(&actionUri), &value));
return winrt::Windows::Storage::Provider::StorageProviderErrorCommand{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderError) consume_Windows_Storage_Provider_IStorageProviderErrorFactory<D>::CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderErrorFactory)->CreateInstance(*(void**)(&id), *(void**)(&title), *(void**)(&message), &value));
return winrt::Windows::Storage::Provider::StorageProviderError{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo<D>::FileExtension() const
{
void* value{};
@@ -199,6 +281,12 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->put_Path(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::IStorageProviderStatusSource) consume_Windows_Storage_Provider_IStorageProviderHandlerFactory<D>::GetStatusSource(param::hstring const& syncRootId) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory)->GetStatusSource(*(void**)(&syncRootId), &result));
return winrt::Windows::Storage::Provider::IStorageProviderStatusSource{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics<D>::SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty> const& itemProperties) const
{
void* operation{};
@@ -267,6 +355,56 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities)->IsPropertySupported(*(void**)(&propertyCanonicalName), &isSupported));
return isSupported;
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderStatus<D>::Message() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_Message(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderState) consume_Windows_Storage_Provider_IStorageProviderStatus<D>::State() const
{
winrt::Windows::Storage::Provider::StorageProviderState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderError>) consume_Windows_Storage_Provider_IStorageProviderStatus<D>::ErrorMessages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_ErrorMessages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderError>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory<D>::CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusFactory)->CreateInstance(static_cast<int32_t>(state), *(void**)(&message), &value));
return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory<D>::CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable<winrt::Windows::Storage::Provider::StorageProviderError> const& errorMessages) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusFactory)->CreateInstance2(static_cast<int32_t>(state), *(void**)(&message), *(void**)(&errorMessages), &value));
return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::GetStatus() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->GetStatus(&result));
return winrt::Windows::Storage::Provider::StorageProviderStatus{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
winrt::event_token token{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->add_Changed(*(void**)(&handler), put_abi(token)));
return token;
}
template <typename D> typename consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed_revoker consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->remove_Changed(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Id() const
{
void* value{};
@@ -676,6 +814,146 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderError> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderError>
{
int32_t __stdcall get_Id(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().Id());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Title(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().Title());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_Message(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().Message());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_FilePath(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().FilePath());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_FilePath(void* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().FilePath(*reinterpret_cast<hstring const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_PrimaryAction(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderErrorCommand>(this->shim().PrimaryAction());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_PrimaryAction(void* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().PrimaryAction(*reinterpret_cast<winrt::Windows::Storage::Provider::StorageProviderErrorCommand const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_SecondaryAction(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderErrorCommand>(this->shim().SecondaryAction());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_SecondaryAction(void* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().SecondaryAction(*reinterpret_cast<winrt::Windows::Storage::Provider::StorageProviderErrorCommand const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_InformationalLink(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderErrorCommand>(this->shim().InformationalLink());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_InformationalLink(void* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().InformationalLink(*reinterpret_cast<winrt::Windows::Storage::Provider::StorageProviderErrorCommand const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderErrorCommand> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderErrorCommand>
{
int32_t __stdcall get_Label(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().Label());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ActionUri(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Uri>(this->shim().ActionUri());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory>
{
int32_t __stdcall CreateInstance(void* label, void* actionUri, void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderErrorCommand>(this->shim().CreateInstance(*reinterpret_cast<hstring const*>(&label), *reinterpret_cast<winrt::Windows::Foundation::Uri const*>(&actionUri)));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderErrorFactory> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderErrorFactory>
{
int32_t __stdcall CreateInstance(void* id, void* title, void* message, void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderError>(this->shim().CreateInstance(*reinterpret_cast<hstring const*>(&id), *reinterpret_cast<hstring const*>(&title), *reinterpret_cast<hstring const*>(&message)));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo>
@@ -797,6 +1075,18 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory>
{
int32_t __stdcall GetStatusSource(void* syncRootId, void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>(this->shim().GetStatusSource(*reinterpret_cast<hstring const*>(&syncRootId)));
return 0;
}
catch (...) { return to_hresult(); }
};
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics>
@@ -919,6 +1209,83 @@ namespace winrt::impl
}
catch (...) { return to_hresult(); }
};
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderStatus> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderStatus>
{
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 get_State(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderState>(this->shim().State());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_ErrorMessages(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderError>>(this->shim().ErrorMessages());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderStatusFactory> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderStatusFactory>
{
int32_t __stdcall CreateInstance(int32_t state, void* message, void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderStatus>(this->shim().CreateInstance(*reinterpret_cast<winrt::Windows::Storage::Provider::StorageProviderState const*>(&state), *reinterpret_cast<hstring const*>(&message)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall CreateInstance2(int32_t state, void* message, void* errorMessages, void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::Storage::Provider::StorageProviderStatus>(this->shim().CreateInstance2(*reinterpret_cast<winrt::Windows::Storage::Provider::StorageProviderState const*>(&state), *reinterpret_cast<hstring const*>(&message), *reinterpret_cast<winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Storage::Provider::StorageProviderError> const*>(&errorMessages)));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderStatusSource> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderStatusSource>
{
int32_t __stdcall GetStatus(void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Storage::Provider::StorageProviderStatus>(this->shim().GetStatus());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall add_Changed(void* handler, winrt::event_token* token) noexcept final try
{
zero_abi<winrt::event_token>(token);
typename D::abi_guard guard(this->shim());
*token = detach_from<winrt::event_token>(this->shim().Changed(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const*>(&handler)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall remove_Changed(winrt::event_token token) noexcept final
{
typename D::abi_guard guard(this->shim());
this->shim().Changed(*reinterpret_cast<winrt::event_token const*>(&token));
return 0;
}
};
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo> : produce_base<D, winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo>
@@ -1390,6 +1757,14 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
{
impl::call_factory<CachedFileUpdater, ICachedFileUpdaterStatics>([&](ICachedFileUpdaterStatics const& f) { return f.SetUpdateInformation(file, contentId, readMode, writeMode, options); });
}
inline StorageProviderError::StorageProviderError(param::hstring const& id, param::hstring const& title, param::hstring const& message) :
StorageProviderError(impl::call_factory<StorageProviderError, IStorageProviderErrorFactory>([&](IStorageProviderErrorFactory const& f) { return f.CreateInstance(id, title, message); }))
{
}
inline StorageProviderErrorCommand::StorageProviderErrorCommand(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) :
StorageProviderErrorCommand(impl::call_factory<StorageProviderErrorCommand, IStorageProviderErrorCommandFactory>([&](IStorageProviderErrorCommandFactory const& f) { return f.CreateInstance(label, actionUri); }))
{
}
inline StorageProviderFileTypeInfo::StorageProviderFileTypeInfo(param::hstring const& fileExtension, param::hstring const& iconResource) :
StorageProviderFileTypeInfo(impl::call_factory<StorageProviderFileTypeInfo, IStorageProviderFileTypeInfoFactory>([&](IStorageProviderFileTypeInfoFactory const& f) { return f.CreateInstance(fileExtension, iconResource); }))
{
@@ -1414,6 +1789,14 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
StorageProviderItemPropertyDefinition(impl::call_factory_cast<StorageProviderItemPropertyDefinition(*)(winrt::Windows::Foundation::IActivationFactory const&), StorageProviderItemPropertyDefinition>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<StorageProviderItemPropertyDefinition>(); }))
{
}
inline StorageProviderStatus::StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) :
StorageProviderStatus(impl::call_factory<StorageProviderStatus, IStorageProviderStatusFactory>([&](IStorageProviderStatusFactory const& f) { return f.CreateInstance(state, message); }))
{
}
inline StorageProviderStatus::StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable<winrt::Windows::Storage::Provider::StorageProviderError> const& errorMessages) :
StorageProviderStatus(impl::call_factory<StorageProviderStatus, IStorageProviderStatusFactory>([&](IStorageProviderStatusFactory const& f) { return f.CreateInstance2(state, message, errorMessages); }))
{
}
inline StorageProviderSyncRootInfo::StorageProviderSyncRootInfo() :
StorageProviderSyncRootInfo(impl::call_factory_cast<StorageProviderSyncRootInfo(*)(winrt::Windows::Foundation::IActivationFactory const&), StorageProviderSyncRootInfo>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<StorageProviderSyncRootInfo>(); }))
{
@@ -1453,15 +1836,23 @@ namespace std
template<> struct hash<winrt::Windows::Storage::Provider::IFileUpdateRequest2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderError> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderErrorCommand> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderErrorFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfoFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderItemProperty> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderItemPropertySource> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderStatus> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderStatusFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderStatusSource> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3> : winrt::impl::hash_base {};
@@ -1473,12 +1864,15 @@ namespace std
template<> struct hash<winrt::Windows::Storage::Provider::FileUpdateRequest> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::FileUpdateRequestDeferral> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderError> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderErrorCommand> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderItemProperties> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderItemProperty> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderItemPropertyDefinition> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderStatus> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::Provider::StorageProviderSyncRootManager> : winrt::impl::hash_base {};
#endif
@@ -1037,6 +1037,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader)->AcceptChangesAsync(&operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryChangeReader2<D>::GetLastChangeId() const
{
uint64_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader2)->GetLastChangeId(&result));
return result;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeReader) consume_Windows_Storage_IStorageLibraryChangeTracker<D>::GetChangeReader() const
{
void* value{};
@@ -1051,6 +1057,30 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker)->Reset());
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2<D>::Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->EnableWithOptions(*(void**)(&options)));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2<D>::Disable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->Disable());
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions<D>::TrackChangeDetails() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->get_TrackChangeDetails(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions<D>::TrackChangeDetails(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->put_TrackChangeDetails(value));
}
template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryLastChangeIdStatics<D>::Unknown() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics)->get_Unknown(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>) consume_Windows_Storage_IStorageLibraryStatics<D>::GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const
{
void* operation{};
@@ -3180,6 +3210,19 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::IStorageLibraryChangeReader2> : produce_base<D, winrt::Windows::Storage::IStorageLibraryChangeReader2>
{
int32_t __stdcall GetLastChangeId(uint64_t* result) noexcept final try
{
typename D::abi_guard guard(this->shim());
*result = detach_from<uint64_t>(this->shim().GetLastChangeId());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::IStorageLibraryChangeTracker> : produce_base<D, winrt::Windows::Storage::IStorageLibraryChangeTracker>
@@ -3208,6 +3251,65 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::IStorageLibraryChangeTracker2> : produce_base<D, winrt::Windows::Storage::IStorageLibraryChangeTracker2>
{
int32_t __stdcall EnableWithOptions(void* options) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Enable(*reinterpret_cast<winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const*>(&options));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall Disable() noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().Disable();
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions> : produce_base<D, winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions>
{
int32_t __stdcall get_TrackChangeDetails(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().TrackChangeDetails());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_TrackChangeDetails(bool value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().TrackChangeDetails(value);
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::IStorageLibraryLastChangeId> : produce_base<D, winrt::Windows::Storage::IStorageLibraryLastChangeId>
{
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics> : produce_base<D, winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics>
{
int32_t __stdcall get_Unknown(uint64_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<uint64_t>(this->shim().Unknown());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::Storage::IStorageLibraryStatics> : produce_base<D, winrt::Windows::Storage::IStorageLibraryStatics>
@@ -4405,6 +4507,14 @@ WINRT_EXPORT namespace winrt::Windows::Storage
{
return impl::call_factory<StorageLibrary, IStorageLibraryStatics2>([&](IStorageLibraryStatics2 const& f) { return f.GetLibraryForUserAsync(user, libraryId); });
}
inline StorageLibraryChangeTrackerOptions::StorageLibraryChangeTrackerOptions() :
StorageLibraryChangeTrackerOptions(impl::call_factory_cast<StorageLibraryChangeTrackerOptions(*)(winrt::Windows::Foundation::IActivationFactory const&), StorageLibraryChangeTrackerOptions>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<StorageLibraryChangeTrackerOptions>(); }))
{
}
inline auto StorageLibraryLastChangeId::Unknown()
{
return impl::call_factory_cast<uint64_t(*)(IStorageLibraryLastChangeIdStatics const&), StorageLibraryLastChangeId, IStorageLibraryLastChangeIdStatics>([](IStorageLibraryLastChangeIdStatics const& f) { return f.Unknown(); });
}
inline auto SystemDataPaths::GetDefault()
{
return impl::call_factory_cast<winrt::Windows::Storage::SystemDataPaths(*)(ISystemDataPathsStatics const&), SystemDataPaths, ISystemDataPathsStatics>([](ISystemDataPathsStatics const& f) { return f.GetDefault(); });
@@ -4563,7 +4673,12 @@ namespace std
template<> struct hash<winrt::Windows::Storage::IStorageLibrary3> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryChange> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryChangeReader> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryChangeReader2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryChangeTracker> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryChangeTracker2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryLastChangeId> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageLibraryStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::IStorageProvider> : winrt::impl::hash_base {};
@@ -4600,6 +4715,8 @@ namespace std
template<> struct hash<winrt::Windows::Storage::StorageLibraryChange> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::StorageLibraryChangeReader> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::StorageLibraryChangeTracker> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::StorageLibraryChangeTrackerOptions> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::StorageLibraryLastChangeId> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::StorageProvider> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::StorageStreamTransaction> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::Storage::StreamedFileDataRequest> : winrt::impl::hash_base {};
@@ -307,6 +307,18 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics)->GetForCurrentSystem(&value));
return winrt::Windows::System::Diagnostics::SystemDiagnosticInfo{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2<D>::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->IsArchitectureSupported(static_cast<int32_t>(type), &result));
return result;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2<D>::PreferredArchitecture() const
{
winrt::Windows::System::ProcessorArchitecture value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->get_PreferredArchitecture(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) consume_Windows_System_Diagnostics_ISystemMemoryUsage<D>::GetReport() const
{
void* value{};
@@ -810,6 +822,26 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2> : produce_base<D, winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2>
{
int32_t __stdcall IsArchitectureSupported(int32_t type, bool* result) noexcept final try
{
typename D::abi_guard guard(this->shim());
*result = detach_from<bool>(this->shim().IsArchitectureSupported(*reinterpret_cast<winrt::Windows::System::ProcessorArchitecture const*>(&type)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_PreferredArchitecture(int32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::System::ProcessorArchitecture>(this->shim().PreferredArchitecture());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::System::Diagnostics::ISystemMemoryUsage> : produce_base<D, winrt::Windows::System::Diagnostics::ISystemMemoryUsage>
@@ -882,6 +914,14 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics
{
return impl::call_factory_cast<winrt::Windows::System::Diagnostics::SystemDiagnosticInfo(*)(ISystemDiagnosticInfoStatics const&), SystemDiagnosticInfo, ISystemDiagnosticInfoStatics>([](ISystemDiagnosticInfoStatics const& f) { return f.GetForCurrentSystem(); });
}
inline auto SystemDiagnosticInfo::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type)
{
return impl::call_factory<SystemDiagnosticInfo, ISystemDiagnosticInfoStatics2>([&](ISystemDiagnosticInfoStatics2 const& f) { return f.IsArchitectureSupported(type); });
}
inline auto SystemDiagnosticInfo::PreferredArchitecture()
{
return impl::call_factory_cast<winrt::Windows::System::ProcessorArchitecture(*)(ISystemDiagnosticInfoStatics2 const&), SystemDiagnosticInfo, ISystemDiagnosticInfoStatics2>([](ISystemDiagnosticInfoStatics2 const& f) { return f.PreferredArchitecture(); });
}
}
namespace std
{
@@ -904,6 +944,7 @@ namespace std
template<> struct hash<winrt::Windows::System::Diagnostics::ISystemCpuUsageReport> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Diagnostics::ISystemMemoryUsage> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Diagnostics::DiagnosticActionResult> : winrt::impl::hash_base {};
@@ -43,6 +43,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsVersionInfo)->get_DeviceFamilyVersion(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo2<D>::ProductName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsVersionInfo2)->get_ProductName(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Profile::UnsupportedAppRequirement>) consume_Windows_System_Profile_IAppApplicabilityStatics<D>::GetUnsupportedAppRequirements(param::iterable<hstring> const& capabilities) const
{
void* result{};
@@ -413,6 +419,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::System::Profile::IAnalyticsVersionInfo2> : produce_base<D, winrt::Windows::System::Profile::IAnalyticsVersionInfo2>
{
int32_t __stdcall get_ProductName(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<hstring>(this->shim().ProductName());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::System::Profile::IAppApplicabilityStatics> : produce_base<D, winrt::Windows::System::Profile::IAppApplicabilityStatics>
@@ -1130,6 +1150,7 @@ namespace std
template<> struct hash<winrt::Windows::System::Profile::IAnalyticsInfoStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Profile::IAnalyticsInfoStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Profile::IAnalyticsVersionInfo> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Profile::IAnalyticsVersionInfo2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Profile::IAppApplicabilityStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Profile::IEducationSettingsStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::Profile::IHardwareIdentificationStatics> : winrt::impl::hash_base {};
@@ -1438,6 +1438,12 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->GetFromId(*(void**)(&nonRoamableId), &result));
return winrt::Windows::System::User{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserStatics2<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics2)->GetDefault(&result));
return winrt::Windows::System::User{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcherStatus) consume_Windows_System_IUserWatcher<D>::Status() const
{
winrt::Windows::System::UserWatcherStatus value{};
@@ -3827,6 +3833,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::System::IUserStatics2> : produce_base<D, winrt::Windows::System::IUserStatics2>
{
int32_t __stdcall GetDefault(void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::System::User>(this->shim().GetDefault());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::System::IUserWatcher> : produce_base<D, winrt::Windows::System::IUserWatcher>
@@ -4349,6 +4369,10 @@ WINRT_EXPORT namespace winrt::Windows::System
{
return impl::call_factory<User, IUserStatics>([&](IUserStatics const& f) { return f.GetFromId(nonRoamableId); });
}
inline auto User::GetDefault()
{
return impl::call_factory_cast<winrt::Windows::System::User(*)(IUserStatics2 const&), User, IUserStatics2>([](IUserStatics2 const& f) { return f.GetDefault(); });
}
inline auto UserDeviceAssociation::FindUserFromDeviceId(param::hstring const& deviceId)
{
return impl::call_factory<UserDeviceAssociation, IUserDeviceAssociationStatics>([&](IUserDeviceAssociationStatics const& f) { return f.FindUserFromDeviceId(deviceId); });
@@ -4474,6 +4498,7 @@ namespace std
template<> struct hash<winrt::Windows::System::IUserPicker> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::IUserPickerStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::IUserStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::IUserStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::IUserWatcher> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::AppActivationResult> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::System::AppDiagnosticInfo> : winrt::impl::hash_base {};
File diff suppressed because it is too large Load Diff
@@ -1086,6 +1086,10 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_IsTouchHandwritingEnabled(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IPenAndInkSettings2<D>::SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings2)->SetPenHandedness(static_cast<int32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics<D>::GetDefault() const
{
void* result{};
@@ -2756,6 +2760,19 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Input::Inking::IPenAndInkSettings2> : produce_base<D, winrt::Windows::UI::Input::Inking::IPenAndInkSettings2>
{
int32_t __stdcall SetPenHandedness(int32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().SetPenHandedness(*reinterpret_cast<winrt::Windows::UI::Input::Inking::PenHandedness const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics> : produce_base<D, winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics>
@@ -2865,6 +2882,7 @@ namespace std
template<> struct hash<winrt::Windows::UI::Input::Inking::IInkSynchronizer> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Input::Inking::IPenAndInkSettings> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Input::Inking::IPenAndInkSettings2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Input::Inking::InkDrawingAttributes> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Input::Inking::InkDrawingAttributesPencilProperties> : winrt::impl::hash_base {};
@@ -536,6 +536,12 @@ namespace winrt::impl
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration)->put_IsExclusive(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>) consume_Windows_UI_WindowManagement_IWindowServicesStatics<D>::FindAllTopLevelWindowIds() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowServicesStatics)->FindAllTopLevelWindowIds(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::IsEnabled() const
{
bool value{};
@@ -1403,6 +1409,20 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::WindowManagement::IWindowServicesStatics> : produce_base<D, winrt::Windows::UI::WindowManagement::IWindowServicesStatics>
{
int32_t __stdcall FindAllTopLevelWindowIds(void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>>(this->shim().FindAllTopLevelWindowIds());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::WindowManagement::IWindowingEnvironment> : produce_base<D, winrt::Windows::UI::WindowManagement::IWindowingEnvironment>
@@ -1528,6 +1548,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement
FullScreenPresentationConfiguration(impl::call_factory_cast<FullScreenPresentationConfiguration(*)(winrt::Windows::Foundation::IActivationFactory const&), FullScreenPresentationConfiguration>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<FullScreenPresentationConfiguration>(); }))
{
}
inline auto WindowServices::FindAllTopLevelWindowIds()
{
return impl::call_factory_cast<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>(*)(IWindowServicesStatics const&), WindowServices, IWindowServicesStatics>([](IWindowServicesStatics const& f) { return f.FindAllTopLevelWindowIds(); });
}
inline auto WindowingEnvironment::FindAll()
{
return impl::call_factory_cast<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::WindowingEnvironment>(*)(IWindowingEnvironmentStatics const&), WindowingEnvironment, IWindowingEnvironmentStatics>([](IWindowingEnvironmentStatics const& f) { return f.FindAll(); });
@@ -1558,6 +1582,7 @@ namespace std
template<> struct hash<winrt::Windows::UI::WindowManagement::IDefaultPresentationConfiguration> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::IDisplayRegion> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::IWindowServicesStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::IWindowingEnvironment> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentAddedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentChangedEventArgs> : winrt::impl::hash_base {};
@@ -1577,6 +1602,7 @@ namespace std
template<> struct hash<winrt::Windows::UI::WindowManagement::DefaultPresentationConfiguration> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::DisplayRegion> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::FullScreenPresentationConfiguration> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::WindowServices> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::WindowingEnvironment> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::WindowingEnvironmentAddedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> : winrt::impl::hash_base {};
@@ -6673,6 +6673,80 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->TryOpen(&result));
return result;
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsSwitchToKeyboardEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsSwitchToKeyboardEnabled(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsSwitchToKeyboardEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsSwitchToKeyboardEnabled(value));
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsCommandBarOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsCommandBarOpen(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsCommandBarOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsCommandBarOpen(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::InputDeviceTypes() const
{
winrt::Windows::UI::Core::CoreInputDeviceTypes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_InputDeviceTypes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_InputDeviceTypes(static_cast<uint32_t>(value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const& handler) const
{
winrt::event_token token{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->add_CandidatesChanged(*(void**)(&handler), put_abi(token)));
return token;
}
template <typename D> typename consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CandidatesChanged_revoker>(this, CandidatesChanged(handler));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(winrt::event_token const& token) const noexcept
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_CandidatesChanged(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const
{
winrt::event_token token{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->add_TextSubmitted(*(void**)(&handler), put_abi(token)));
return token;
}
template <typename D> typename consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextSubmitted_revoker>(this, TextSubmitted(handler));
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(winrt::event_token const& token) const noexcept
{
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_TextSubmitted(impl::bind_in(token)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::GetCandidates(uint32_t candidatesSessionId) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->GetCandidates(candidatesSessionId, &result));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ result, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->SelectCandidate(candidatesSessionId, selectedCandidateIndex));
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs<D>::CandidatesSessionId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs)->get_CandidatesSessionId(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
{
void* value{};
@@ -6703,6 +6777,18 @@ namespace winrt::impl
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics)->get_AreCandidatesEnabledProperty(&value));
return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2<D>::IsSwitchToKeyboardEnabledProperty() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2)->get_IsSwitchToKeyboardEnabledProperty(&value));
return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2<D>::IsCommandBarOpenProperty() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2)->get_IsCommandBarOpenProperty(&value));
return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IHub<D>::Header() const
{
void* value{};
@@ -33261,6 +33347,110 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Xaml::Controls::IHandwritingView2> : produce_base<D, winrt::Windows::UI::Xaml::Controls::IHandwritingView2>
{
int32_t __stdcall get_IsSwitchToKeyboardEnabled(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().IsSwitchToKeyboardEnabled());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_IsSwitchToKeyboardEnabled(bool value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().IsSwitchToKeyboardEnabled(value);
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_IsCommandBarOpen(bool* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<bool>(this->shim().IsCommandBarOpen());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_IsCommandBarOpen(bool value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().IsCommandBarOpen(value);
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_InputDeviceTypes(uint32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::UI::Core::CoreInputDeviceTypes>(this->shim().InputDeviceTypes());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall put_InputDeviceTypes(uint32_t value) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().InputDeviceTypes(*reinterpret_cast<winrt::Windows::UI::Core::CoreInputDeviceTypes const*>(&value));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall add_CandidatesChanged(void* handler, winrt::event_token* token) noexcept final try
{
zero_abi<winrt::event_token>(token);
typename D::abi_guard guard(this->shim());
*token = detach_from<winrt::event_token>(this->shim().CandidatesChanged(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const*>(&handler)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall remove_CandidatesChanged(winrt::event_token token) noexcept final
{
typename D::abi_guard guard(this->shim());
this->shim().CandidatesChanged(*reinterpret_cast<winrt::event_token const*>(&token));
return 0;
}
int32_t __stdcall add_TextSubmitted(void* handler, winrt::event_token* token) noexcept final try
{
zero_abi<winrt::event_token>(token);
typename D::abi_guard guard(this->shim());
*token = detach_from<winrt::event_token>(this->shim().TextSubmitted(*reinterpret_cast<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const*>(&handler)));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall remove_TextSubmitted(winrt::event_token token) noexcept final
{
typename D::abi_guard guard(this->shim());
this->shim().TextSubmitted(*reinterpret_cast<winrt::event_token const*>(&token));
return 0;
}
int32_t __stdcall GetCandidates(uint32_t candidatesSessionId, void** result) noexcept final try
{
clear_abi(result);
typename D::abi_guard guard(this->shim());
*result = detach_from<winrt::Windows::Foundation::Collections::IVectorView<hstring>>(this->shim().GetCandidates(candidatesSessionId));
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) noexcept final try
{
typename D::abi_guard guard(this->shim());
this->shim().SelectCandidate(candidatesSessionId, selectedCandidateIndex);
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs> : produce_base<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs>
{
int32_t __stdcall get_CandidatesSessionId(uint32_t* value) noexcept final try
{
typename D::abi_guard guard(this->shim());
*value = detach_from<uint32_t>(this->shim().CandidatesSessionId());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewFactory> : produce_base<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewFactory>
@@ -33316,6 +33506,34 @@ namespace winrt::impl
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2> : produce_base<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2>
{
int32_t __stdcall get_IsSwitchToKeyboardEnabledProperty(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::UI::Xaml::DependencyProperty>(this->shim().IsSwitchToKeyboardEnabledProperty());
return 0;
}
catch (...) { return to_hresult(); }
int32_t __stdcall get_IsCommandBarOpenProperty(void** value) noexcept final try
{
clear_abi(value);
typename D::abi_guard guard(this->shim());
*value = detach_from<winrt::Windows::UI::Xaml::DependencyProperty>(this->shim().IsCommandBarOpenProperty());
return 0;
}
catch (...) { return to_hresult(); }
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewTextSubmittedEventArgs> : produce_base<D, winrt::Windows::UI::Xaml::Controls::IHandwritingViewTextSubmittedEventArgs>
{
};
#endif
#ifndef WINRT_LEAN_AND_MEAN
template <typename D>
struct produce<D, winrt::Windows::UI::Xaml::Controls::IHub> : produce_base<D, winrt::Windows::UI::Xaml::Controls::IHub>
@@ -60194,6 +60412,14 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
{
return impl::call_factory_cast<winrt::Windows::UI::Xaml::DependencyProperty(*)(IHandwritingViewStatics const&), HandwritingView, IHandwritingViewStatics>([](IHandwritingViewStatics const& f) { return f.AreCandidatesEnabledProperty(); });
}
inline auto HandwritingView::IsSwitchToKeyboardEnabledProperty()
{
return impl::call_factory_cast<winrt::Windows::UI::Xaml::DependencyProperty(*)(IHandwritingViewStatics2 const&), HandwritingView, IHandwritingViewStatics2>([](IHandwritingViewStatics2 const& f) { return f.IsSwitchToKeyboardEnabledProperty(); });
}
inline auto HandwritingView::IsCommandBarOpenProperty()
{
return impl::call_factory_cast<winrt::Windows::UI::Xaml::DependencyProperty(*)(IHandwritingViewStatics2 const&), HandwritingView, IHandwritingViewStatics2>([](IHandwritingViewStatics2 const& f) { return f.IsCommandBarOpenProperty(); });
}
inline Hub::Hub()
{
winrt::Windows::Foundation::IInspectable baseInterface, innerInterface;
@@ -65104,7 +65330,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
template <typename D, typename... Interfaces>
struct HandwritingViewT :
implements<D, winrt::Windows::UI::Xaml::Controls::IControlOverrides, winrt::Windows::UI::Xaml::Controls::IControlOverrides6, winrt::Windows::UI::Xaml::IFrameworkElementOverrides, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2, winrt::Windows::UI::Xaml::IUIElementOverrides, winrt::Windows::UI::Xaml::IUIElementOverrides7, winrt::Windows::UI::Xaml::IUIElementOverrides8, winrt::Windows::UI::Xaml::IUIElementOverrides9, composing, Interfaces...>,
impl::require<D, winrt::Windows::UI::Xaml::Controls::IHandwritingView, winrt::Windows::UI::Xaml::Controls::IControl, winrt::Windows::UI::Xaml::Controls::IControl2, winrt::Windows::UI::Xaml::Controls::IControl3, winrt::Windows::UI::Xaml::Controls::IControl4, winrt::Windows::UI::Xaml::Controls::IControl5, winrt::Windows::UI::Xaml::Controls::IControl7, winrt::Windows::UI::Xaml::Controls::IControlProtected, winrt::Windows::UI::Xaml::IFrameworkElement, winrt::Windows::UI::Xaml::IFrameworkElement2, winrt::Windows::UI::Xaml::IFrameworkElement3, winrt::Windows::UI::Xaml::IFrameworkElement4, winrt::Windows::UI::Xaml::IFrameworkElement6, winrt::Windows::UI::Xaml::IFrameworkElement7, winrt::Windows::UI::Xaml::IFrameworkElementProtected7, winrt::Windows::UI::Xaml::IUIElement, winrt::Windows::UI::Xaml::IUIElement2, winrt::Windows::UI::Xaml::IUIElement3, winrt::Windows::UI::Xaml::IUIElement4, winrt::Windows::UI::Xaml::IUIElement5, winrt::Windows::UI::Xaml::IUIElement7, winrt::Windows::UI::Xaml::IUIElement8, winrt::Windows::UI::Xaml::IUIElement9, winrt::Windows::UI::Xaml::IUIElement10, winrt::Windows::UI::Composition::IAnimationObject, winrt::Windows::UI::Composition::IVisualElement, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>,
impl::require<D, winrt::Windows::UI::Xaml::Controls::IHandwritingView, winrt::Windows::UI::Xaml::Controls::IHandwritingView2, winrt::Windows::UI::Xaml::Controls::IControl, winrt::Windows::UI::Xaml::Controls::IControl2, winrt::Windows::UI::Xaml::Controls::IControl3, winrt::Windows::UI::Xaml::Controls::IControl4, winrt::Windows::UI::Xaml::Controls::IControl5, winrt::Windows::UI::Xaml::Controls::IControl7, winrt::Windows::UI::Xaml::Controls::IControlProtected, winrt::Windows::UI::Xaml::IFrameworkElement, winrt::Windows::UI::Xaml::IFrameworkElement2, winrt::Windows::UI::Xaml::IFrameworkElement3, winrt::Windows::UI::Xaml::IFrameworkElement4, winrt::Windows::UI::Xaml::IFrameworkElement6, winrt::Windows::UI::Xaml::IFrameworkElement7, winrt::Windows::UI::Xaml::IFrameworkElementProtected7, winrt::Windows::UI::Xaml::IUIElement, winrt::Windows::UI::Xaml::IUIElement2, winrt::Windows::UI::Xaml::IUIElement3, winrt::Windows::UI::Xaml::IUIElement4, winrt::Windows::UI::Xaml::IUIElement5, winrt::Windows::UI::Xaml::IUIElement7, winrt::Windows::UI::Xaml::IUIElement8, winrt::Windows::UI::Xaml::IUIElement9, winrt::Windows::UI::Xaml::IUIElement10, winrt::Windows::UI::Composition::IAnimationObject, winrt::Windows::UI::Composition::IVisualElement, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>,
impl::base<D, HandwritingView, winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DependencyObject>,
winrt::Windows::UI::Xaml::Controls::IControlOverridesT<D>, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T<D>, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT<D>, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T<D>, winrt::Windows::UI::Xaml::IUIElementOverridesT<D>, winrt::Windows::UI::Xaml::IUIElementOverrides7T<D>, winrt::Windows::UI::Xaml::IUIElementOverrides8T<D>, winrt::Windows::UI::Xaml::IUIElementOverrides9T<D>
{
@@ -66615,8 +66841,12 @@ namespace std
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingPanelClosedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingPanelOpenedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingView> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingView2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingViewFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHandwritingViewTextSubmittedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHub> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHubFactory> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::IHubSection> : winrt::impl::hash_base {};
@@ -67276,6 +67506,8 @@ namespace std
template<> struct hash<winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::HandwritingView> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::Hub> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::HubSection> : winrt::impl::hash_base {};
template<> struct hash<winrt::Windows::UI::Xaml::Controls::HubSectionCollection> : winrt::impl::hash_base {};
@@ -94,6 +94,7 @@ WINRT_EXPORT namespace winrt::Windows::AI::MachineLearning
struct ILearningModelSessionFactory2;
struct ILearningModelSessionOptions;
struct ILearningModelSessionOptions2;
struct ILearningModelSessionOptions3;
struct ILearningModelStatics;
struct IMapFeatureDescriptor;
struct ISequenceFeatureDescriptor;
@@ -183,6 +184,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2>{ using type = interface_category; };
template <> struct category<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions>{ using type = interface_category; };
template <> struct category<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2>{ using type = interface_category; };
template <> struct category<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>{ using type = interface_category; };
template <> struct category<winrt::Windows::AI::MachineLearning::ILearningModelStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor>{ using type = interface_category; };
template <> struct category<winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor>{ using type = interface_category; };
@@ -299,6 +301,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2> = L"Windows.AI.MachineLearning.ILearningModelSessionFactory2";
template <> inline constexpr auto& name_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions> = L"Windows.AI.MachineLearning.ILearningModelSessionOptions";
template <> inline constexpr auto& name_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2> = L"Windows.AI.MachineLearning.ILearningModelSessionOptions2";
template <> inline constexpr auto& name_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3> = L"Windows.AI.MachineLearning.ILearningModelSessionOptions3";
template <> inline constexpr auto& name_v<winrt::Windows::AI::MachineLearning::ILearningModelStatics> = L"Windows.AI.MachineLearning.ILearningModelStatics";
template <> inline constexpr auto& name_v<winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor> = L"Windows.AI.MachineLearning.IMapFeatureDescriptor";
template <> inline constexpr auto& name_v<winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor> = L"Windows.AI.MachineLearning.ISequenceFeatureDescriptor";
@@ -361,6 +364,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2>{ 0x4E5C88BF,0x0A1F,0x5FEC,{ 0xAD,0xE0,0x2F,0xD9,0x1E,0x4E,0xF2,0x9B } }; // 4E5C88BF-0A1F-5FEC-ADE0-2FD91E4EF29B
template <> inline constexpr guid guid_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions>{ 0xB8F63FA1,0x134D,0x5133,{ 0x8C,0xFF,0x3A,0x5C,0x3C,0x26,0x3B,0xEB } }; // B8F63FA1-134D-5133-8CFF-3A5C3C263BEB
template <> inline constexpr guid guid_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2>{ 0x6FCD1DC4,0x175F,0x5BD2,{ 0x8D,0xE5,0x2F,0x20,0x06,0xA2,0x5A,0xDF } }; // 6FCD1DC4-175F-5BD2-8DE5-2F2006A25ADF
template <> inline constexpr guid guid_v<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>{ 0x58E15CEE,0xD8C2,0x56FC,{ 0x92,0xE8,0x76,0xD7,0x51,0x08,0x10,0x86 } }; // 58E15CEE-D8C2-56FC-92E8-76D751081086
template <> inline constexpr guid guid_v<winrt::Windows::AI::MachineLearning::ILearningModelStatics>{ 0xE3B977E8,0x6952,0x4E47,{ 0x8E,0xF4,0x1F,0x7F,0x07,0x89,0x7C,0x6D } }; // E3B977E8-6952-4E47-8EF4-1F7F07897C6D
template <> inline constexpr guid guid_v<winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor>{ 0x530424BD,0xA257,0x436D,{ 0x9E,0x60,0xC2,0x98,0x1F,0x7C,0xC5,0xC4 } }; // 530424BD-A257-436D-9E60-C2981F7CC5C4
template <> inline constexpr guid guid_v<winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor>{ 0x84F6945A,0x562B,0x4D62,{ 0xA8,0x51,0x73,0x9A,0xCE,0xD9,0x66,0x68 } }; // 84F6945A-562B-4D62-A851-739ACED96668
@@ -582,6 +586,13 @@ namespace winrt::impl
virtual int32_t __stdcall put_CloseModelOnSessionCreation(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall OverrideNamedDimension(void*, uint32_t) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::AI::MachineLearning::ILearningModelStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1141,6 +1152,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>;
};
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3
{
WINRT_IMPL_AUTO(void) OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>
{
template <typename D> using type = consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3<D>;
};
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const;
@@ -203,6 +203,17 @@ WINRT_EXPORT namespace winrt::Windows::AI::MachineLearning
ILearningModelSessionOptions2& operator=(ILearningModelSessionOptions2 const&) & noexcept = default;
ILearningModelSessionOptions2& operator=(ILearningModelSessionOptions2&&) & noexcept = default;
};
struct __declspec(empty_bases) ILearningModelSessionOptions3 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ILearningModelSessionOptions3>
{
ILearningModelSessionOptions3(std::nullptr_t = nullptr) noexcept {}
ILearningModelSessionOptions3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ILearningModelSessionOptions3(ILearningModelSessionOptions3 const&) noexcept = default;
ILearningModelSessionOptions3(ILearningModelSessionOptions3&&) noexcept = default;
ILearningModelSessionOptions3& operator=(ILearningModelSessionOptions3 const&) & noexcept = default;
ILearningModelSessionOptions3& operator=(ILearningModelSessionOptions3&&) & noexcept = default;
};
struct __declspec(empty_bases) ILearningModelStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ILearningModelStatics>
@@ -95,7 +95,7 @@ WINRT_EXPORT namespace winrt::Windows::AI::MachineLearning
LearningModelSession& operator=(LearningModelSession&&) & noexcept = default;
};
struct __declspec(empty_bases) LearningModelSessionOptions : winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions,
impl::require<LearningModelSessionOptions, winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2>
impl::require<LearningModelSessionOptions, winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2, winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>
{
LearningModelSessionOptions(std::nullptr_t) noexcept {}
LearningModelSessionOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions(ptr, take_ownership_from_abi) {}
@@ -50,6 +50,12 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
ForceTargetAppShutdown = 0x1,
ApplyUpdateIfAvailable = 0x2,
};
enum class AppExecutionContext : int32_t
{
Unknown = 0,
Host = 1,
Guest = 2,
};
enum class LimitedAccessFeatureStatus : int32_t
{
Unavailable = 0,
@@ -91,6 +97,8 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
struct IAppDisplayInfo;
struct IAppInfo;
struct IAppInfo2;
struct IAppInfo3;
struct IAppInfo4;
struct IAppInfoStatics;
struct IAppInstallerInfo;
struct IAppInstance;
@@ -179,6 +187,8 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::IAppDisplayInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInfo2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInfo3>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInfo4>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInfoStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInstallerInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInstance>{ using type = interface_category; };
@@ -260,6 +270,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::SuspendingEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::SuspendingOperation>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::AddResourcePackageOptions>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::AppExecutionContext>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::PackageContentGroupState>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::PackageSignatureKind>{ using type = enum_category; };
@@ -299,6 +310,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::SuspendingEventArgs> = L"Windows.ApplicationModel.SuspendingEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::SuspendingOperation> = L"Windows.ApplicationModel.SuspendingOperation";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::AddResourcePackageOptions> = L"Windows.ApplicationModel.AddResourcePackageOptions";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::AppExecutionContext> = L"Windows.ApplicationModel.AppExecutionContext";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus> = L"Windows.ApplicationModel.LimitedAccessFeatureStatus";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::PackageContentGroupState> = L"Windows.ApplicationModel.PackageContentGroupState";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::PackageSignatureKind> = L"Windows.ApplicationModel.PackageSignatureKind";
@@ -309,6 +321,8 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppDisplayInfo> = L"Windows.ApplicationModel.IAppDisplayInfo";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInfo> = L"Windows.ApplicationModel.IAppInfo";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInfo2> = L"Windows.ApplicationModel.IAppInfo2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInfo3> = L"Windows.ApplicationModel.IAppInfo3";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInfo4> = L"Windows.ApplicationModel.IAppInfo4";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInfoStatics> = L"Windows.ApplicationModel.IAppInfoStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInstallerInfo> = L"Windows.ApplicationModel.IAppInstallerInfo";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInstance> = L"Windows.ApplicationModel.IAppInstance";
@@ -361,6 +375,8 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppDisplayInfo>{ 0x1AEB1103,0xE4D4,0x41AA,{ 0xA4,0xF6,0xC4,0xA2,0x76,0xE7,0x9E,0xAC } }; // 1AEB1103-E4D4-41AA-A4F6-C4A276E79EAC
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfo>{ 0xCF7F59B3,0x6A09,0x4DE8,{ 0xA6,0xC0,0x57,0x92,0xD5,0x68,0x80,0xD1 } }; // CF7F59B3-6A09-4DE8-A6C0-5792D56880D1
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfo2>{ 0xBE4B1F5A,0x2098,0x431B,{ 0xBD,0x25,0xB3,0x08,0x78,0x74,0x8D,0x47 } }; // BE4B1F5A-2098-431B-BD25-B30878748D47
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfo3>{ 0x09A78E46,0x93A4,0x46DE,{ 0x93,0x97,0x08,0x43,0xB5,0x71,0x15,0xEA } }; // 09A78E46-93A4-46DE-9397-0843B57115EA
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfo4>{ 0x2F34BDEB,0x1609,0x4554,{ 0x9F,0x33,0x12,0xE1,0xE8,0x03,0xE0,0xD4 } }; // 2F34BDEB-1609-4554-9F33-12E1E803E0D4
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfoStatics>{ 0xCF1F782A,0xE48B,0x4F0C,{ 0x9B,0x0B,0x79,0xC3,0xF8,0x95,0x7D,0xD7 } }; // CF1F782A-E48B-4F0C-9B0B-79C3F8957DD7
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInstallerInfo>{ 0x29AB2AC0,0xD4F6,0x42A3,{ 0xAD,0xCD,0xD6,0x58,0x3C,0x65,0x95,0x08 } }; // 29AB2AC0-D4F6-42A3-ADCD-D6583C659508
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInstance>{ 0x675F2B47,0xF25F,0x4532,{ 0x9F,0xD6,0x36,0x33,0xE0,0x63,0x4D,0x01 } }; // 675F2B47-F25F-4532-9FD6-3633E0634D01
@@ -463,6 +479,20 @@ namespace winrt::impl
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfo3>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_ExecutionContext(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfo4>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_SupportedFileExtensions(uint32_t* __valueSize, void***) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfoStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -953,6 +983,24 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_ApplicationModel_IAppInfo2<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IAppInfo3
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) ExecutionContext() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo3>
{
template <typename D> using type = consume_Windows_ApplicationModel_IAppInfo3<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IAppInfo4
{
[[nodiscard]] WINRT_IMPL_AUTO(com_array<hstring>) SupportedFileExtensions() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo4>
{
template <typename D> using type = consume_Windows_ApplicationModel_IAppInfo4<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IAppInfoStatics
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) Current() const;
@@ -38,6 +38,28 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
IAppInfo2& operator=(IAppInfo2 const&) & noexcept = default;
IAppInfo2& operator=(IAppInfo2&&) & noexcept = default;
};
struct __declspec(empty_bases) IAppInfo3 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAppInfo3>
{
IAppInfo3(std::nullptr_t = nullptr) noexcept {}
IAppInfo3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IAppInfo3(IAppInfo3 const&) noexcept = default;
IAppInfo3(IAppInfo3&&) noexcept = default;
IAppInfo3& operator=(IAppInfo3 const&) & noexcept = default;
IAppInfo3& operator=(IAppInfo3&&) & noexcept = default;
};
struct __declspec(empty_bases) IAppInfo4 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAppInfo4>
{
IAppInfo4(std::nullptr_t = nullptr) noexcept {}
IAppInfo4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IAppInfo4(IAppInfo4 const&) noexcept = default;
IAppInfo4(IAppInfo4&&) noexcept = default;
IAppInfo4& operator=(IAppInfo4 const&) & noexcept = default;
IAppInfo4& operator=(IAppInfo4&&) & noexcept = default;
};
struct __declspec(empty_bases) IAppInfoStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAppInfoStatics>
@@ -43,7 +43,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
AppDisplayInfo& operator=(AppDisplayInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) AppInfo : winrt::Windows::ApplicationModel::IAppInfo,
impl::require<AppInfo, winrt::Windows::ApplicationModel::IAppInfo2>
impl::require<AppInfo, winrt::Windows::ApplicationModel::IAppInfo2, winrt::Windows::ApplicationModel::IAppInfo3, winrt::Windows::ApplicationModel::IAppInfo4>
{
AppInfo(std::nullptr_t) noexcept {}
AppInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::IAppInfo(ptr, take_ownership_from_abi) {}
@@ -5,6 +5,7 @@
WINRT_EXPORT namespace winrt::Windows::ApplicationModel
{
struct AppDisplayInfo;
struct AppInfo;
struct EnteredBackgroundEventArgs;
struct LeavingBackgroundEventArgs;
struct SuspendingEventArgs;
@@ -50,6 +51,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core
struct IAppListEntry;
struct IAppListEntry2;
struct IAppListEntry3;
struct IAppListEntry4;
struct ICoreApplication;
struct ICoreApplication2;
struct ICoreApplication3;
@@ -83,6 +85,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::Core::IAppListEntry>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Core::IAppListEntry2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Core::IAppListEntry3>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Core::IAppListEntry4>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Core::ICoreApplication>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Core::ICoreApplication2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Core::ICoreApplication3>{ using type = interface_category; };
@@ -122,6 +125,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Core::IAppListEntry> = L"Windows.ApplicationModel.Core.IAppListEntry";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Core::IAppListEntry2> = L"Windows.ApplicationModel.Core.IAppListEntry2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Core::IAppListEntry3> = L"Windows.ApplicationModel.Core.IAppListEntry3";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Core::IAppListEntry4> = L"Windows.ApplicationModel.Core.IAppListEntry4";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Core::ICoreApplication> = L"Windows.ApplicationModel.Core.ICoreApplication";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Core::ICoreApplication2> = L"Windows.ApplicationModel.Core.ICoreApplication2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Core::ICoreApplication3> = L"Windows.ApplicationModel.Core.ICoreApplication3";
@@ -145,6 +149,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Core::IAppListEntry>{ 0xEF00F07F,0x2108,0x490A,{ 0x87,0x7A,0x8A,0x9F,0x17,0xC2,0x5F,0xAD } }; // EF00F07F-2108-490A-877A-8A9F17C25FAD
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Core::IAppListEntry2>{ 0xD0A618AD,0xBF35,0x42AC,{ 0xAC,0x06,0x86,0xEE,0xEB,0x41,0xD0,0x4B } }; // D0A618AD-BF35-42AC-AC06-86EEEB41D04B
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Core::IAppListEntry3>{ 0x6099F28D,0xFC32,0x470A,{ 0xBC,0x69,0x4B,0x06,0x1A,0x76,0xEF,0x2E } }; // 6099F28D-FC32-470A-BC69-4B061A76EF2E
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Core::IAppListEntry4>{ 0x2A131ED2,0x56F5,0x487C,{ 0x86,0x97,0x51,0x66,0xF3,0xB3,0x3D,0xA0 } }; // 2A131ED2-56F5-487C-8697-5166F3B33DA0
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Core::ICoreApplication>{ 0x0AACF7A4,0x5E1D,0x49DF,{ 0x80,0x34,0xFB,0x6A,0x68,0xBC,0x5E,0xD1 } }; // 0AACF7A4-5E1D-49DF-8034-FB6A68BC5ED1
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Core::ICoreApplication2>{ 0x998681FB,0x1AB6,0x4B7F,{ 0xBE,0x4A,0x9A,0x06,0x45,0x22,0x4C,0x04 } }; // 998681FB-1AB6-4B7F-BE4A-9A0645224C04
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Core::ICoreApplication3>{ 0xFEEC0D39,0x598B,0x4507,{ 0x8A,0x67,0x77,0x26,0x32,0x58,0x0A,0x57 } }; // FEEC0D39-598B-4507-8A67-772632580A57
@@ -193,6 +198,13 @@ namespace winrt::impl
virtual int32_t __stdcall LaunchForUserAsync(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::Core::IAppListEntry4>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_AppInfo(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::Core::ICoreApplication>
{
struct __declspec(novtable) type : inspectable_abi
@@ -404,6 +416,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_ApplicationModel_Core_IAppListEntry3<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_Core_IAppListEntry4
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IAppListEntry4>
{
template <typename D> using type = consume_Windows_ApplicationModel_Core_IAppListEntry4<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplication
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
@@ -38,6 +38,17 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core
IAppListEntry3& operator=(IAppListEntry3 const&) & noexcept = default;
IAppListEntry3& operator=(IAppListEntry3&&) & noexcept = default;
};
struct __declspec(empty_bases) IAppListEntry4 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAppListEntry4>
{
IAppListEntry4(std::nullptr_t = nullptr) noexcept {}
IAppListEntry4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IAppListEntry4(IAppListEntry4 const&) noexcept = default;
IAppListEntry4(IAppListEntry4&&) noexcept = default;
IAppListEntry4& operator=(IAppListEntry4 const&) & noexcept = default;
IAppListEntry4& operator=(IAppListEntry4&&) & noexcept = default;
};
struct __declspec(empty_bases) ICoreApplication :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICoreApplication>
@@ -10,7 +10,7 @@
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core
{
struct __declspec(empty_bases) AppListEntry : winrt::Windows::ApplicationModel::Core::IAppListEntry,
impl::require<AppListEntry, winrt::Windows::ApplicationModel::Core::IAppListEntry2, winrt::Windows::ApplicationModel::Core::IAppListEntry3>
impl::require<AppListEntry, winrt::Windows::ApplicationModel::Core::IAppListEntry2, winrt::Windows::ApplicationModel::Core::IAppListEntry3, winrt::Windows::ApplicationModel::Core::IAppListEntry4>
{
AppListEntry(std::nullptr_t) noexcept {}
AppListEntry(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Core::IAppListEntry(ptr, take_ownership_from_abi) {}
@@ -1219,14 +1219,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager
{
WINRT_IMPL_AUTO(winrt::event_token) DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& eventHandler) const;
WINRT_IMPL_AUTO(winrt::event_token) DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const;
using DataRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager>::remove_DataRequested>;
[[nodiscard]] DataRequested_revoker DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& eventHandler) const;
WINRT_IMPL_AUTO(void) DataRequested(winrt::event_token const& eventCookie) const noexcept;
WINRT_IMPL_AUTO(winrt::event_token) TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& eventHandler) const;
[[nodiscard]] DataRequested_revoker DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const;
WINRT_IMPL_AUTO(void) DataRequested(winrt::event_token const& token) const noexcept;
WINRT_IMPL_AUTO(winrt::event_token) TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const;
using TargetApplicationChosen_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager>::remove_TargetApplicationChosen>;
[[nodiscard]] TargetApplicationChosen_revoker TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& eventHandler) const;
WINRT_IMPL_AUTO(void) TargetApplicationChosen(winrt::event_token const& eventCookie) const noexcept;
[[nodiscard]] TargetApplicationChosen_revoker TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const;
WINRT_IMPL_AUTO(void) TargetApplicationChosen(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager>
{
@@ -18,6 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources
struct IResourceLoaderStatics;
struct IResourceLoaderStatics2;
struct IResourceLoaderStatics3;
struct IResourceLoaderStatics4;
struct ResourceLoader;
}
namespace winrt::impl
@@ -28,6 +29,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::Resources::ResourceLoader>{ using type = class_category; };
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Resources::ResourceLoader> = L"Windows.ApplicationModel.Resources.ResourceLoader";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Resources::IResourceLoader> = L"Windows.ApplicationModel.Resources.IResourceLoader";
@@ -36,12 +38,14 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics> = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2> = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3> = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics3";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4> = L"Windows.ApplicationModel.Resources.IResourceLoaderStatics4";
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Resources::IResourceLoader>{ 0x08524908,0x16EF,0x45AD,{ 0xA6,0x02,0x29,0x36,0x37,0xD7,0xE6,0x1A } }; // 08524908-16EF-45AD-A602-293637D7E61A
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Resources::IResourceLoader2>{ 0x10EB6EC6,0x8138,0x48C1,{ 0xBC,0x65,0xE1,0xF1,0x42,0x07,0x36,0x7C } }; // 10EB6EC6-8138-48C1-BC65-E1F14207367C
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderFactory>{ 0xC33A3603,0x69DC,0x4285,{ 0xA0,0x77,0xD5,0xC0,0xE4,0x7C,0xCB,0xE8 } }; // C33A3603-69DC-4285-A077-D5C0E47CCBE8
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics>{ 0xBF777CE1,0x19C8,0x49C2,{ 0x95,0x3C,0x47,0xE9,0x22,0x7B,0x33,0x4E } }; // BF777CE1-19C8-49C2-953C-47E9227B334E
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2>{ 0x0CC04141,0x6466,0x4989,{ 0x94,0x94,0x0B,0x82,0xDF,0xC5,0x3F,0x1F } }; // 0CC04141-6466-4989-9494-0B82DFC53F1F
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3>{ 0x64609DFB,0x64AC,0x491B,{ 0x81,0x00,0x0E,0x55,0x8D,0x61,0xC1,0xD0 } }; // 64609DFB-64AC-491B-8100-0E558D61C1D0
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4>{ 0x9FB36C32,0x6C8C,0x4316,{ 0x96,0x2E,0x90,0x95,0x39,0xB5,0xC2,0x59 } }; // 9FB36C32-6C8C-4316-962E-909539B5C259
template <> struct default_interface<winrt::Windows::ApplicationModel::Resources::ResourceLoader>{ using type = winrt::Windows::ApplicationModel::Resources::IResourceLoader; };
template <> struct abi<winrt::Windows::ApplicationModel::Resources::IResourceLoader>
{
@@ -88,6 +92,13 @@ namespace winrt::impl
virtual int32_t __stdcall GetForUIContext(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall GetDefaultPriPath(void*, void**) noexcept = 0;
};
};
template <typename D>
struct consume_Windows_ApplicationModel_Resources_IResourceLoader
{
@@ -145,5 +156,14 @@ namespace winrt::impl
{
template <typename D> using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4
{
WINRT_IMPL_AUTO(hstring) GetDefaultPriPath(param::hstring const& packageFullName) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4>
{
template <typename D> using type = consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4<D>;
};
}
#endif
@@ -71,5 +71,16 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources
IResourceLoaderStatics3& operator=(IResourceLoaderStatics3 const&) & noexcept = default;
IResourceLoaderStatics3& operator=(IResourceLoaderStatics3&&) & noexcept = default;
};
struct __declspec(empty_bases) IResourceLoaderStatics4 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IResourceLoaderStatics4>
{
IResourceLoaderStatics4(std::nullptr_t = nullptr) noexcept {}
IResourceLoaderStatics4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IResourceLoaderStatics4(IResourceLoaderStatics4 const&) noexcept = default;
IResourceLoaderStatics4(IResourceLoaderStatics4&&) noexcept = default;
IResourceLoaderStatics4& operator=(IResourceLoaderStatics4 const&) & noexcept = default;
IResourceLoaderStatics4& operator=(IResourceLoaderStatics4&&) & noexcept = default;
};
}
#endif
@@ -24,6 +24,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources
static auto GetForViewIndependentUse();
static auto GetForViewIndependentUse(param::hstring const& name);
static auto GetForUIContext(winrt::Windows::UI::UIContext const& context);
static auto GetDefaultPriPath(param::hstring const& packageFullName);
};
}
#endif
@@ -81,6 +81,7 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation
struct IGeocircleFactory;
struct IGeocoordinate;
struct IGeocoordinateSatelliteData;
struct IGeocoordinateSatelliteData2;
struct IGeocoordinateWithPoint;
struct IGeocoordinateWithPositionData;
struct IGeocoordinateWithPositionSourceTimestamp;
@@ -132,6 +133,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Devices::Geolocation::IGeocircleFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Devices::Geolocation::IGeocoordinate>{ using type = interface_category; };
template <> struct category<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData>{ using type = interface_category; };
template <> struct category<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint>{ using type = interface_category; };
template <> struct category<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData>{ using type = interface_category; };
template <> struct category<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp>{ using type = interface_category; };
@@ -213,6 +215,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Geolocation::IGeocircleFactory> = L"Windows.Devices.Geolocation.IGeocircleFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Geolocation::IGeocoordinate> = L"Windows.Devices.Geolocation.IGeocoordinate";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData> = L"Windows.Devices.Geolocation.IGeocoordinateSatelliteData";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2> = L"Windows.Devices.Geolocation.IGeocoordinateSatelliteData2";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint> = L"Windows.Devices.Geolocation.IGeocoordinateWithPoint";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData> = L"Windows.Devices.Geolocation.IGeocoordinateWithPositionData";
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp> = L"Windows.Devices.Geolocation.IGeocoordinateWithPositionSourceTimestamp";
@@ -244,6 +247,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Geolocation::IGeocircleFactory>{ 0xAFD6531F,0x72B1,0x4F7D,{ 0x87,0xCC,0x4E,0xD4,0xC9,0x84,0x9C,0x05 } }; // AFD6531F-72B1-4F7D-87CC-4ED4C9849C05
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Geolocation::IGeocoordinate>{ 0xEE21A3AA,0x976A,0x4C70,{ 0x80,0x3D,0x08,0x3E,0xA5,0x5B,0xCB,0xC4 } }; // EE21A3AA-976A-4C70-803D-083EA55BCBC4
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData>{ 0xC32A74D9,0x2608,0x474C,{ 0x91,0x2C,0x06,0xDD,0x49,0x0F,0x4A,0xF7 } }; // C32A74D9-2608-474C-912C-06DD490F4AF7
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>{ 0x761C8CFD,0xA19D,0x5A51,{ 0x80,0xF5,0x71,0x67,0x61,0x15,0x48,0x3E } }; // 761C8CFD-A19D-5A51-80F5-71676115483E
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint>{ 0xFEEA0525,0xD22C,0x4D46,{ 0xB5,0x27,0x0B,0x96,0x06,0x6F,0xC7,0xDB } }; // FEEA0525-D22C-4D46-B527-0B96066FC7DB
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData>{ 0x95E634BE,0xDBD6,0x40AC,{ 0xB8,0xF2,0xA6,0x5C,0x03,0x40,0xD9,0xA6 } }; // 95E634BE-DBD6-40AC-B8F2-A65C0340D9A6
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp>{ 0x8543FC02,0xC9F1,0x4610,{ 0xAF,0xE0,0x8B,0xC3,0xA6,0xA8,0x70,0x36 } }; // 8543FC02-C9F1-4610-AFE0-8BC3A6A87036
@@ -363,6 +367,14 @@ namespace winrt::impl
virtual int32_t __stdcall get_VerticalDilutionOfPrecision(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_GeometricDilutionOfPrecision(void**) noexcept = 0;
virtual int32_t __stdcall get_TimeDilutionOfPrecision(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint>
{
struct __declspec(novtable) type : inspectable_abi
@@ -653,6 +665,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData<D>;
};
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) GeometricDilutionOfPrecision() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) TimeDilutionOfPrecision() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>
{
template <typename D> using type = consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2<D>;
};
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const;
@@ -95,6 +95,17 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation
IGeocoordinateSatelliteData& operator=(IGeocoordinateSatelliteData const&) & noexcept = default;
IGeocoordinateSatelliteData& operator=(IGeocoordinateSatelliteData&&) & noexcept = default;
};
struct __declspec(empty_bases) IGeocoordinateSatelliteData2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGeocoordinateSatelliteData2>
{
IGeocoordinateSatelliteData2(std::nullptr_t = nullptr) noexcept {}
IGeocoordinateSatelliteData2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IGeocoordinateSatelliteData2(IGeocoordinateSatelliteData2 const&) noexcept = default;
IGeocoordinateSatelliteData2(IGeocoordinateSatelliteData2&&) noexcept = default;
IGeocoordinateSatelliteData2& operator=(IGeocoordinateSatelliteData2 const&) & noexcept = default;
IGeocoordinateSatelliteData2& operator=(IGeocoordinateSatelliteData2&&) & noexcept = default;
};
struct __declspec(empty_bases) IGeocoordinateWithPoint :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGeocoordinateWithPoint>
@@ -67,7 +67,8 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation
Geocoordinate& operator=(Geocoordinate const&) & noexcept = default;
Geocoordinate& operator=(Geocoordinate&&) & noexcept = default;
};
struct __declspec(empty_bases) GeocoordinateSatelliteData : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData
struct __declspec(empty_bases) GeocoordinateSatelliteData : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData,
impl::require<GeocoordinateSatelliteData, winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>
{
GeocoordinateSatelliteData(std::nullptr_t) noexcept {}
GeocoordinateSatelliteData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData(ptr, take_ownership_from_abi) {}
@@ -6,6 +6,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics
{
struct IGeometrySource2D;
struct DisplayAdapterId;
struct DisplayId;
struct PointInt32;
struct RectInt32;
struct SizeInt32;
@@ -14,10 +15,12 @@ namespace winrt::impl
{
template <> struct category<winrt::Windows::Graphics::IGeometrySource2D>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::DisplayAdapterId>{ using type = struct_category<uint32_t, int32_t>; };
template <> struct category<winrt::Windows::Graphics::DisplayId>{ using type = struct_category<uint64_t>; };
template <> struct category<winrt::Windows::Graphics::PointInt32>{ using type = struct_category<int32_t, int32_t>; };
template <> struct category<winrt::Windows::Graphics::RectInt32>{ using type = struct_category<int32_t, int32_t, int32_t, int32_t>; };
template <> struct category<winrt::Windows::Graphics::SizeInt32>{ using type = struct_category<int32_t, int32_t>; };
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::DisplayAdapterId> = L"Windows.Graphics.DisplayAdapterId";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::DisplayId> = L"Windows.Graphics.DisplayId";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::PointInt32> = L"Windows.Graphics.PointInt32";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::RectInt32> = L"Windows.Graphics.RectInt32";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::SizeInt32> = L"Windows.Graphics.SizeInt32";
@@ -46,6 +49,14 @@ namespace winrt::impl
{
using type = struct_Windows_Graphics_DisplayAdapterId;
};
struct struct_Windows_Graphics_DisplayId
{
uint64_t Value;
};
template <> struct abi<Windows::Graphics::DisplayId>
{
using type = struct_Windows_Graphics_DisplayId;
};
struct struct_Windows_Graphics_PointInt32
{
int32_t X;
@@ -18,6 +18,18 @@ WINRT_EXPORT namespace winrt::Windows::Graphics
{
return !(left == right);
}
struct DisplayId
{
uint64_t Value;
};
inline bool operator==(DisplayId const& left, DisplayId const& right) noexcept
{
return left.Value == right.Value;
}
inline bool operator!=(DisplayId const& left, DisplayId const& right) noexcept
{
return !(left == right);
}
struct PointInt32
{
int32_t X;
@@ -10,6 +10,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
}
WINRT_EXPORT namespace winrt::Windows::Graphics
{
struct DisplayId;
struct SizeInt32;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX
@@ -21,28 +22,44 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11
struct IDirect3DDevice;
struct IDirect3DSurface;
}
WINRT_EXPORT namespace winrt::Windows::Security::Authorization::AppCapabilityAccess
{
enum class AppCapabilityAccessStatus : int32_t;
}
WINRT_EXPORT namespace winrt::Windows::System
{
struct DispatcherQueue;
}
WINRT_EXPORT namespace winrt::Windows::UI
{
struct WindowId;
}
WINRT_EXPORT namespace winrt::Windows::UI::Composition
{
struct Visual;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
{
enum class GraphicsCaptureAccessKind : int32_t
{
Borderless = 0,
};
struct IDirect3D11CaptureFrame;
struct IDirect3D11CaptureFramePool;
struct IDirect3D11CaptureFramePoolStatics;
struct IDirect3D11CaptureFramePoolStatics2;
struct IGraphicsCaptureAccessStatics;
struct IGraphicsCaptureItem;
struct IGraphicsCaptureItemStatics;
struct IGraphicsCaptureItemStatics2;
struct IGraphicsCapturePicker;
struct IGraphicsCaptureSession;
struct IGraphicsCaptureSession2;
struct IGraphicsCaptureSession3;
struct IGraphicsCaptureSessionStatics;
struct Direct3D11CaptureFrame;
struct Direct3D11CaptureFramePool;
struct GraphicsCaptureAccess;
struct GraphicsCaptureItem;
struct GraphicsCapturePicker;
struct GraphicsCaptureSession;
@@ -53,41 +70,54 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCapturePicker>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Capture::GraphicsCaptureAccess>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Capture::GraphicsCapturePicker>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Capture::GraphicsCaptureSession>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind>{ using type = enum_category; };
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame> = L"Windows.Graphics.Capture.Direct3D11CaptureFrame";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool> = L"Windows.Graphics.Capture.Direct3D11CaptureFramePool";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::GraphicsCaptureAccess> = L"Windows.Graphics.Capture.GraphicsCaptureAccess";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::GraphicsCaptureItem> = L"Windows.Graphics.Capture.GraphicsCaptureItem";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::GraphicsCapturePicker> = L"Windows.Graphics.Capture.GraphicsCapturePicker";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::GraphicsCaptureSession> = L"Windows.Graphics.Capture.GraphicsCaptureSession";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind> = L"Windows.Graphics.Capture.GraphicsCaptureAccessKind";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame> = L"Windows.Graphics.Capture.IDirect3D11CaptureFrame";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool> = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePool";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics> = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePoolStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2> = L"Windows.Graphics.Capture.IDirect3D11CaptureFramePoolStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics> = L"Windows.Graphics.Capture.IGraphicsCaptureAccessStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem> = L"Windows.Graphics.Capture.IGraphicsCaptureItem";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics> = L"Windows.Graphics.Capture.IGraphicsCaptureItemStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2> = L"Windows.Graphics.Capture.IGraphicsCaptureItemStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCapturePicker> = L"Windows.Graphics.Capture.IGraphicsCapturePicker";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession> = L"Windows.Graphics.Capture.IGraphicsCaptureSession";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2> = L"Windows.Graphics.Capture.IGraphicsCaptureSession2";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3> = L"Windows.Graphics.Capture.IGraphicsCaptureSession3";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics> = L"Windows.Graphics.Capture.IGraphicsCaptureSessionStatics";
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame>{ 0xFA50C623,0x38DA,0x4B32,{ 0xAC,0xF3,0xFA,0x97,0x34,0xAD,0x80,0x0E } }; // FA50C623-38DA-4B32-ACF3-FA9734AD800E
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool>{ 0x24EB6D22,0x1975,0x422E,{ 0x82,0xE7,0x78,0x0D,0xBD,0x8D,0xDF,0x24 } }; // 24EB6D22-1975-422E-82E7-780DBD8DDF24
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics>{ 0x7784056A,0x67AA,0x4D53,{ 0xAE,0x54,0x10,0x88,0xD5,0xA8,0xCA,0x21 } }; // 7784056A-67AA-4D53-AE54-1088D5A8CA21
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2>{ 0x589B103F,0x6BBC,0x5DF5,{ 0xA9,0x91,0x02,0xE2,0x8B,0x3B,0x66,0xD5 } }; // 589B103F-6BBC-5DF5-A991-02E28B3B66D5
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics>{ 0x743ED370,0x06EC,0x5040,{ 0xA5,0x8A,0x90,0x1F,0x0F,0x75,0x70,0x95 } }; // 743ED370-06EC-5040-A58A-901F0F757095
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem>{ 0x79C3F95B,0x31F7,0x4EC2,{ 0xA4,0x64,0x63,0x2E,0xF5,0xD3,0x07,0x60 } }; // 79C3F95B-31F7-4EC2-A464-632EF5D30760
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics>{ 0xA87EBEA5,0x457C,0x5788,{ 0xAB,0x47,0x0C,0xF1,0xD3,0x63,0x7E,0x74 } }; // A87EBEA5-457C-5788-AB47-0CF1D3637E74
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2>{ 0x3B92ACC9,0xE584,0x5862,{ 0xBF,0x5C,0x9C,0x31,0x6C,0x6D,0x2D,0xBB } }; // 3B92ACC9-E584-5862-BF5C-9C316C6D2DBB
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCapturePicker>{ 0x5A1711B3,0xAD79,0x4B4A,{ 0x93,0x36,0x13,0x18,0xFD,0xDE,0x35,0x39 } }; // 5A1711B3-AD79-4B4A-9336-1318FDDE3539
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession>{ 0x814E42A9,0xF70F,0x4AD7,{ 0x93,0x9B,0xFD,0xDC,0xC6,0xEB,0x88,0x0D } }; // 814E42A9-F70F-4AD7-939B-FDDCC6EB880D
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2>{ 0x2C39AE40,0x7D2E,0x5044,{ 0x80,0x4E,0x8B,0x67,0x99,0xD4,0xCF,0x9E } }; // 2C39AE40-7D2E-5044-804E-8B6799D4CF9E
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3>{ 0xF2CDD966,0x22AE,0x5EA1,{ 0x95,0x96,0x3A,0x28,0x93,0x44,0xC3,0xBE } }; // F2CDD966-22AE-5EA1-9596-3A289344C3BE
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics>{ 0x2224A540,0x5974,0x49AA,{ 0xB2,0x32,0x08,0x82,0x53,0x6F,0x4C,0xB5 } }; // 2224A540-5974-49AA-B232-0882536F4CB5
template <> struct default_interface<winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame>{ using type = winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame; };
template <> struct default_interface<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool>{ using type = winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool; };
@@ -129,6 +159,13 @@ namespace winrt::impl
virtual int32_t __stdcall CreateFreeThreaded(void*, int32_t, int32_t, struct struct_Windows_Graphics_SizeInt32, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall RequestAccessAsync(int32_t, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem>
{
struct __declspec(novtable) type : inspectable_abi
@@ -146,6 +183,14 @@ namespace winrt::impl
virtual int32_t __stdcall CreateFromVisual(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall TryCreateFromWindowId(struct struct_Windows_UI_WindowId, void**) noexcept = 0;
virtual int32_t __stdcall TryCreateFromDisplayId(struct struct_Windows_Graphics_DisplayId, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Capture::IGraphicsCapturePicker>
{
struct __declspec(novtable) type : inspectable_abi
@@ -168,6 +213,14 @@ namespace winrt::impl
virtual int32_t __stdcall put_IsCursorCaptureEnabled(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_IsBorderRequired(bool*) noexcept = 0;
virtual int32_t __stdcall put_IsBorderRequired(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -221,6 +274,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2<D>;
};
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>) RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics>
{
template <typename D> using type = consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics<D>;
};
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureItem
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const;
@@ -244,6 +306,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics<D>;
};
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const;
WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2>
{
template <typename D> using type = consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2<D>;
};
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCapturePicker
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>) PickSingleItemAsync() const;
@@ -272,6 +344,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession2<D>;
};
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession3
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsBorderRequired() const;
WINRT_IMPL_AUTO(void) IsBorderRequired(bool value) const;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3>
{
template <typename D> using type = consume_Windows_Graphics_Capture_IGraphicsCaptureSession3<D>;
};
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics
{
WINRT_IMPL_AUTO(bool) IsSupported() const;
@@ -49,6 +49,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
IDirect3D11CaptureFramePoolStatics2& operator=(IDirect3D11CaptureFramePoolStatics2 const&) & noexcept = default;
IDirect3D11CaptureFramePoolStatics2& operator=(IDirect3D11CaptureFramePoolStatics2&&) & noexcept = default;
};
struct __declspec(empty_bases) IGraphicsCaptureAccessStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGraphicsCaptureAccessStatics>
{
IGraphicsCaptureAccessStatics(std::nullptr_t = nullptr) noexcept {}
IGraphicsCaptureAccessStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IGraphicsCaptureAccessStatics(IGraphicsCaptureAccessStatics const&) noexcept = default;
IGraphicsCaptureAccessStatics(IGraphicsCaptureAccessStatics&&) noexcept = default;
IGraphicsCaptureAccessStatics& operator=(IGraphicsCaptureAccessStatics const&) & noexcept = default;
IGraphicsCaptureAccessStatics& operator=(IGraphicsCaptureAccessStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) IGraphicsCaptureItem :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGraphicsCaptureItem>
@@ -71,6 +82,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
IGraphicsCaptureItemStatics& operator=(IGraphicsCaptureItemStatics const&) & noexcept = default;
IGraphicsCaptureItemStatics& operator=(IGraphicsCaptureItemStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) IGraphicsCaptureItemStatics2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGraphicsCaptureItemStatics2>
{
IGraphicsCaptureItemStatics2(std::nullptr_t = nullptr) noexcept {}
IGraphicsCaptureItemStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IGraphicsCaptureItemStatics2(IGraphicsCaptureItemStatics2 const&) noexcept = default;
IGraphicsCaptureItemStatics2(IGraphicsCaptureItemStatics2&&) noexcept = default;
IGraphicsCaptureItemStatics2& operator=(IGraphicsCaptureItemStatics2 const&) & noexcept = default;
IGraphicsCaptureItemStatics2& operator=(IGraphicsCaptureItemStatics2&&) & noexcept = default;
};
struct __declspec(empty_bases) IGraphicsCapturePicker :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGraphicsCapturePicker>
@@ -104,6 +126,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
IGraphicsCaptureSession2& operator=(IGraphicsCaptureSession2 const&) & noexcept = default;
IGraphicsCaptureSession2& operator=(IGraphicsCaptureSession2&&) & noexcept = default;
};
struct __declspec(empty_bases) IGraphicsCaptureSession3 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGraphicsCaptureSession3>
{
IGraphicsCaptureSession3(std::nullptr_t = nullptr) noexcept {}
IGraphicsCaptureSession3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IGraphicsCaptureSession3(IGraphicsCaptureSession3 const&) noexcept = default;
IGraphicsCaptureSession3(IGraphicsCaptureSession3&&) noexcept = default;
IGraphicsCaptureSession3& operator=(IGraphicsCaptureSession3 const&) & noexcept = default;
IGraphicsCaptureSession3& operator=(IGraphicsCaptureSession3&&) & noexcept = default;
};
struct __declspec(empty_bases) IGraphicsCaptureSessionStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IGraphicsCaptureSessionStatics>
@@ -6,6 +6,7 @@
#include "winrt/impl/Windows.Graphics.1.h"
#include "winrt/impl/Windows.Graphics.DirectX.1.h"
#include "winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h"
#include "winrt/impl/Windows.UI.1.h"
#include "winrt/impl/Windows.UI.Composition.1.h"
#include "winrt/impl/Windows.Graphics.Capture.1.h"
WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
@@ -32,6 +33,11 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
static auto Create(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size);
static auto CreateFreeThreaded(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, int32_t numberOfBuffers, winrt::Windows::Graphics::SizeInt32 const& size);
};
struct GraphicsCaptureAccess
{
GraphicsCaptureAccess() = delete;
static auto RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request);
};
struct __declspec(empty_bases) GraphicsCaptureItem : winrt::Windows::Graphics::Capture::IGraphicsCaptureItem
{
GraphicsCaptureItem(std::nullptr_t) noexcept {}
@@ -41,6 +47,8 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
GraphicsCaptureItem& operator=(GraphicsCaptureItem const&) & noexcept = default;
GraphicsCaptureItem& operator=(GraphicsCaptureItem&&) & noexcept = default;
static auto CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual);
static auto TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId);
static auto TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId);
};
struct __declspec(empty_bases) GraphicsCapturePicker : winrt::Windows::Graphics::Capture::IGraphicsCapturePicker
{
@@ -53,7 +61,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Capture
GraphicsCapturePicker& operator=(GraphicsCapturePicker&&) & noexcept = default;
};
struct __declspec(empty_bases) GraphicsCaptureSession : winrt::Windows::Graphics::Capture::IGraphicsCaptureSession,
impl::require<GraphicsCaptureSession, winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2, winrt::Windows::Foundation::IClosable>
impl::require<GraphicsCaptureSession, winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2, winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3, winrt::Windows::Foundation::IClosable>
{
GraphicsCaptureSession(std::nullptr_t) noexcept {}
GraphicsCaptureSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Capture::IGraphicsCaptureSession(ptr, take_ownership_from_abi) {}
@@ -14,6 +14,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Graphics
{
struct DisplayId;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStream;
@@ -99,6 +103,8 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display
struct IDisplayInformation5;
struct IDisplayInformationStatics;
struct IDisplayPropertiesStatics;
struct IDisplayServices;
struct IDisplayServicesStatics;
struct AdvancedColorInfo;
struct BrightnessOverride;
struct BrightnessOverrideSettings;
@@ -108,6 +114,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display
struct DisplayEnhancementOverrideCapabilitiesChangedEventArgs;
struct DisplayInformation;
struct DisplayProperties;
struct DisplayServices;
struct NitRange;
struct DisplayPropertiesEventHandler;
}
@@ -131,6 +138,8 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Graphics::Display::IDisplayInformation5>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Display::IDisplayInformationStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Display::IDisplayServices>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Display::IDisplayServicesStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Display::AdvancedColorInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Display::BrightnessOverride>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Display::BrightnessOverrideSettings>{ using type = class_category; };
@@ -140,6 +149,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Display::DisplayInformation>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Display::DisplayProperties>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Display::DisplayServices>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Display::AdvancedColorKind>{ using type = enum_category; };
template <> struct category<winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions>{ using type = enum_category; };
template <> struct category<winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario>{ using type = enum_category; };
@@ -159,6 +169,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> = L"Windows.Graphics.Display.DisplayEnhancementOverrideCapabilitiesChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::DisplayInformation> = L"Windows.Graphics.Display.DisplayInformation";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::DisplayProperties> = L"Windows.Graphics.Display.DisplayProperties";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::DisplayServices> = L"Windows.Graphics.Display.DisplayServices";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::AdvancedColorKind> = L"Windows.Graphics.Display.AdvancedColorKind";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions> = L"Windows.Graphics.Display.DisplayBrightnessOverrideOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario> = L"Windows.Graphics.Display.DisplayBrightnessOverrideScenario";
@@ -186,6 +197,8 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::IDisplayInformation5> = L"Windows.Graphics.Display.IDisplayInformation5";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::IDisplayInformationStatics> = L"Windows.Graphics.Display.IDisplayInformationStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics> = L"Windows.Graphics.Display.IDisplayPropertiesStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::IDisplayServices> = L"Windows.Graphics.Display.IDisplayServices";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::IDisplayServicesStatics> = L"Windows.Graphics.Display.IDisplayServicesStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler> = L"Windows.Graphics.Display.DisplayPropertiesEventHandler";
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::IAdvancedColorInfo>{ 0x8797DCFB,0xB229,0x4081,{ 0xAE,0x9A,0x2C,0xC8,0x5E,0x34,0xAD,0x6A } }; // 8797DCFB-B229-4081-AE9A-2CC85E34AD6A
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::IBrightnessOverride>{ 0x96C9621A,0xC143,0x4392,{ 0xBE,0xDD,0x4A,0x7E,0x95,0x74,0xC8,0xFD } }; // 96C9621A-C143-4392-BEDD-4A7E9574C8FD
@@ -205,6 +218,8 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::IDisplayInformation5>{ 0x3A5442DC,0x2CDE,0x4A8D,{ 0x80,0xD1,0x21,0xDC,0x5A,0xDC,0xC1,0xAA } }; // 3A5442DC-2CDE-4A8D-80D1-21DC5ADCC1AA
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::IDisplayInformationStatics>{ 0xC6A02A6C,0xD452,0x44DC,{ 0xBA,0x07,0x96,0xF3,0xC6,0xAD,0xF9,0xD1 } }; // C6A02A6C-D452-44DC-BA07-96F3C6ADF9D1
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>{ 0x6937ED8D,0x30EA,0x4DED,{ 0x82,0x71,0x45,0x53,0xFF,0x02,0xF6,0x8A } }; // 6937ED8D-30EA-4DED-8271-4553FF02F68A
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::IDisplayServices>{ 0x1B54F32B,0x890D,0x5747,{ 0xBD,0x26,0xFD,0xBD,0xEB,0x0C,0x8A,0x71 } }; // 1B54F32B-890D-5747-BD26-FDBDEB0C8A71
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::IDisplayServicesStatics>{ 0xDC2096BF,0x730A,0x5560,{ 0xB4,0x61,0x91,0xC1,0x3D,0x69,0x2E,0x0C } }; // DC2096BF-730A-5560-B461-91C13D692E0C
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler>{ 0xDBDD8B01,0xF1A1,0x46D1,{ 0x9E,0xE3,0x54,0x3B,0xCC,0x99,0x59,0x80 } }; // DBDD8B01-F1A1-46D1-9EE3-543BCC995980
template <> struct default_interface<winrt::Windows::Graphics::Display::AdvancedColorInfo>{ using type = winrt::Windows::Graphics::Display::IAdvancedColorInfo; };
template <> struct default_interface<winrt::Windows::Graphics::Display::BrightnessOverride>{ using type = winrt::Windows::Graphics::Display::IBrightnessOverride; };
@@ -214,6 +229,7 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities>{ using type = winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities; };
template <> struct default_interface<winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs>{ using type = winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs; };
template <> struct default_interface<winrt::Windows::Graphics::Display::DisplayInformation>{ using type = winrt::Windows::Graphics::Display::IDisplayInformation; };
template <> struct default_interface<winrt::Windows::Graphics::Display::DisplayServices>{ using type = winrt::Windows::Graphics::Display::IDisplayServices; };
template <> struct abi<winrt::Windows::Graphics::Display::IAdvancedColorInfo>
{
struct __declspec(novtable) type : inspectable_abi
@@ -423,6 +439,19 @@ namespace winrt::impl
virtual int32_t __stdcall remove_DisplayContentsInvalidated(winrt::event_token) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayServices>
{
struct __declspec(novtable) type : inspectable_abi
{
};
};
template <> struct abi<winrt::Windows::Graphics::Display::IDisplayServicesStatics>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall FindAll(uint32_t* __resultSize, struct struct_Windows_Graphics_DisplayId**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler>
{
struct __declspec(novtable) type : unknown_abi
@@ -709,6 +738,23 @@ namespace winrt::impl
{
template <typename D> using type = consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>;
};
template <typename D>
struct consume_Windows_Graphics_Display_IDisplayServices
{
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayServices>
{
template <typename D> using type = consume_Windows_Graphics_Display_IDisplayServices<D>;
};
template <typename D>
struct consume_Windows_Graphics_Display_IDisplayServicesStatics
{
WINRT_IMPL_AUTO(com_array<winrt::Windows::Graphics::DisplayId>) FindAll() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayServicesStatics>
{
template <typename D> using type = consume_Windows_Graphics_Display_IDisplayServicesStatics<D>;
};
struct struct_Windows_Graphics_Display_NitRange
{
float MinNits;
@@ -204,5 +204,27 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display
IDisplayPropertiesStatics& operator=(IDisplayPropertiesStatics const&) & noexcept = default;
IDisplayPropertiesStatics& operator=(IDisplayPropertiesStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) IDisplayServices :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDisplayServices>
{
IDisplayServices(std::nullptr_t = nullptr) noexcept {}
IDisplayServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IDisplayServices(IDisplayServices const&) noexcept = default;
IDisplayServices(IDisplayServices&&) noexcept = default;
IDisplayServices& operator=(IDisplayServices const&) & noexcept = default;
IDisplayServices& operator=(IDisplayServices&&) & noexcept = default;
};
struct __declspec(empty_bases) IDisplayServicesStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDisplayServicesStatics>
{
IDisplayServicesStatics(std::nullptr_t = nullptr) noexcept {}
IDisplayServicesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IDisplayServicesStatics(IDisplayServicesStatics const&) noexcept = default;
IDisplayServicesStatics(IDisplayServicesStatics&&) noexcept = default;
IDisplayServicesStatics& operator=(IDisplayServicesStatics const&) & noexcept = default;
IDisplayServicesStatics& operator=(IDisplayServicesStatics&&) & noexcept = default;
};
}
#endif
@@ -155,5 +155,15 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Display
[[nodiscard]] static DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler);
static auto DisplayContentsInvalidated(winrt::event_token const& token);
};
struct __declspec(empty_bases) DisplayServices : winrt::Windows::Graphics::Display::IDisplayServices
{
DisplayServices(std::nullptr_t) noexcept {}
DisplayServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Display::IDisplayServices(ptr, take_ownership_from_abi) {}
DisplayServices(DisplayServices const&) noexcept = default;
DisplayServices(DisplayServices&&) noexcept = default;
DisplayServices& operator=(DisplayServices const&) & noexcept = default;
DisplayServices& operator=(DisplayServices&&) & noexcept = default;
static auto FindAll();
};
}
#endif
@@ -45,6 +45,11 @@ WINRT_EXPORT namespace winrt::Windows::UI::Core
}
WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
{
enum class HolographicDepthReprojectionMethod : int32_t
{
DepthReprojection = 0,
AutoPlanar = 1,
};
enum class HolographicFramePresentResult : int32_t
{
Success = 0,
@@ -83,6 +88,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
struct IHolographicCameraRenderingParameters;
struct IHolographicCameraRenderingParameters2;
struct IHolographicCameraRenderingParameters3;
struct IHolographicCameraRenderingParameters4;
struct IHolographicCameraViewportParameters;
struct IHolographicDisplay;
struct IHolographicDisplay2;
@@ -110,6 +116,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
struct IHolographicSpaceStatics2;
struct IHolographicSpaceStatics3;
struct IHolographicViewConfiguration;
struct IHolographicViewConfiguration2;
struct HolographicCamera;
struct HolographicCameraPose;
struct HolographicCameraRenderingParameters;
@@ -145,6 +152,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicDisplay>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicDisplay2>{ using type = interface_category; };
@@ -172,6 +180,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics3>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicCamera>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicCameraPose>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicCameraRenderingParameters>{ using type = class_category; };
@@ -190,6 +199,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicViewConfiguration>{ using type = class_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>{ using type = enum_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicFramePresentResult>{ using type = enum_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior>{ using type = enum_category; };
template <> struct category<winrt::Windows::Graphics::Holographic::HolographicReprojectionMode>{ using type = enum_category; };
@@ -216,6 +226,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> = L"Windows.Graphics.Holographic.HolographicSpaceCameraAddedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> = L"Windows.Graphics.Holographic.HolographicSpaceCameraRemovedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::HolographicViewConfiguration> = L"Windows.Graphics.Holographic.HolographicViewConfiguration";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod> = L"Windows.Graphics.Holographic.HolographicDepthReprojectionMethod";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::HolographicFramePresentResult> = L"Windows.Graphics.Holographic.HolographicFramePresentResult";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior> = L"Windows.Graphics.Holographic.HolographicFramePresentWaitBehavior";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::HolographicReprojectionMode> = L"Windows.Graphics.Holographic.HolographicReprojectionMode";
@@ -235,6 +246,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters> = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2> = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters2";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3> = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters3";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4> = L"Windows.Graphics.Holographic.IHolographicCameraRenderingParameters4";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters> = L"Windows.Graphics.Holographic.IHolographicCameraViewportParameters";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicDisplay> = L"Windows.Graphics.Holographic.IHolographicDisplay";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicDisplay2> = L"Windows.Graphics.Holographic.IHolographicDisplay2";
@@ -262,6 +274,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2> = L"Windows.Graphics.Holographic.IHolographicSpaceStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics3> = L"Windows.Graphics.Holographic.IHolographicSpaceStatics3";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration> = L"Windows.Graphics.Holographic.IHolographicViewConfiguration";
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2> = L"Windows.Graphics.Holographic.IHolographicViewConfiguration2";
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCamera>{ 0xE4E98445,0x9BED,0x4980,{ 0x9B,0xA0,0xE8,0x76,0x80,0xD1,0xCB,0x74 } }; // E4E98445-9BED-4980-9BA0-E87680D1CB74
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCamera2>{ 0xB55B9F1A,0xBA8C,0x4F84,{ 0xAD,0x79,0x2E,0x7E,0x1E,0x24,0x50,0xF3 } }; // B55B9F1A-BA8C-4F84-AD79-2E7E1E2450F3
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCamera3>{ 0x45AA4FB3,0x7B59,0x524E,{ 0x4A,0x3F,0x4A,0x6A,0xD6,0x65,0x04,0x77 } }; // 45AA4FB3-7B59-524E-4A3F-4A6AD6650477
@@ -273,6 +286,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters>{ 0x8EAC2ED1,0x5BF4,0x4E16,{ 0x82,0x36,0xAE,0x08,0x00,0xC1,0x1D,0x0D } }; // 8EAC2ED1-5BF4-4E16-8236-AE0800C11D0D
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2>{ 0x261270E3,0xB696,0x4634,{ 0x94,0xD6,0xBE,0x06,0x81,0x64,0x35,0x99 } }; // 261270E3-B696-4634-94D6-BE0681643599
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3>{ 0xB1AA513F,0x136D,0x4B06,{ 0xB9,0xD4,0xE4,0xB9,0x14,0xCD,0x06,0x83 } }; // B1AA513F-136D-4B06-B9D4-E4B914CD0683
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>{ 0x0878FA4C,0xE163,0x57DC,{ 0x82,0xB7,0xC4,0x06,0xAB,0x3E,0x05,0x37 } }; // 0878FA4C-E163-57DC-82B7-C406AB3E0537
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters>{ 0x80CDF3F7,0x842A,0x41E1,{ 0x93,0xED,0x56,0x92,0xAB,0x1F,0xBB,0x10 } }; // 80CDF3F7-842A-41E1-93ED-5692AB1FBB10
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicDisplay>{ 0x9ACEA414,0x1D9F,0x4090,{ 0xA3,0x88,0x90,0xC0,0x6F,0x6E,0xAE,0x9C } }; // 9ACEA414-1D9F-4090-A388-90C06F6EAE9C
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicDisplay2>{ 0x75AC3F82,0xE755,0x436C,{ 0x8D,0x96,0x4D,0x32,0xD1,0x31,0x47,0x3E } }; // 75AC3F82-E755-436C-8D96-4D32D131473E
@@ -300,6 +314,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2>{ 0x0E777088,0x75FC,0x48AF,{ 0x87,0x58,0x06,0x52,0xF6,0xF0,0x7C,0x59 } }; // 0E777088-75FC-48AF-8758-0652F6F07C59
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics3>{ 0x3B00DE3D,0xB1A3,0x4DFE,{ 0x8E,0x79,0xFE,0xC5,0x90,0x9E,0x6D,0xF8 } }; // 3B00DE3D-B1A3-4DFE-8E79-FEC5909E6DF8
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration>{ 0x5C1DE6E6,0x67E9,0x5004,{ 0xB0,0x2C,0x67,0xA3,0xA1,0x22,0xB5,0x76 } }; // 5C1DE6E6-67E9-5004-B02C-67A3A122B576
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>{ 0xE241756E,0xE0D0,0x5019,{ 0x9A,0xF5,0x1B,0x16,0x5B,0xC2,0xF5,0x4E } }; // E241756E-E0D0-5019-9AF5-1B165BC2F54E
template <> struct default_interface<winrt::Windows::Graphics::Holographic::HolographicCamera>{ using type = winrt::Windows::Graphics::Holographic::IHolographicCamera; };
template <> struct default_interface<winrt::Windows::Graphics::Holographic::HolographicCameraPose>{ using type = winrt::Windows::Graphics::Holographic::IHolographicCameraPose; };
template <> struct default_interface<winrt::Windows::Graphics::Holographic::HolographicCameraRenderingParameters>{ using type = winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters; };
@@ -424,6 +439,14 @@ namespace winrt::impl
virtual int32_t __stdcall put_IsContentProtectionEnabled(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_DepthReprojectionMethod(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_DepthReprojectionMethod(int32_t) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters>
{
struct __declspec(novtable) type : inspectable_abi
@@ -674,6 +697,13 @@ namespace winrt::impl
virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_SupportedDepthReprojectionMethods(void**) noexcept = 0;
};
};
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicCamera
{
@@ -803,6 +833,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3<D>;
};
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod) DepthReprojectionMethod() const;
WINRT_IMPL_AUTO(void) DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>
{
template <typename D> using type = consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4<D>;
};
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters
{
[[nodiscard]] WINRT_IMPL_AUTO(com_array<winrt::Windows::Foundation::Numerics::float2>) HiddenAreaMesh() const;
@@ -1114,6 +1154,15 @@ namespace winrt::impl
{
template <typename D> using type = consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>;
};
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>) SupportedDepthReprojectionMethods() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>
{
template <typename D> using type = consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2<D>;
};
struct struct_Windows_Graphics_Holographic_HolographicAdapterId
{
uint32_t LowPart;
@@ -131,6 +131,17 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
IHolographicCameraRenderingParameters3& operator=(IHolographicCameraRenderingParameters3 const&) & noexcept = default;
IHolographicCameraRenderingParameters3& operator=(IHolographicCameraRenderingParameters3&&) & noexcept = default;
};
struct __declspec(empty_bases) IHolographicCameraRenderingParameters4 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IHolographicCameraRenderingParameters4>
{
IHolographicCameraRenderingParameters4(std::nullptr_t = nullptr) noexcept {}
IHolographicCameraRenderingParameters4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IHolographicCameraRenderingParameters4(IHolographicCameraRenderingParameters4 const&) noexcept = default;
IHolographicCameraRenderingParameters4(IHolographicCameraRenderingParameters4&&) noexcept = default;
IHolographicCameraRenderingParameters4& operator=(IHolographicCameraRenderingParameters4 const&) & noexcept = default;
IHolographicCameraRenderingParameters4& operator=(IHolographicCameraRenderingParameters4&&) & noexcept = default;
};
struct __declspec(empty_bases) IHolographicCameraViewportParameters :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IHolographicCameraViewportParameters>
@@ -431,5 +442,16 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
IHolographicViewConfiguration& operator=(IHolographicViewConfiguration const&) & noexcept = default;
IHolographicViewConfiguration& operator=(IHolographicViewConfiguration&&) & noexcept = default;
};
struct __declspec(empty_bases) IHolographicViewConfiguration2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IHolographicViewConfiguration2>
{
IHolographicViewConfiguration2(std::nullptr_t = nullptr) noexcept {}
IHolographicViewConfiguration2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IHolographicViewConfiguration2(IHolographicViewConfiguration2 const&) noexcept = default;
IHolographicViewConfiguration2(IHolographicViewConfiguration2&&) noexcept = default;
IHolographicViewConfiguration2& operator=(IHolographicViewConfiguration2 const&) & noexcept = default;
IHolographicViewConfiguration2& operator=(IHolographicViewConfiguration2&&) & noexcept = default;
};
}
#endif
@@ -68,7 +68,7 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
HolographicCameraPose& operator=(HolographicCameraPose&&) & noexcept = default;
};
struct __declspec(empty_bases) HolographicCameraRenderingParameters : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters,
impl::require<HolographicCameraRenderingParameters, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3>
impl::require<HolographicCameraRenderingParameters, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3, winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>
{
HolographicCameraRenderingParameters(std::nullptr_t) noexcept {}
HolographicCameraRenderingParameters(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters(ptr, take_ownership_from_abi) {}
@@ -219,7 +219,8 @@ WINRT_EXPORT namespace winrt::Windows::Graphics::Holographic
HolographicSpaceCameraRemovedEventArgs& operator=(HolographicSpaceCameraRemovedEventArgs const&) & noexcept = default;
HolographicSpaceCameraRemovedEventArgs& operator=(HolographicSpaceCameraRemovedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) HolographicViewConfiguration : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration
struct __declspec(empty_bases) HolographicViewConfiguration : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration,
impl::require<HolographicViewConfiguration, winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>
{
HolographicViewConfiguration(std::nullptr_t) noexcept {}
HolographicViewConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration(ptr, take_ownership_from_abi) {}
@@ -219,6 +219,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio
struct ISpatialAudioFormatConfiguration;
struct ISpatialAudioFormatConfigurationStatics;
struct ISpatialAudioFormatSubtypeStatics;
struct ISpatialAudioFormatSubtypeStatics2;
struct AudioDeviceInputNode;
struct AudioDeviceOutputNode;
struct AudioFileInputNode;
@@ -325,6 +326,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Audio::ISpatialAudioFormatConfigurationStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Audio::AudioDeviceInputNode>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Audio::AudioDeviceOutputNode>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Audio::AudioFileInputNode>{ using type = class_category; };
@@ -495,6 +497,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration> = L"Windows.Media.Audio.ISpatialAudioFormatConfiguration";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Audio::ISpatialAudioFormatConfigurationStatics> = L"Windows.Media.Audio.ISpatialAudioFormatConfigurationStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics> = L"Windows.Media.Audio.ISpatialAudioFormatSubtypeStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2> = L"Windows.Media.Audio.ISpatialAudioFormatSubtypeStatics2";
template <> inline constexpr guid guid_v<winrt::Windows::Media::Audio::IAudioDeviceInputNode>{ 0xB01B6BE1,0x6F4E,0x49E2,{ 0xAC,0x01,0x55,0x9D,0x62,0xBE,0xB3,0xA9 } }; // B01B6BE1-6F4E-49E2-AC01-559D62BEB3A9
template <> inline constexpr guid guid_v<winrt::Windows::Media::Audio::IAudioDeviceOutputNode>{ 0x362EDBFF,0xFF1C,0x4434,{ 0x9E,0x0F,0xBD,0x2E,0xF5,0x22,0xAC,0x82 } }; // 362EDBFF-FF1C-4434-9E0F-BD2EF522AC82
template <> inline constexpr guid guid_v<winrt::Windows::Media::Audio::IAudioFileInputNode>{ 0x905B67C8,0x6F65,0x4CD4,{ 0x88,0x90,0x46,0x94,0x84,0x3C,0x27,0x6D } }; // 905B67C8-6F65-4CD4-8890-4694843C276D
@@ -559,6 +562,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration>{ 0x32DF09A8,0x50F0,0x5395,{ 0x99,0x23,0x7D,0x44,0xCA,0x71,0xED,0x6D } }; // 32DF09A8-50F0-5395-9923-7D44CA71ED6D
template <> inline constexpr guid guid_v<winrt::Windows::Media::Audio::ISpatialAudioFormatConfigurationStatics>{ 0x2B5FEF71,0x67C9,0x4E5F,{ 0xA3,0x5B,0x41,0x68,0x07,0x11,0xF8,0xC7 } }; // 2B5FEF71-67C9-4E5F-A35B-41680711F8C7
template <> inline constexpr guid guid_v<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics>{ 0xB3DE8A47,0x83EE,0x4266,{ 0xA9,0x45,0xBE,0xDF,0x50,0x7A,0xFE,0xED } }; // B3DE8A47-83EE-4266-A945-BEDF507AFEED
template <> inline constexpr guid guid_v<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2>{ 0x4565E6CB,0xD95B,0x5621,{ 0xB6,0xAF,0x0E,0x88,0x49,0xC5,0x7C,0x80 } }; // 4565E6CB-D95B-5621-B6AF-0E8849C57C80
template <> struct default_interface<winrt::Windows::Media::Audio::AudioDeviceInputNode>{ using type = winrt::Windows::Media::Audio::IAudioDeviceInputNode; };
template <> struct default_interface<winrt::Windows::Media::Audio::AudioDeviceOutputNode>{ using type = winrt::Windows::Media::Audio::IAudioDeviceOutputNode; };
template <> struct default_interface<winrt::Windows::Media::Audio::AudioFileInputNode>{ using type = winrt::Windows::Media::Audio::IAudioFileInputNode; };
@@ -1269,6 +1273,13 @@ namespace winrt::impl
virtual int32_t __stdcall get_DTSXUltra(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_DTSXForHomeTheater(void**) noexcept = 0;
};
};
template <typename D>
struct consume_Windows_Media_Audio_IAudioDeviceInputNode
{
@@ -2089,5 +2100,14 @@ namespace winrt::impl
{
template <typename D> using type = consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>;
};
template <typename D>
struct consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DTSXForHomeTheater() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2>
{
template <typename D> using type = consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2<D>;
};
}
#endif
@@ -736,5 +736,16 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio
ISpatialAudioFormatSubtypeStatics& operator=(ISpatialAudioFormatSubtypeStatics const&) & noexcept = default;
ISpatialAudioFormatSubtypeStatics& operator=(ISpatialAudioFormatSubtypeStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) ISpatialAudioFormatSubtypeStatics2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ISpatialAudioFormatSubtypeStatics2>
{
ISpatialAudioFormatSubtypeStatics2(std::nullptr_t = nullptr) noexcept {}
ISpatialAudioFormatSubtypeStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ISpatialAudioFormatSubtypeStatics2(ISpatialAudioFormatSubtypeStatics2 const&) noexcept = default;
ISpatialAudioFormatSubtypeStatics2(ISpatialAudioFormatSubtypeStatics2&&) noexcept = default;
ISpatialAudioFormatSubtypeStatics2& operator=(ISpatialAudioFormatSubtypeStatics2 const&) & noexcept = default;
ISpatialAudioFormatSubtypeStatics2& operator=(ISpatialAudioFormatSubtypeStatics2&&) & noexcept = default;
};
}
#endif
@@ -409,6 +409,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Audio
[[nodiscard]] static auto DolbyAtmosForSpeakers();
[[nodiscard]] static auto DTSHeadphoneX();
[[nodiscard]] static auto DTSXUltra();
[[nodiscard]] static auto DTSXForHomeTheater();
};
}
#endif
@@ -344,6 +344,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture
HdrWithWcgVideo = 7,
HdrWithWcgPhoto = 8,
VideoHdr8 = 9,
CompressedCamera = 10,
};
enum class MediaCaptureDeviceExclusiveControlStatus : int32_t
{
@@ -372,6 +373,9 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture
Media = 2,
GameChat = 3,
Speech = 4,
FarFieldSpeech = 5,
UniformSpeech = 6,
VoiceTyping = 7,
};
enum class MediaStreamType : int32_t
{
@@ -379,6 +383,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture
VideoRecord = 1,
Audio = 2,
Photo = 3,
Metadata = 4,
};
enum class PhotoCaptureSource : int32_t
{
@@ -97,6 +97,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Capture::Frames
Depth = 3,
Audio = 4,
Image = 5,
Metadata = 6,
};
enum class MediaFrameSourceSetPropertyStatus : int32_t
{
@@ -225,6 +225,23 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
NetworkError = 2,
InternalError = 3,
};
enum class TimedTextBoutenPosition : int32_t
{
Before = 0,
After = 1,
Outside = 2,
};
enum class TimedTextBoutenType : int32_t
{
None = 0,
Auto = 1,
FilledCircle = 2,
OpenCircle = 3,
FilledDot = 4,
OpenDot = 5,
FilledSesame = 6,
OpenSesame = 7,
};
enum class TimedTextDisplayAlignment : int32_t
{
Before = 0,
@@ -248,6 +265,29 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
End = 1,
Center = 2,
};
enum class TimedTextRubyAlign : int32_t
{
Center = 0,
Start = 1,
End = 2,
SpaceAround = 3,
SpaceBetween = 4,
WithBase = 5,
};
enum class TimedTextRubyPosition : int32_t
{
Before = 0,
After = 1,
Outside = 2,
};
enum class TimedTextRubyReserve : int32_t
{
None = 0,
Before = 1,
After = 2,
Both = 3,
Outside = 4,
};
enum class TimedTextScrollMode : int32_t
{
Popon = 0,
@@ -371,15 +411,18 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
struct ITimedMetadataTrackFactory;
struct ITimedMetadataTrackFailedEventArgs;
struct ITimedMetadataTrackProvider;
struct ITimedTextBouten;
struct ITimedTextCue;
struct ITimedTextLine;
struct ITimedTextRegion;
struct ITimedTextRuby;
struct ITimedTextSource;
struct ITimedTextSourceResolveResultEventArgs;
struct ITimedTextSourceStatics;
struct ITimedTextSourceStatics2;
struct ITimedTextStyle;
struct ITimedTextStyle2;
struct ITimedTextStyle3;
struct ITimedTextSubformat;
struct IVideoStabilizationEffect;
struct IVideoStabilizationEffectEnabledChangedEventArgs;
@@ -444,9 +487,11 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
struct TimedMetadataTrack;
struct TimedMetadataTrackError;
struct TimedMetadataTrackFailedEventArgs;
struct TimedTextBouten;
struct TimedTextCue;
struct TimedTextLine;
struct TimedTextRegion;
struct TimedTextRuby;
struct TimedTextSource;
struct TimedTextSourceResolveResultEventArgs;
struct TimedTextStyle;
@@ -553,15 +598,18 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Core::ITimedMetadataTrackFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedMetadataTrackProvider>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextBouten>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextCue>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextLine>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextRegion>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextRuby>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextSource>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextSourceStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextSourceStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextStyle>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextStyle2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextStyle3>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::ITimedTextSubformat>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::IVideoStabilizationEffect>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs>{ using type = interface_category; };
@@ -626,9 +674,11 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Core::TimedMetadataTrack>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedMetadataTrackError>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextBouten>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextCue>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextLine>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextRegion>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextRuby>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextSource>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextStyle>{ using type = class_category; };
@@ -657,10 +707,15 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Core::SceneAnalysisRecommendation>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedMetadataKind>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedMetadataTrackErrorCode>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextBoutenPosition>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextBoutenType>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextDisplayAlignment>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextFlowDirection>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextFontStyle>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextLineAlignment>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextRubyAlign>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextRubyPosition>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextRubyReserve>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextScrollMode>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextUnit>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Core::TimedTextWeight>{ using type = enum_category; };
@@ -727,9 +782,11 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedMetadataTrack> = L"Windows.Media.Core.TimedMetadataTrack";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedMetadataTrackError> = L"Windows.Media.Core.TimedMetadataTrackError";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> = L"Windows.Media.Core.TimedMetadataTrackFailedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextBouten> = L"Windows.Media.Core.TimedTextBouten";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextCue> = L"Windows.Media.Core.TimedTextCue";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextLine> = L"Windows.Media.Core.TimedTextLine";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextRegion> = L"Windows.Media.Core.TimedTextRegion";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextRuby> = L"Windows.Media.Core.TimedTextRuby";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextSource> = L"Windows.Media.Core.TimedTextSource";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> = L"Windows.Media.Core.TimedTextSourceResolveResultEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextStyle> = L"Windows.Media.Core.TimedTextStyle";
@@ -758,10 +815,15 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::SceneAnalysisRecommendation> = L"Windows.Media.Core.SceneAnalysisRecommendation";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedMetadataKind> = L"Windows.Media.Core.TimedMetadataKind";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedMetadataTrackErrorCode> = L"Windows.Media.Core.TimedMetadataTrackErrorCode";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextBoutenPosition> = L"Windows.Media.Core.TimedTextBoutenPosition";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextBoutenType> = L"Windows.Media.Core.TimedTextBoutenType";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextDisplayAlignment> = L"Windows.Media.Core.TimedTextDisplayAlignment";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextFlowDirection> = L"Windows.Media.Core.TimedTextFlowDirection";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextFontStyle> = L"Windows.Media.Core.TimedTextFontStyle";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextLineAlignment> = L"Windows.Media.Core.TimedTextLineAlignment";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextRubyAlign> = L"Windows.Media.Core.TimedTextRubyAlign";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextRubyPosition> = L"Windows.Media.Core.TimedTextRubyPosition";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextRubyReserve> = L"Windows.Media.Core.TimedTextRubyReserve";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextScrollMode> = L"Windows.Media.Core.TimedTextScrollMode";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextUnit> = L"Windows.Media.Core.TimedTextUnit";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::TimedTextWeight> = L"Windows.Media.Core.TimedTextWeight";
@@ -860,15 +922,18 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedMetadataTrackFactory> = L"Windows.Media.Core.ITimedMetadataTrackFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs> = L"Windows.Media.Core.ITimedMetadataTrackFailedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedMetadataTrackProvider> = L"Windows.Media.Core.ITimedMetadataTrackProvider";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextBouten> = L"Windows.Media.Core.ITimedTextBouten";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextCue> = L"Windows.Media.Core.ITimedTextCue";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextLine> = L"Windows.Media.Core.ITimedTextLine";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextRegion> = L"Windows.Media.Core.ITimedTextRegion";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextRuby> = L"Windows.Media.Core.ITimedTextRuby";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextSource> = L"Windows.Media.Core.ITimedTextSource";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs> = L"Windows.Media.Core.ITimedTextSourceResolveResultEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextSourceStatics> = L"Windows.Media.Core.ITimedTextSourceStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextSourceStatics2> = L"Windows.Media.Core.ITimedTextSourceStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextStyle> = L"Windows.Media.Core.ITimedTextStyle";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextStyle2> = L"Windows.Media.Core.ITimedTextStyle2";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextStyle3> = L"Windows.Media.Core.ITimedTextStyle3";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::ITimedTextSubformat> = L"Windows.Media.Core.ITimedTextSubformat";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::IVideoStabilizationEffect> = L"Windows.Media.Core.IVideoStabilizationEffect";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs> = L"Windows.Media.Core.IVideoStabilizationEffectEnabledChangedEventArgs";
@@ -965,15 +1030,18 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedMetadataTrackFactory>{ 0x8DD57611,0x97B3,0x4E1F,{ 0x85,0x2C,0x0F,0x48,0x2C,0x81,0xAD,0x26 } }; // 8DD57611-97B3-4E1F-852C-0F482C81AD26
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs>{ 0xA57FC9D1,0x6789,0x4D4D,{ 0xB0,0x7F,0x84,0xB4,0xF3,0x1A,0xCB,0x70 } }; // A57FC9D1-6789-4D4D-B07F-84B4F31ACB70
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedMetadataTrackProvider>{ 0x3B7F2024,0xF74E,0x4ADE,{ 0x93,0xC5,0x21,0x9D,0xA0,0x5B,0x68,0x56 } }; // 3B7F2024-F74E-4ADE-93C5-219DA05B6856
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextBouten>{ 0xD9062783,0x5597,0x5092,{ 0x82,0x0C,0x8F,0x73,0x8E,0x0F,0x77,0x4A } }; // D9062783-5597-5092-820C-8F738E0F774A
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextCue>{ 0x51C79E51,0x3B86,0x494D,{ 0xB3,0x59,0xBB,0x2E,0xA7,0xAC,0xA9,0xA9 } }; // 51C79E51-3B86-494D-B359-BB2EA7ACA9A9
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextLine>{ 0x978D7CE2,0x7308,0x4C66,{ 0xBE,0x50,0x65,0x77,0x72,0x89,0xF5,0xDF } }; // 978D7CE2-7308-4C66-BE50-65777289F5DF
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextRegion>{ 0x1ED0881F,0x8A06,0x4222,{ 0x9F,0x59,0xB2,0x1B,0xF4,0x01,0x24,0xB4 } }; // 1ED0881F-8A06-4222-9F59-B21BF40124B4
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextRuby>{ 0x10335C29,0x5B3C,0x5693,{ 0x99,0x59,0xD0,0x5A,0x0B,0xD2,0x46,0x28 } }; // 10335C29-5B3C-5693-9959-D05A0BD24628
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextSource>{ 0xC4ED9BA6,0x101F,0x404D,{ 0xA9,0x49,0x82,0xF3,0x3F,0xCD,0x93,0xB7 } }; // C4ED9BA6-101F-404D-A949-82F33FCD93B7
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs>{ 0x48907C9C,0xDCD8,0x4C33,{ 0x9A,0xD3,0x6C,0xDC,0xE7,0xB1,0xC5,0x66 } }; // 48907C9C-DCD8-4C33-9AD3-6CDCE7B1C566
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextSourceStatics>{ 0x7E311853,0x9ABA,0x4AC4,{ 0xBB,0x98,0x2F,0xB1,0x76,0xC3,0xBF,0xDD } }; // 7E311853-9ABA-4AC4-BB98-2FB176C3BFDD
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextSourceStatics2>{ 0xB66B7602,0x923E,0x43FA,{ 0x96,0x33,0x58,0x70,0x75,0x81,0x2D,0xB5 } }; // B66B7602-923E-43FA-9633-587075812DB5
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextStyle>{ 0x1BB2384D,0xA825,0x40C2,{ 0xA7,0xF5,0x28,0x1E,0xAE,0xDF,0x3B,0x55 } }; // 1BB2384D-A825-40C2-A7F5-281EAEDF3B55
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextStyle2>{ 0x655F492D,0x6111,0x4787,{ 0x89,0xCC,0x68,0x6F,0xEC,0xE5,0x7E,0x14 } }; // 655F492D-6111-4787-89CC-686FECE57E14
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextStyle3>{ 0xF803F93B,0x3E99,0x595E,{ 0xBB,0xB7,0x78,0xA2,0xFA,0x13,0xC2,0x70 } }; // F803F93B-3E99-595E-BBB7-78A2FA13C270
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::ITimedTextSubformat>{ 0xD713502F,0x3261,0x4722,{ 0xA0,0xC2,0xB9,0x37,0xB2,0x39,0x0F,0x14 } }; // D713502F-3261-4722-A0C2-B937B2390F14
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::IVideoStabilizationEffect>{ 0x0808A650,0x9698,0x4E57,{ 0x87,0x7B,0xBD,0x7C,0xB2,0xEE,0x0F,0x8A } }; // 0808A650-9698-4E57-877B-BD7CB2EE0F8A
template <> inline constexpr guid guid_v<winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs>{ 0x187EFF28,0x67BB,0x4713,{ 0xB9,0x00,0x41,0x68,0xDA,0x16,0x45,0x29 } }; // 187EFF28-67BB-4713-B900-4168DA164529
@@ -1036,9 +1104,11 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Media::Core::TimedMetadataTrack>{ using type = winrt::Windows::Media::Core::ITimedMetadataTrack; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedMetadataTrackError>{ using type = winrt::Windows::Media::Core::ITimedMetadataTrackError; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs>{ using type = winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextBouten>{ using type = winrt::Windows::Media::Core::ITimedTextBouten; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextCue>{ using type = winrt::Windows::Media::Core::ITimedTextCue; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextLine>{ using type = winrt::Windows::Media::Core::ITimedTextLine; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextRegion>{ using type = winrt::Windows::Media::Core::ITimedTextRegion; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextRuby>{ using type = winrt::Windows::Media::Core::ITimedTextRuby; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextSource>{ using type = winrt::Windows::Media::Core::ITimedTextSource; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs>{ using type = winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs; };
template <> struct default_interface<winrt::Windows::Media::Core::TimedTextStyle>{ using type = winrt::Windows::Media::Core::ITimedTextStyle; };
@@ -1917,6 +1987,18 @@ namespace winrt::impl
virtual int32_t __stdcall get_TimedMetadataTracks(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Core::ITimedTextBouten>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_Type(int32_t) noexcept = 0;
virtual int32_t __stdcall get_Color(struct struct_Windows_UI_Color*) noexcept = 0;
virtual int32_t __stdcall put_Color(struct struct_Windows_UI_Color) noexcept = 0;
virtual int32_t __stdcall get_Position(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_Position(int32_t) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Core::ITimedTextCue>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1967,6 +2049,20 @@ namespace winrt::impl
virtual int32_t __stdcall put_ScrollMode(int32_t) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Core::ITimedTextRuby>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Text(void**) noexcept = 0;
virtual int32_t __stdcall put_Text(void*) noexcept = 0;
virtual int32_t __stdcall get_Position(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_Position(int32_t) noexcept = 0;
virtual int32_t __stdcall get_Align(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_Align(int32_t) noexcept = 0;
virtual int32_t __stdcall get_Reserve(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_Reserve(int32_t) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Core::ITimedTextSource>
{
struct __declspec(novtable) type : inspectable_abi
@@ -2047,6 +2143,18 @@ namespace winrt::impl
virtual int32_t __stdcall put_IsOverlineEnabled(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Core::ITimedTextStyle3>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Ruby(void**) noexcept = 0;
virtual int32_t __stdcall get_Bouten(void**) noexcept = 0;
virtual int32_t __stdcall get_IsTextCombined(bool*) noexcept = 0;
virtual int32_t __stdcall put_IsTextCombined(bool) noexcept = 0;
virtual int32_t __stdcall get_FontAngleInDegrees(double*) noexcept = 0;
virtual int32_t __stdcall put_FontAngleInDegrees(double) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Core::ITimedTextSubformat>
{
struct __declspec(novtable) type : inspectable_abi
@@ -3225,6 +3333,20 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Media_Core_ITimedMetadataTrackProvider<D>;
};
template <typename D>
struct consume_Windows_Media_Core_ITimedTextBouten
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenType) Type() const;
WINRT_IMPL_AUTO(void) Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Color) Color() const;
WINRT_IMPL_AUTO(void) Color(winrt::Windows::UI::Color const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenPosition) Position() const;
WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedTextBouten>
{
template <typename D> using type = consume_Windows_Media_Core_ITimedTextBouten<D>;
};
template <typename D>
struct consume_Windows_Media_Core_ITimedTextCue
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRegion) CueRegion() const;
@@ -3281,6 +3403,22 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Media_Core_ITimedTextRegion<D>;
};
template <typename D>
struct consume_Windows_Media_Core_ITimedTextRuby
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const;
WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyPosition) Position() const;
WINRT_IMPL_AUTO(void) Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyAlign) Align() const;
WINRT_IMPL_AUTO(void) Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyReserve) Reserve() const;
WINRT_IMPL_AUTO(void) Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedTextRuby>
{
template <typename D> using type = consume_Windows_Media_Core_ITimedTextRuby<D>;
};
template <typename D>
struct consume_Windows_Media_Core_ITimedTextSource
{
WINRT_IMPL_AUTO(winrt::event_token) Resolved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const;
@@ -3375,6 +3513,20 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Media_Core_ITimedTextStyle2<D>;
};
template <typename D>
struct consume_Windows_Media_Core_ITimedTextStyle3
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRuby) Ruby() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBouten) Bouten() const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsTextCombined() const;
WINRT_IMPL_AUTO(void) IsTextCombined(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(double) FontAngleInDegrees() const;
WINRT_IMPL_AUTO(void) FontAngleInDegrees(double value) const;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedTextStyle3>
{
template <typename D> using type = consume_Windows_Media_Core_ITimedTextStyle3<D>;
};
template <typename D>
struct consume_Windows_Media_Core_ITimedTextSubformat
{
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) StartIndex() const;
@@ -990,6 +990,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
ITimedMetadataTrackProvider& operator=(ITimedMetadataTrackProvider const&) & noexcept = default;
ITimedMetadataTrackProvider& operator=(ITimedMetadataTrackProvider&&) & noexcept = default;
};
struct __declspec(empty_bases) ITimedTextBouten :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ITimedTextBouten>
{
ITimedTextBouten(std::nullptr_t = nullptr) noexcept {}
ITimedTextBouten(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ITimedTextBouten(ITimedTextBouten const&) noexcept = default;
ITimedTextBouten(ITimedTextBouten&&) noexcept = default;
ITimedTextBouten& operator=(ITimedTextBouten const&) & noexcept = default;
ITimedTextBouten& operator=(ITimedTextBouten&&) & noexcept = default;
};
struct __declspec(empty_bases) ITimedTextCue :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ITimedTextCue>,
@@ -1024,6 +1035,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
ITimedTextRegion& operator=(ITimedTextRegion const&) & noexcept = default;
ITimedTextRegion& operator=(ITimedTextRegion&&) & noexcept = default;
};
struct __declspec(empty_bases) ITimedTextRuby :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ITimedTextRuby>
{
ITimedTextRuby(std::nullptr_t = nullptr) noexcept {}
ITimedTextRuby(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ITimedTextRuby(ITimedTextRuby const&) noexcept = default;
ITimedTextRuby(ITimedTextRuby&&) noexcept = default;
ITimedTextRuby& operator=(ITimedTextRuby const&) & noexcept = default;
ITimedTextRuby& operator=(ITimedTextRuby&&) & noexcept = default;
};
struct __declspec(empty_bases) ITimedTextSource :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ITimedTextSource>
@@ -1090,6 +1112,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
ITimedTextStyle2& operator=(ITimedTextStyle2 const&) & noexcept = default;
ITimedTextStyle2& operator=(ITimedTextStyle2&&) & noexcept = default;
};
struct __declspec(empty_bases) ITimedTextStyle3 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ITimedTextStyle3>
{
ITimedTextStyle3(std::nullptr_t = nullptr) noexcept {}
ITimedTextStyle3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ITimedTextStyle3(ITimedTextStyle3 const&) noexcept = default;
ITimedTextStyle3(ITimedTextStyle3&&) noexcept = default;
ITimedTextStyle3& operator=(ITimedTextStyle3 const&) & noexcept = default;
ITimedTextStyle3& operator=(ITimedTextStyle3&&) & noexcept = default;
};
struct __declspec(empty_bases) ITimedTextSubformat :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ITimedTextSubformat>
@@ -671,6 +671,15 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
TimedMetadataTrackFailedEventArgs& operator=(TimedMetadataTrackFailedEventArgs const&) & noexcept = default;
TimedMetadataTrackFailedEventArgs& operator=(TimedMetadataTrackFailedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) TimedTextBouten : winrt::Windows::Media::Core::ITimedTextBouten
{
TimedTextBouten(std::nullptr_t) noexcept {}
TimedTextBouten(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextBouten(ptr, take_ownership_from_abi) {}
TimedTextBouten(TimedTextBouten const&) noexcept = default;
TimedTextBouten(TimedTextBouten&&) noexcept = default;
TimedTextBouten& operator=(TimedTextBouten const&) & noexcept = default;
TimedTextBouten& operator=(TimedTextBouten&&) & noexcept = default;
};
struct __declspec(empty_bases) TimedTextCue : winrt::Windows::Media::Core::ITimedTextCue
{
TimedTextCue(std::nullptr_t) noexcept {}
@@ -701,6 +710,15 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
TimedTextRegion& operator=(TimedTextRegion const&) & noexcept = default;
TimedTextRegion& operator=(TimedTextRegion&&) & noexcept = default;
};
struct __declspec(empty_bases) TimedTextRuby : winrt::Windows::Media::Core::ITimedTextRuby
{
TimedTextRuby(std::nullptr_t) noexcept {}
TimedTextRuby(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextRuby(ptr, take_ownership_from_abi) {}
TimedTextRuby(TimedTextRuby const&) noexcept = default;
TimedTextRuby(TimedTextRuby&&) noexcept = default;
TimedTextRuby& operator=(TimedTextRuby const&) & noexcept = default;
TimedTextRuby& operator=(TimedTextRuby&&) & noexcept = default;
};
struct __declspec(empty_bases) TimedTextSource : winrt::Windows::Media::Core::ITimedTextSource
{
TimedTextSource(std::nullptr_t) noexcept {}
@@ -728,7 +746,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Core
TimedTextSourceResolveResultEventArgs& operator=(TimedTextSourceResolveResultEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) TimedTextStyle : winrt::Windows::Media::Core::ITimedTextStyle,
impl::require<TimedTextStyle, winrt::Windows::Media::Core::ITimedTextStyle2>
impl::require<TimedTextStyle, winrt::Windows::Media::Core::ITimedTextStyle2, winrt::Windows::Media::Core::ITimedTextStyle3>
{
TimedTextStyle(std::nullptr_t) noexcept {}
TimedTextStyle(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Core::ITimedTextStyle(ptr, take_ownership_from_abi) {}
@@ -100,6 +100,12 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
Tungsten = 6,
Candlelight = 7,
};
enum class DigitalWindowMode : int32_t
{
Off = 0,
On = 1,
Auto = 2,
};
enum class FocusMode : int32_t
{
Auto = 0,
@@ -248,6 +254,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
struct IAdvancedVideoCaptureDeviceController6;
struct IAdvancedVideoCaptureDeviceController7;
struct IAdvancedVideoCaptureDeviceController8;
struct IAdvancedVideoCaptureDeviceController9;
struct IAudioDeviceController;
struct IAudioDeviceModule;
struct IAudioDeviceModuleNotificationEventArgs;
@@ -257,6 +264,9 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
struct ICallControlStatics;
struct IDefaultAudioDeviceChangedEventArgs;
struct IDialRequestedEventArgs;
struct IDigitalWindowBounds;
struct IDigitalWindowCapability;
struct IDigitalWindowControl;
struct IExposureCompensationControl;
struct IExposureControl;
struct IExposurePriorityVideoControl;
@@ -303,6 +313,9 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
struct DefaultAudioCaptureDeviceChangedEventArgs;
struct DefaultAudioRenderDeviceChangedEventArgs;
struct DialRequestedEventArgs;
struct DigitalWindowBounds;
struct DigitalWindowCapability;
struct DigitalWindowControl;
struct ExposureCompensationControl;
struct ExposureControl;
struct ExposurePriorityVideoControl;
@@ -350,6 +363,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IAudioDeviceController>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IAudioDeviceModule>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs>{ using type = interface_category; };
@@ -359,6 +373,9 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Devices::ICallControlStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IDialRequestedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IDigitalWindowBounds>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IDigitalWindowCapability>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IDigitalWindowControl>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IExposureCompensationControl>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IExposureControl>{ using type = interface_category; };
template <> struct category<winrt::Windows::Media::Devices::IExposurePriorityVideoControl>{ using type = interface_category; };
@@ -405,6 +422,9 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::DialRequestedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::DigitalWindowBounds>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::DigitalWindowCapability>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::DigitalWindowControl>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::ExposureCompensationControl>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::ExposureControl>{ using type = class_category; };
template <> struct category<winrt::Windows::Media::Devices::ExposurePriorityVideoControl>{ using type = class_category; };
@@ -442,6 +462,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Media::Devices::CaptureSceneMode>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Devices::CaptureUse>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Devices::ColorTemperaturePreset>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Devices::DigitalWindowMode>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Devices::FocusMode>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Devices::FocusPreset>{ using type = enum_category; };
template <> struct category<winrt::Windows::Media::Devices::HdrVideoMode>{ using type = enum_category; };
@@ -473,6 +494,9 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> = L"Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> = L"Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::DialRequestedEventArgs> = L"Windows.Media.Devices.DialRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::DigitalWindowBounds> = L"Windows.Media.Devices.DigitalWindowBounds";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::DigitalWindowCapability> = L"Windows.Media.Devices.DigitalWindowCapability";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::DigitalWindowControl> = L"Windows.Media.Devices.DigitalWindowControl";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::ExposureCompensationControl> = L"Windows.Media.Devices.ExposureCompensationControl";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::ExposureControl> = L"Windows.Media.Devices.ExposureControl";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::ExposurePriorityVideoControl> = L"Windows.Media.Devices.ExposurePriorityVideoControl";
@@ -510,6 +534,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::CaptureSceneMode> = L"Windows.Media.Devices.CaptureSceneMode";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::CaptureUse> = L"Windows.Media.Devices.CaptureUse";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::ColorTemperaturePreset> = L"Windows.Media.Devices.ColorTemperaturePreset";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::DigitalWindowMode> = L"Windows.Media.Devices.DigitalWindowMode";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::FocusMode> = L"Windows.Media.Devices.FocusMode";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::FocusPreset> = L"Windows.Media.Devices.FocusPreset";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::HdrVideoMode> = L"Windows.Media.Devices.HdrVideoMode";
@@ -537,6 +562,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6> = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController6";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7> = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController7";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8> = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController8";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9> = L"Windows.Media.Devices.IAdvancedVideoCaptureDeviceController9";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IAudioDeviceController> = L"Windows.Media.Devices.IAudioDeviceController";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IAudioDeviceModule> = L"Windows.Media.Devices.IAudioDeviceModule";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs> = L"Windows.Media.Devices.IAudioDeviceModuleNotificationEventArgs";
@@ -546,6 +572,9 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::ICallControlStatics> = L"Windows.Media.Devices.ICallControlStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs> = L"Windows.Media.Devices.IDefaultAudioDeviceChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IDialRequestedEventArgs> = L"Windows.Media.Devices.IDialRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IDigitalWindowBounds> = L"Windows.Media.Devices.IDigitalWindowBounds";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IDigitalWindowCapability> = L"Windows.Media.Devices.IDigitalWindowCapability";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IDigitalWindowControl> = L"Windows.Media.Devices.IDigitalWindowControl";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IExposureCompensationControl> = L"Windows.Media.Devices.IExposureCompensationControl";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IExposureControl> = L"Windows.Media.Devices.IExposureControl";
template <> inline constexpr auto& name_v<winrt::Windows::Media::Devices::IExposurePriorityVideoControl> = L"Windows.Media.Devices.IExposurePriorityVideoControl";
@@ -596,6 +625,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6>{ 0xB6563A53,0x68A1,0x44B7,{ 0x9F,0x89,0xB5,0xFA,0x97,0xAC,0x0C,0xBE } }; // B6563A53-68A1-44B7-9F89-B5FA97AC0CBE
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7>{ 0x8D2927F0,0xA054,0x50E7,{ 0xB7,0xDF,0x7C,0x04,0x23,0x4D,0x10,0xF0 } }; // 8D2927F0-A054-50E7-B7DF-7C04234D10F0
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8>{ 0xD843F010,0xE7FB,0x595B,{ 0x9A,0x78,0x0E,0x54,0xC4,0x53,0x2B,0x43 } }; // D843F010-E7FB-595B-9A78-0E54C4532B43
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9>{ 0x8BDCA95D,0x0255,0x51BC,{ 0xA1,0x0D,0x5A,0x16,0x9E,0xC1,0x62,0x5A } }; // 8BDCA95D-0255-51BC-A10D-5A169EC1625A
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IAudioDeviceController>{ 0xEDD4A388,0x79C7,0x4F7C,{ 0x90,0xE8,0xEF,0x93,0x4B,0x21,0x58,0x0A } }; // EDD4A388-79C7-4F7C-90E8-EF934B21580A
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IAudioDeviceModule>{ 0x86CFAC36,0x47C1,0x4B33,{ 0x98,0x52,0x87,0x73,0xEC,0x4B,0xE1,0x23 } }; // 86CFAC36-47C1-4B33-9852-8773EC4BE123
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs>{ 0xE3E3CCAF,0x224C,0x48BE,{ 0x95,0x6B,0x9A,0x13,0x13,0x4E,0x96,0xE8 } }; // E3E3CCAF-224C-48BE-956B-9A13134E96E8
@@ -605,6 +635,9 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::ICallControlStatics>{ 0x03945AD5,0x85AB,0x40E1,{ 0xAF,0x19,0x56,0xC9,0x43,0x03,0xB0,0x19 } }; // 03945AD5-85AB-40E1-AF19-56C94303B019
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs>{ 0x110F882F,0x1C05,0x4657,{ 0xA1,0x8E,0x47,0xC9,0xB6,0x9F,0x07,0xAB } }; // 110F882F-1C05-4657-A18E-47C9B69F07AB
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IDialRequestedEventArgs>{ 0x037B929E,0x953C,0x4286,{ 0x88,0x66,0x4F,0x0F,0x37,0x6C,0x85,0x5A } }; // 037B929E-953C-4286-8866-4F0F376C855A
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IDigitalWindowBounds>{ 0xDD4F21DD,0xD173,0x5C6B,{ 0x8C,0x25,0xBD,0xD2,0x6D,0x51,0x22,0xB1 } }; // DD4F21DD-D173-5C6B-8C25-BDD26D5122B1
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IDigitalWindowCapability>{ 0xD78BAD2C,0xF721,0x5244,{ 0xA1,0x96,0xB5,0x6C,0xCB,0xEC,0x60,0x6C } }; // D78BAD2C-F721-5244-A196-B56CCBEC606C
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IDigitalWindowControl>{ 0x23B69EFF,0x65D2,0x53EA,{ 0x87,0x80,0xDE,0x58,0x2B,0x48,0xB5,0x44 } }; // 23B69EFF-65D2-53EA-8780-DE582B48B544
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IExposureCompensationControl>{ 0x81C8E834,0xDCEC,0x4011,{ 0xA6,0x10,0x1F,0x38,0x47,0xE6,0x4A,0xCA } }; // 81C8E834-DCEC-4011-A610-1F3847E64ACA
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IExposureControl>{ 0x09E8CBE2,0xAD96,0x4F28,{ 0xA0,0xE0,0x96,0xED,0x7E,0x1B,0x5F,0xD2 } }; // 09E8CBE2-AD96-4F28-A0E0-96ED7E1B5FD2
template <> inline constexpr guid guid_v<winrt::Windows::Media::Devices::IExposurePriorityVideoControl>{ 0x2CB240A3,0x5168,0x4271,{ 0x9E,0xA5,0x47,0x62,0x1A,0x98,0xA3,0x52 } }; // 2CB240A3-5168-4271-9EA5-47621A98A352
@@ -655,6 +688,9 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs>{ using type = winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs; };
template <> struct default_interface<winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs>{ using type = winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs; };
template <> struct default_interface<winrt::Windows::Media::Devices::DialRequestedEventArgs>{ using type = winrt::Windows::Media::Devices::IDialRequestedEventArgs; };
template <> struct default_interface<winrt::Windows::Media::Devices::DigitalWindowBounds>{ using type = winrt::Windows::Media::Devices::IDigitalWindowBounds; };
template <> struct default_interface<winrt::Windows::Media::Devices::DigitalWindowCapability>{ using type = winrt::Windows::Media::Devices::IDigitalWindowCapability; };
template <> struct default_interface<winrt::Windows::Media::Devices::DigitalWindowControl>{ using type = winrt::Windows::Media::Devices::IDigitalWindowControl; };
template <> struct default_interface<winrt::Windows::Media::Devices::ExposureCompensationControl>{ using type = winrt::Windows::Media::Devices::IExposureCompensationControl; };
template <> struct default_interface<winrt::Windows::Media::Devices::ExposureControl>{ using type = winrt::Windows::Media::Devices::IExposureControl; };
template <> struct default_interface<winrt::Windows::Media::Devices::ExposurePriorityVideoControl>{ using type = winrt::Windows::Media::Devices::IExposurePriorityVideoControl; };
@@ -782,6 +818,13 @@ namespace winrt::impl
virtual int32_t __stdcall get_PanelBasedOptimizationControl(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_DigitalWindowControl(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Devices::IAudioDeviceController>
{
struct __declspec(novtable) type : inspectable_abi
@@ -876,6 +919,44 @@ namespace winrt::impl
virtual int32_t __stdcall get_Contact(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Devices::IDigitalWindowBounds>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_NormalizedOriginTop(double*) noexcept = 0;
virtual int32_t __stdcall put_NormalizedOriginTop(double) noexcept = 0;
virtual int32_t __stdcall get_NormalizedOriginLeft(double*) noexcept = 0;
virtual int32_t __stdcall put_NormalizedOriginLeft(double) noexcept = 0;
virtual int32_t __stdcall get_Scale(double*) noexcept = 0;
virtual int32_t __stdcall put_Scale(double) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Devices::IDigitalWindowCapability>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Width(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_Height(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_MinScaleValue(double*) noexcept = 0;
virtual int32_t __stdcall get_MaxScaleValue(double*) noexcept = 0;
virtual int32_t __stdcall get_MinScaleValueWithoutUpsampling(double*) noexcept = 0;
virtual int32_t __stdcall get_NormalizedFieldOfViewLimit(winrt::Windows::Foundation::Rect*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Devices::IDigitalWindowControl>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0;
virtual int32_t __stdcall get_SupportedModes(uint32_t* __valueSize, int32_t**) noexcept = 0;
virtual int32_t __stdcall get_CurrentMode(int32_t*) noexcept = 0;
virtual int32_t __stdcall GetBounds(void**) noexcept = 0;
virtual int32_t __stdcall Configure(int32_t) noexcept = 0;
virtual int32_t __stdcall ConfigureWithBounds(int32_t, void*) noexcept = 0;
virtual int32_t __stdcall get_SupportedCapabilities(void**) noexcept = 0;
virtual int32_t __stdcall GetCapabilityForSize(int32_t, int32_t, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Media::Devices::IExposureCompensationControl>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1461,6 +1542,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8<D>;
};
template <typename D>
struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) DigitalWindowControl() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9>
{
template <typename D> using type = consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9<D>;
};
template <typename D>
struct consume_Windows_Media_Devices_IAudioDeviceController
{
WINRT_IMPL_AUTO(void) Muted(bool value) const;
@@ -1587,6 +1677,50 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Media_Devices_IDialRequestedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Media_Devices_IDigitalWindowBounds
{
[[nodiscard]] WINRT_IMPL_AUTO(double) NormalizedOriginTop() const;
WINRT_IMPL_AUTO(void) NormalizedOriginTop(double value) const;
[[nodiscard]] WINRT_IMPL_AUTO(double) NormalizedOriginLeft() const;
WINRT_IMPL_AUTO(void) NormalizedOriginLeft(double value) const;
[[nodiscard]] WINRT_IMPL_AUTO(double) Scale() const;
WINRT_IMPL_AUTO(void) Scale(double value) const;
};
template <> struct consume<winrt::Windows::Media::Devices::IDigitalWindowBounds>
{
template <typename D> using type = consume_Windows_Media_Devices_IDigitalWindowBounds<D>;
};
template <typename D>
struct consume_Windows_Media_Devices_IDigitalWindowCapability
{
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) Width() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) Height() const;
[[nodiscard]] WINRT_IMPL_AUTO(double) MinScaleValue() const;
[[nodiscard]] WINRT_IMPL_AUTO(double) MaxScaleValue() const;
[[nodiscard]] WINRT_IMPL_AUTO(double) MinScaleValueWithoutUpsampling() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) NormalizedFieldOfViewLimit() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IDigitalWindowCapability>
{
template <typename D> using type = consume_Windows_Media_Devices_IDigitalWindowCapability<D>;
};
template <typename D>
struct consume_Windows_Media_Devices_IDigitalWindowControl
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const;
[[nodiscard]] WINRT_IMPL_AUTO(com_array<winrt::Windows::Media::Devices::DigitalWindowMode>) SupportedModes() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowMode) CurrentMode() const;
WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowBounds) GetBounds() const;
WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const;
WINRT_IMPL_AUTO(void) Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::DigitalWindowCapability>) SupportedCapabilities() const;
WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowCapability) GetCapabilityForSize(int32_t width, int32_t height) const;
};
template <> struct consume<winrt::Windows::Media::Devices::IDigitalWindowControl>
{
template <typename D> using type = consume_Windows_Media_Devices_IDigitalWindowControl<D>;
};
template <typename D>
struct consume_Windows_Media_Devices_IExposureCompensationControl
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const;
@@ -115,6 +115,17 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
IAdvancedVideoCaptureDeviceController8& operator=(IAdvancedVideoCaptureDeviceController8 const&) & noexcept = default;
IAdvancedVideoCaptureDeviceController8& operator=(IAdvancedVideoCaptureDeviceController8&&) & noexcept = default;
};
struct __declspec(empty_bases) IAdvancedVideoCaptureDeviceController9 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAdvancedVideoCaptureDeviceController9>
{
IAdvancedVideoCaptureDeviceController9(std::nullptr_t = nullptr) noexcept {}
IAdvancedVideoCaptureDeviceController9(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IAdvancedVideoCaptureDeviceController9(IAdvancedVideoCaptureDeviceController9 const&) noexcept = default;
IAdvancedVideoCaptureDeviceController9(IAdvancedVideoCaptureDeviceController9&&) noexcept = default;
IAdvancedVideoCaptureDeviceController9& operator=(IAdvancedVideoCaptureDeviceController9 const&) & noexcept = default;
IAdvancedVideoCaptureDeviceController9& operator=(IAdvancedVideoCaptureDeviceController9&&) & noexcept = default;
};
struct __declspec(empty_bases) IAudioDeviceController :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAudioDeviceController>,
@@ -215,6 +226,39 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
IDialRequestedEventArgs& operator=(IDialRequestedEventArgs const&) & noexcept = default;
IDialRequestedEventArgs& operator=(IDialRequestedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) IDigitalWindowBounds :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDigitalWindowBounds>
{
IDigitalWindowBounds(std::nullptr_t = nullptr) noexcept {}
IDigitalWindowBounds(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IDigitalWindowBounds(IDigitalWindowBounds const&) noexcept = default;
IDigitalWindowBounds(IDigitalWindowBounds&&) noexcept = default;
IDigitalWindowBounds& operator=(IDigitalWindowBounds const&) & noexcept = default;
IDigitalWindowBounds& operator=(IDigitalWindowBounds&&) & noexcept = default;
};
struct __declspec(empty_bases) IDigitalWindowCapability :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDigitalWindowCapability>
{
IDigitalWindowCapability(std::nullptr_t = nullptr) noexcept {}
IDigitalWindowCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IDigitalWindowCapability(IDigitalWindowCapability const&) noexcept = default;
IDigitalWindowCapability(IDigitalWindowCapability&&) noexcept = default;
IDigitalWindowCapability& operator=(IDigitalWindowCapability const&) & noexcept = default;
IDigitalWindowCapability& operator=(IDigitalWindowCapability&&) & noexcept = default;
};
struct __declspec(empty_bases) IDigitalWindowControl :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDigitalWindowControl>
{
IDigitalWindowControl(std::nullptr_t = nullptr) noexcept {}
IDigitalWindowControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IDigitalWindowControl(IDigitalWindowControl const&) noexcept = default;
IDigitalWindowControl(IDigitalWindowControl&&) noexcept = default;
IDigitalWindowControl& operator=(IDigitalWindowControl const&) & noexcept = default;
IDigitalWindowControl& operator=(IDigitalWindowControl&&) & noexcept = default;
};
struct __declspec(empty_bases) IExposureCompensationControl :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IExposureCompensationControl>
@@ -160,6 +160,34 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
DialRequestedEventArgs& operator=(DialRequestedEventArgs const&) & noexcept = default;
DialRequestedEventArgs& operator=(DialRequestedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) DigitalWindowBounds : winrt::Windows::Media::Devices::IDigitalWindowBounds
{
DigitalWindowBounds(std::nullptr_t) noexcept {}
DigitalWindowBounds(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowBounds(ptr, take_ownership_from_abi) {}
DigitalWindowBounds();
DigitalWindowBounds(DigitalWindowBounds const&) noexcept = default;
DigitalWindowBounds(DigitalWindowBounds&&) noexcept = default;
DigitalWindowBounds& operator=(DigitalWindowBounds const&) & noexcept = default;
DigitalWindowBounds& operator=(DigitalWindowBounds&&) & noexcept = default;
};
struct __declspec(empty_bases) DigitalWindowCapability : winrt::Windows::Media::Devices::IDigitalWindowCapability
{
DigitalWindowCapability(std::nullptr_t) noexcept {}
DigitalWindowCapability(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowCapability(ptr, take_ownership_from_abi) {}
DigitalWindowCapability(DigitalWindowCapability const&) noexcept = default;
DigitalWindowCapability(DigitalWindowCapability&&) noexcept = default;
DigitalWindowCapability& operator=(DigitalWindowCapability const&) & noexcept = default;
DigitalWindowCapability& operator=(DigitalWindowCapability&&) & noexcept = default;
};
struct __declspec(empty_bases) DigitalWindowControl : winrt::Windows::Media::Devices::IDigitalWindowControl
{
DigitalWindowControl(std::nullptr_t) noexcept {}
DigitalWindowControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IDigitalWindowControl(ptr, take_ownership_from_abi) {}
DigitalWindowControl(DigitalWindowControl const&) noexcept = default;
DigitalWindowControl(DigitalWindowControl&&) noexcept = default;
DigitalWindowControl& operator=(DigitalWindowControl const&) & noexcept = default;
DigitalWindowControl& operator=(DigitalWindowControl&&) & noexcept = default;
};
struct __declspec(empty_bases) ExposureCompensationControl : winrt::Windows::Media::Devices::IExposureCompensationControl
{
ExposureCompensationControl(std::nullptr_t) noexcept {}
@@ -391,7 +419,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Devices
TorchControl& operator=(TorchControl&&) & noexcept = default;
};
struct __declspec(empty_bases) VideoDeviceController : winrt::Windows::Media::Devices::IVideoDeviceController,
impl::require<VideoDeviceController, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController3, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8>
impl::require<VideoDeviceController, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController3, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8, winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9>
{
VideoDeviceController(std::nullptr_t) noexcept {}
VideoDeviceController(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Devices::IVideoDeviceController(ptr, take_ownership_from_abi) {}
@@ -86,6 +86,7 @@ WINRT_EXPORT namespace winrt::Windows::Media::Effects
SpeakerProtection = 15,
SpeakerCompensation = 16,
DynamicRangeCompression = 17,
FarFieldBeamForming = 18,
};
enum class MediaEffectClosedReason : int32_t
{
@@ -68,8 +68,10 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity
RsnaPsk = 8,
Ihv = 9,
Wpa3 = 10,
Wpa3Enterprise192Bits = 10,
Wpa3Sae = 11,
Owe = 12,
Wpa3Enterprise = 13,
};
enum class NetworkConnectivityLevel : int32_t
{
@@ -97,6 +99,8 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity
WpaUseGroup = 7,
RsnUseGroup = 8,
Ihv = 9,
Gcmp = 10,
Gcmp256 = 11,
};
enum class NetworkTypes : uint32_t
{
@@ -53,6 +53,8 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
Hsdpa = 0x8,
Hsupa = 0x10,
LteAdvanced = 0x20,
NewRadioNonStandalone = 0x40,
NewRadioStandalone = 0x80,
Cdma1xRtt = 0x10000,
Cdma1xEvdo = 0x20000,
Cdma1xEvdoRevA = 0x40000,
@@ -100,6 +102,11 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
OperationProhibitedByProfileClass = 21,
ProfileNotPresent = 22,
NoCorrespondingRequest = 23,
TimeoutWaitingForResponse = 24,
IccidAlreadyExists = 25,
ProfileProcessingError = 26,
ServerNotTrusted = 27,
ProfileDownloadMaxRetriesExceeded = 28,
};
enum class ESimProfileClass : int32_t
{
@@ -204,6 +211,19 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
Off = 0,
On = 1,
};
enum class MobileBroadbandSlotState : int32_t
{
Unmanaged = 0,
Unknown = 1,
OffEmpty = 2,
Off = 3,
Empty = 4,
NotReady = 5,
Active = 6,
Error = 7,
ActiveEsim = 8,
ActiveEsimNoProfile = 9,
};
enum class MobileBroadbandUiccAppOperationStatus : int32_t
{
Success = 0,
@@ -367,12 +387,16 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
struct IMobileBroadbandCellCdma;
struct IMobileBroadbandCellGsm;
struct IMobileBroadbandCellLte;
struct IMobileBroadbandCellNR;
struct IMobileBroadbandCellTdscdma;
struct IMobileBroadbandCellUmts;
struct IMobileBroadbandCellsInfo;
struct IMobileBroadbandCellsInfo2;
struct IMobileBroadbandCurrentSlotIndexChangedEventArgs;
struct IMobileBroadbandDeviceInformation;
struct IMobileBroadbandDeviceInformation2;
struct IMobileBroadbandDeviceInformation3;
struct IMobileBroadbandDeviceInformation4;
struct IMobileBroadbandDeviceService;
struct IMobileBroadbandDeviceServiceCommandResult;
struct IMobileBroadbandDeviceServiceCommandSession;
@@ -403,6 +427,9 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
struct IMobileBroadbandRadioStateChange;
struct IMobileBroadbandRadioStateChangeTriggerDetails;
struct IMobileBroadbandSarManager;
struct IMobileBroadbandSlotInfo;
struct IMobileBroadbandSlotInfoChangedEventArgs;
struct IMobileBroadbandSlotManager;
struct IMobileBroadbandTransmissionStateChangedEventArgs;
struct IMobileBroadbandUicc;
struct IMobileBroadbandUiccApp;
@@ -463,9 +490,11 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
struct MobileBroadbandCellCdma;
struct MobileBroadbandCellGsm;
struct MobileBroadbandCellLte;
struct MobileBroadbandCellNR;
struct MobileBroadbandCellTdscdma;
struct MobileBroadbandCellUmts;
struct MobileBroadbandCellsInfo;
struct MobileBroadbandCurrentSlotIndexChangedEventArgs;
struct MobileBroadbandDeviceInformation;
struct MobileBroadbandDeviceService;
struct MobileBroadbandDeviceServiceCommandResult;
@@ -490,6 +519,9 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
struct MobileBroadbandRadioStateChange;
struct MobileBroadbandRadioStateChangeTriggerDetails;
struct MobileBroadbandSarManager;
struct MobileBroadbandSlotInfo;
struct MobileBroadbandSlotInfoChangedEventArgs;
struct MobileBroadbandSlotManager;
struct MobileBroadbandTransmissionStateChangedEventArgs;
struct MobileBroadbandUicc;
struct MobileBroadbandUiccApp;
@@ -552,12 +584,16 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession>{ using type = interface_category; };
@@ -588,6 +624,9 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp>{ using type = interface_category; };
@@ -648,9 +687,11 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellsInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>{ using type = class_category; };
@@ -675,6 +716,9 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChange>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChangeTriggerDetails>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc>{ using type = class_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>{ using type = class_category; };
@@ -711,6 +755,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState>{ using type = enum_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType>{ using type = enum_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState>{ using type = enum_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState>{ using type = enum_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind>{ using type = enum_category; };
@@ -758,9 +803,11 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma> = L"Windows.Networking.NetworkOperators.MobileBroadbandCellCdma";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm> = L"Windows.Networking.NetworkOperators.MobileBroadbandCellGsm";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte> = L"Windows.Networking.NetworkOperators.MobileBroadbandCellLte";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR> = L"Windows.Networking.NetworkOperators.MobileBroadbandCellNR";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma> = L"Windows.Networking.NetworkOperators.MobileBroadbandCellTdscdma";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts> = L"Windows.Networking.NetworkOperators.MobileBroadbandCellUmts";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellsInfo> = L"Windows.Networking.NetworkOperators.MobileBroadbandCellsInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> = L"Windows.Networking.NetworkOperators.MobileBroadbandCurrentSlotIndexChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation> = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceInformation";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService> = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceService";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult> = L"Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandResult";
@@ -785,6 +832,9 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChange> = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChange";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChangeTriggerDetails> = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChangeTriggerDetails";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager> = L"Windows.Networking.NetworkOperators.MobileBroadbandSarManager";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo> = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotInfoChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager> = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotManager";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> = L"Windows.Networking.NetworkOperators.MobileBroadbandTransmissionStateChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc> = L"Windows.Networking.NetworkOperators.MobileBroadbandUicc";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp> = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccApp";
@@ -821,6 +871,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState> = L"Windows.Networking.NetworkOperators.MobileBroadbandPinLockState";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType> = L"Windows.Networking.NetworkOperators.MobileBroadbandPinType";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState> = L"Windows.Networking.NetworkOperators.MobileBroadbandRadioState";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState> = L"Windows.Networking.NetworkOperators.MobileBroadbandSlotState";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus> = L"Windows.Networking.NetworkOperators.MobileBroadbandUiccAppOperationStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus> = L"Windows.Networking.NetworkOperators.NetworkDeviceStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind> = L"Windows.Networking.NetworkOperators.NetworkOperatorDataUsageNotificationKind";
@@ -875,12 +926,16 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellCdma";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellGsm";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellLte";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellNR";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellTdscdma";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellUmts";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellsInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCellsInfo2";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs> = L"Windows.Networking.NetworkOperators.IMobileBroadbandCurrentSlotIndexChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation> = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2> = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation2";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3> = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation3";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4> = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceInformation4";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService> = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceService";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult> = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandResult";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession> = L"Windows.Networking.NetworkOperators.IMobileBroadbandDeviceServiceCommandSession";
@@ -911,6 +966,9 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange> = L"Windows.Networking.NetworkOperators.IMobileBroadbandRadioStateChange";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails> = L"Windows.Networking.NetworkOperators.IMobileBroadbandRadioStateChangeTriggerDetails";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager> = L"Windows.Networking.NetworkOperators.IMobileBroadbandSarManager";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo> = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs> = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotInfoChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager> = L"Windows.Networking.NetworkOperators.IMobileBroadbandSlotManager";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs> = L"Windows.Networking.NetworkOperators.IMobileBroadbandTransmissionStateChangedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc> = L"Windows.Networking.NetworkOperators.IMobileBroadbandUicc";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp> = L"Windows.Networking.NetworkOperators.IMobileBroadbandUiccApp";
@@ -978,12 +1036,16 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma>{ 0x0601B3B4,0x411A,0x4F2E,{ 0x82,0x87,0x76,0xF5,0x65,0x0C,0x60,0xCD } }; // 0601B3B4-411A-4F2E-8287-76F5650C60CD
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm>{ 0xCC917F06,0x7EE0,0x47B8,{ 0x9E,0x1F,0xC3,0xB4,0x8D,0xF9,0xDF,0x5B } }; // CC917F06-7EE0-47B8-9E1F-C3B48DF9DF5B
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte>{ 0x9197C87B,0x2B78,0x456D,{ 0x8B,0x53,0xAA,0xA2,0x5D,0x0A,0xF7,0x41 } }; // 9197C87B-2B78-456D-8B53-AAA25D0AF741
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR>{ 0xA13F0DEB,0x66FC,0x4B4B,{ 0x83,0xA9,0xA4,0x87,0xA3,0xA5,0xA0,0xA6 } }; // A13F0DEB-66FC-4B4B-83A9-A487A3A5A0A6
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma>{ 0x0EDA1655,0xDB0E,0x4182,{ 0x8C,0xDA,0xCC,0x41,0x9A,0x7B,0xDE,0x08 } }; // 0EDA1655-DB0E-4182-8CDA-CC419A7BDE08
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts>{ 0x77B4B5AE,0x49C8,0x4F15,{ 0xB2,0x85,0x4C,0x26,0xA7,0xF6,0x72,0x15 } }; // 77B4B5AE-49C8-4F15-B285-4C26A7F67215
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo>{ 0x89A9562A,0xE472,0x4DA5,{ 0x92,0x9C,0xDE,0x61,0x71,0x1D,0xD2,0x61 } }; // 89A9562A-E472-4DA5-929C-DE61711DD261
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2>{ 0x66205912,0xB89F,0x4E12,{ 0xBB,0xB6,0xD5,0xCF,0x09,0xA8,0x20,0xCA } }; // 66205912-B89F-4E12-BBB6-D5CF09A820CA
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs>{ 0xF718B184,0xC370,0x5FD4,{ 0xA6,0x70,0x18,0x46,0xCB,0x9B,0xCE,0x47 } }; // F718B184-C370-5FD4-A670-1846CB9BCE47
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation>{ 0xE6D08168,0xE381,0x4C6E,{ 0x9B,0xE8,0xFE,0x15,0x69,0x69,0xA4,0x46 } }; // E6D08168-E381-4C6E-9BE8-FE156969A446
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2>{ 0x2E467AF1,0xF932,0x4737,{ 0xA7,0x22,0x03,0xBA,0x72,0x37,0x0C,0xB8 } }; // 2E467AF1-F932-4737-A722-03BA72370CB8
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3>{ 0xE08BB4BD,0x5D30,0x4B5A,{ 0x92,0xCC,0xD5,0x4D,0xF8,0x81,0xD4,0x9E } }; // E08BB4BD-5D30-4B5A-92CC-D54DF881D49E
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4>{ 0x263F3152,0x7B9D,0x582C,{ 0xB1,0x7C,0xF8,0x0A,0x60,0xB5,0x00,0x31 } }; // 263F3152-7B9D-582C-B17C-F80A60B50031
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService>{ 0x22BE1A52,0xBD80,0x40AC,{ 0x8E,0x1F,0x2E,0x07,0x83,0x6A,0x3D,0xBD } }; // 22BE1A52-BD80-40AC-8E1F-2E07836A3DBD
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult>{ 0xB0F46ABB,0x94D6,0x44B9,{ 0xA5,0x38,0xF0,0x81,0x0B,0x64,0x53,0x89 } }; // B0F46ABB-94D6-44B9-A538-F0810B645389
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession>{ 0xFC098A45,0x913B,0x4914,{ 0xB6,0xC3,0xAE,0x63,0x04,0x59,0x3E,0x75 } }; // FC098A45-913B-4914-B6C3-AE6304593E75
@@ -1014,6 +1076,9 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange>{ 0xB054A561,0x9833,0x4AED,{ 0x97,0x17,0x43,0x48,0xB2,0x1A,0x24,0xB3 } }; // B054A561-9833-4AED-9717-4348B21A24B3
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails>{ 0x71301ACE,0x093C,0x42C6,{ 0xB0,0xDB,0xAD,0x1F,0x75,0xA6,0x54,0x45 } }; // 71301ACE-093C-42C6-B0DB-AD1F75A65445
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager>{ 0xE5B26833,0x967E,0x40C9,{ 0xA4,0x85,0x19,0xC0,0xDD,0x20,0x9E,0x22 } }; // E5B26833-967E-40C9-A485-19C0DD209E22
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo>{ 0xBD350B32,0x882E,0x542A,{ 0xB1,0x7D,0x0B,0xB1,0xB4,0x9B,0xAE,0x9E } }; // BD350B32-882E-542A-B17D-0BB1B49BAE9E
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs>{ 0x3158839F,0x950C,0x54CE,{ 0xA4,0x8D,0xBA,0x45,0x29,0xB4,0x8F,0x0F } }; // 3158839F-950C-54CE-A48D-BA4529B48F0F
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>{ 0xEBA07CD6,0x2019,0x5F81,{ 0xA2,0x94,0xCC,0x36,0x4A,0x11,0xD0,0xB2 } }; // EBA07CD6-2019-5F81-A294-CC364A11D0B2
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs>{ 0x612E3875,0x040A,0x4F99,{ 0xA4,0xF9,0x61,0xD7,0xC3,0x2D,0xA1,0x29 } }; // 612E3875-040A-4F99-A4F9-61D7C32DA129
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc>{ 0xE634F691,0x525A,0x4CE2,{ 0x8F,0xCE,0xAA,0x41,0x62,0x57,0x91,0x54 } }; // E634F691-525A-4CE2-8FCE-AA4162579154
template <> inline constexpr guid guid_v<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp>{ 0x4D170556,0x98A1,0x43DD,{ 0xB2,0xEC,0x50,0xC9,0x0C,0xF2,0x48,0xDF } }; // 4D170556-98A1-43DD-B2EC-50C90CF248DF
@@ -1068,9 +1133,11 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellsInfo>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult; };
@@ -1095,6 +1162,9 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChange>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChangeTriggerDetails>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc; };
template <> struct default_interface<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>{ using type = winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp; };
@@ -1501,6 +1571,21 @@ namespace winrt::impl
virtual int32_t __stdcall get_TrackingAreaCode(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_CellId(void**) noexcept = 0;
virtual int32_t __stdcall get_ChannelNumber(void**) noexcept = 0;
virtual int32_t __stdcall get_PhysicalCellId(void**) noexcept = 0;
virtual int32_t __stdcall get_ProviderId(void**) noexcept = 0;
virtual int32_t __stdcall get_ReferenceSignalReceivedPowerInDBm(void**) noexcept = 0;
virtual int32_t __stdcall get_ReferenceSignalReceivedQualityInDBm(void**) noexcept = 0;
virtual int32_t __stdcall get_TimingAdvanceInNanoseconds(void**) noexcept = 0;
virtual int32_t __stdcall get_TrackingAreaCode(void**) noexcept = 0;
virtual int32_t __stdcall get_SignalToNoiseRatioInDB(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1545,6 +1630,21 @@ namespace winrt::impl
virtual int32_t __stdcall get_ServingCellsUmts(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_NeighboringCellsNR(void**) noexcept = 0;
virtual int32_t __stdcall get_ServingCellsNR(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_CurrentSlotIndex(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1583,6 +1683,13 @@ namespace winrt::impl
virtual int32_t __stdcall get_SimGid1(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_SlotManager(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1869,6 +1976,35 @@ namespace winrt::impl
virtual int32_t __stdcall StopTransmissionStateMonitoring() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Index(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_State(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_SlotInfo(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_SlotInfos(void**) noexcept = 0;
virtual int32_t __stdcall get_CurrentSlotIndex(int32_t*) noexcept = 0;
virtual int32_t __stdcall SetCurrentSlot(int32_t, int32_t*) noexcept = 0;
virtual int32_t __stdcall SetCurrentSlotAsync(int32_t, void**) noexcept = 0;
virtual int32_t __stdcall add_SlotInfoChanged(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_SlotInfoChanged(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_CurrentSlotIndexChanged(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_CurrentSlotIndexChanged(winrt::event_token) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
@@ -2611,6 +2747,23 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int64_t>) CellId() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) ChannelNumber() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PhysicalCellId() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReferenceSignalReceivedPowerInDBm() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReferenceSignalReceivedQualityInDBm() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) TimingAdvanceInNanoseconds() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) TrackingAreaCode() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) SignalToNoiseRatioInDB() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR>
{
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CellId() const;
@@ -2661,6 +2814,25 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) NeighboringCellsNR() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) ServingCellsNR() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2>
{
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentSlotIndex() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs>
{
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus) NetworkDeviceStatus() const;
@@ -2705,6 +2877,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) SlotManager() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4>
{
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DeviceServiceId() const;
@@ -3057,6 +3238,45 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo
{
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) Index() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState) State() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo>
{
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) SlotInfo() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs>
{
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>) SlotInfos() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentSlotIndex() const;
WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus) SetCurrentSlot(int32_t slotIndex) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>) SetCurrentSlotAsync(int32_t slotIndex) const;
WINRT_IMPL_AUTO(winrt::event_token) SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const;
using SlotInfoChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>::remove_SlotInfoChanged>;
[[nodiscard]] SlotInfoChanged_revoker SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const;
WINRT_IMPL_AUTO(void) SlotInfoChanged(winrt::event_token const& token) const noexcept;
WINRT_IMPL_AUTO(winrt::event_token) CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const;
using CurrentSlotIndexChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>::remove_CurrentSlotIndexChanged>;
[[nodiscard]] CurrentSlotIndexChanged_revoker CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const;
WINRT_IMPL_AUTO(void) CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>
{
template <typename D> using type = consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>;
};
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmitting() const;
@@ -423,6 +423,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
IMobileBroadbandCellLte& operator=(IMobileBroadbandCellLte const&) & noexcept = default;
IMobileBroadbandCellLte& operator=(IMobileBroadbandCellLte&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandCellNR :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandCellNR>
{
IMobileBroadbandCellNR(std::nullptr_t = nullptr) noexcept {}
IMobileBroadbandCellNR(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IMobileBroadbandCellNR(IMobileBroadbandCellNR const&) noexcept = default;
IMobileBroadbandCellNR(IMobileBroadbandCellNR&&) noexcept = default;
IMobileBroadbandCellNR& operator=(IMobileBroadbandCellNR const&) & noexcept = default;
IMobileBroadbandCellNR& operator=(IMobileBroadbandCellNR&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandCellTdscdma :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandCellTdscdma>
@@ -456,6 +467,28 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
IMobileBroadbandCellsInfo& operator=(IMobileBroadbandCellsInfo const&) & noexcept = default;
IMobileBroadbandCellsInfo& operator=(IMobileBroadbandCellsInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandCellsInfo2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandCellsInfo2>
{
IMobileBroadbandCellsInfo2(std::nullptr_t = nullptr) noexcept {}
IMobileBroadbandCellsInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IMobileBroadbandCellsInfo2(IMobileBroadbandCellsInfo2 const&) noexcept = default;
IMobileBroadbandCellsInfo2(IMobileBroadbandCellsInfo2&&) noexcept = default;
IMobileBroadbandCellsInfo2& operator=(IMobileBroadbandCellsInfo2 const&) & noexcept = default;
IMobileBroadbandCellsInfo2& operator=(IMobileBroadbandCellsInfo2&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandCurrentSlotIndexChangedEventArgs :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandCurrentSlotIndexChangedEventArgs>
{
IMobileBroadbandCurrentSlotIndexChangedEventArgs(std::nullptr_t = nullptr) noexcept {}
IMobileBroadbandCurrentSlotIndexChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IMobileBroadbandCurrentSlotIndexChangedEventArgs(IMobileBroadbandCurrentSlotIndexChangedEventArgs const&) noexcept = default;
IMobileBroadbandCurrentSlotIndexChangedEventArgs(IMobileBroadbandCurrentSlotIndexChangedEventArgs&&) noexcept = default;
IMobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(IMobileBroadbandCurrentSlotIndexChangedEventArgs const&) & noexcept = default;
IMobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(IMobileBroadbandCurrentSlotIndexChangedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandDeviceInformation :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandDeviceInformation>
@@ -489,6 +522,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
IMobileBroadbandDeviceInformation3& operator=(IMobileBroadbandDeviceInformation3 const&) & noexcept = default;
IMobileBroadbandDeviceInformation3& operator=(IMobileBroadbandDeviceInformation3&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandDeviceInformation4 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandDeviceInformation4>
{
IMobileBroadbandDeviceInformation4(std::nullptr_t = nullptr) noexcept {}
IMobileBroadbandDeviceInformation4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IMobileBroadbandDeviceInformation4(IMobileBroadbandDeviceInformation4 const&) noexcept = default;
IMobileBroadbandDeviceInformation4(IMobileBroadbandDeviceInformation4&&) noexcept = default;
IMobileBroadbandDeviceInformation4& operator=(IMobileBroadbandDeviceInformation4 const&) & noexcept = default;
IMobileBroadbandDeviceInformation4& operator=(IMobileBroadbandDeviceInformation4&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandDeviceService :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandDeviceService>
@@ -819,6 +863,39 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
IMobileBroadbandSarManager& operator=(IMobileBroadbandSarManager const&) & noexcept = default;
IMobileBroadbandSarManager& operator=(IMobileBroadbandSarManager&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandSlotInfo :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandSlotInfo>
{
IMobileBroadbandSlotInfo(std::nullptr_t = nullptr) noexcept {}
IMobileBroadbandSlotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IMobileBroadbandSlotInfo(IMobileBroadbandSlotInfo const&) noexcept = default;
IMobileBroadbandSlotInfo(IMobileBroadbandSlotInfo&&) noexcept = default;
IMobileBroadbandSlotInfo& operator=(IMobileBroadbandSlotInfo const&) & noexcept = default;
IMobileBroadbandSlotInfo& operator=(IMobileBroadbandSlotInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandSlotInfoChangedEventArgs :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandSlotInfoChangedEventArgs>
{
IMobileBroadbandSlotInfoChangedEventArgs(std::nullptr_t = nullptr) noexcept {}
IMobileBroadbandSlotInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IMobileBroadbandSlotInfoChangedEventArgs(IMobileBroadbandSlotInfoChangedEventArgs const&) noexcept = default;
IMobileBroadbandSlotInfoChangedEventArgs(IMobileBroadbandSlotInfoChangedEventArgs&&) noexcept = default;
IMobileBroadbandSlotInfoChangedEventArgs& operator=(IMobileBroadbandSlotInfoChangedEventArgs const&) & noexcept = default;
IMobileBroadbandSlotInfoChangedEventArgs& operator=(IMobileBroadbandSlotInfoChangedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandSlotManager :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandSlotManager>
{
IMobileBroadbandSlotManager(std::nullptr_t = nullptr) noexcept {}
IMobileBroadbandSlotManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IMobileBroadbandSlotManager(IMobileBroadbandSlotManager const&) noexcept = default;
IMobileBroadbandSlotManager(IMobileBroadbandSlotManager&&) noexcept = default;
IMobileBroadbandSlotManager& operator=(IMobileBroadbandSlotManager const&) & noexcept = default;
IMobileBroadbandSlotManager& operator=(IMobileBroadbandSlotManager&&) & noexcept = default;
};
struct __declspec(empty_bases) IMobileBroadbandTransmissionStateChangedEventArgs :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IMobileBroadbandTransmissionStateChangedEventArgs>
@@ -312,6 +312,15 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
MobileBroadbandCellLte& operator=(MobileBroadbandCellLte const&) & noexcept = default;
MobileBroadbandCellLte& operator=(MobileBroadbandCellLte&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandCellNR : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR
{
MobileBroadbandCellNR(std::nullptr_t) noexcept {}
MobileBroadbandCellNR(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR(ptr, take_ownership_from_abi) {}
MobileBroadbandCellNR(MobileBroadbandCellNR const&) noexcept = default;
MobileBroadbandCellNR(MobileBroadbandCellNR&&) noexcept = default;
MobileBroadbandCellNR& operator=(MobileBroadbandCellNR const&) & noexcept = default;
MobileBroadbandCellNR& operator=(MobileBroadbandCellNR&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandCellTdscdma : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma
{
MobileBroadbandCellTdscdma(std::nullptr_t) noexcept {}
@@ -330,7 +339,8 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
MobileBroadbandCellUmts& operator=(MobileBroadbandCellUmts const&) & noexcept = default;
MobileBroadbandCellUmts& operator=(MobileBroadbandCellUmts&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandCellsInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo
struct __declspec(empty_bases) MobileBroadbandCellsInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo,
impl::require<MobileBroadbandCellsInfo, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2>
{
MobileBroadbandCellsInfo(std::nullptr_t) noexcept {}
MobileBroadbandCellsInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo(ptr, take_ownership_from_abi) {}
@@ -339,8 +349,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
MobileBroadbandCellsInfo& operator=(MobileBroadbandCellsInfo const&) & noexcept = default;
MobileBroadbandCellsInfo& operator=(MobileBroadbandCellsInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandCurrentSlotIndexChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs
{
MobileBroadbandCurrentSlotIndexChangedEventArgs(std::nullptr_t) noexcept {}
MobileBroadbandCurrentSlotIndexChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs(ptr, take_ownership_from_abi) {}
MobileBroadbandCurrentSlotIndexChangedEventArgs(MobileBroadbandCurrentSlotIndexChangedEventArgs const&) noexcept = default;
MobileBroadbandCurrentSlotIndexChangedEventArgs(MobileBroadbandCurrentSlotIndexChangedEventArgs&&) noexcept = default;
MobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(MobileBroadbandCurrentSlotIndexChangedEventArgs const&) & noexcept = default;
MobileBroadbandCurrentSlotIndexChangedEventArgs& operator=(MobileBroadbandCurrentSlotIndexChangedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandDeviceInformation : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation,
impl::require<MobileBroadbandDeviceInformation, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3>
impl::require<MobileBroadbandDeviceInformation, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3, winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4>
{
MobileBroadbandDeviceInformation(std::nullptr_t) noexcept {}
MobileBroadbandDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation(ptr, take_ownership_from_abi) {}
@@ -563,6 +582,33 @@ WINRT_EXPORT namespace winrt::Windows::Networking::NetworkOperators
MobileBroadbandSarManager& operator=(MobileBroadbandSarManager const&) & noexcept = default;
MobileBroadbandSarManager& operator=(MobileBroadbandSarManager&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandSlotInfo : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo
{
MobileBroadbandSlotInfo(std::nullptr_t) noexcept {}
MobileBroadbandSlotInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo(ptr, take_ownership_from_abi) {}
MobileBroadbandSlotInfo(MobileBroadbandSlotInfo const&) noexcept = default;
MobileBroadbandSlotInfo(MobileBroadbandSlotInfo&&) noexcept = default;
MobileBroadbandSlotInfo& operator=(MobileBroadbandSlotInfo const&) & noexcept = default;
MobileBroadbandSlotInfo& operator=(MobileBroadbandSlotInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandSlotInfoChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs
{
MobileBroadbandSlotInfoChangedEventArgs(std::nullptr_t) noexcept {}
MobileBroadbandSlotInfoChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs(ptr, take_ownership_from_abi) {}
MobileBroadbandSlotInfoChangedEventArgs(MobileBroadbandSlotInfoChangedEventArgs const&) noexcept = default;
MobileBroadbandSlotInfoChangedEventArgs(MobileBroadbandSlotInfoChangedEventArgs&&) noexcept = default;
MobileBroadbandSlotInfoChangedEventArgs& operator=(MobileBroadbandSlotInfoChangedEventArgs const&) & noexcept = default;
MobileBroadbandSlotInfoChangedEventArgs& operator=(MobileBroadbandSlotInfoChangedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandSlotManager : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager
{
MobileBroadbandSlotManager(std::nullptr_t) noexcept {}
MobileBroadbandSlotManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager(ptr, take_ownership_from_abi) {}
MobileBroadbandSlotManager(MobileBroadbandSlotManager const&) noexcept = default;
MobileBroadbandSlotManager(MobileBroadbandSlotManager&&) noexcept = default;
MobileBroadbandSlotManager& operator=(MobileBroadbandSlotManager const&) & noexcept = default;
MobileBroadbandSlotManager& operator=(MobileBroadbandSlotManager&&) & noexcept = default;
};
struct __declspec(empty_bases) MobileBroadbandTransmissionStateChangedEventArgs : winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs
{
MobileBroadbandTransmissionStateChangedEventArgs(std::nullptr_t) noexcept {}
@@ -143,6 +143,7 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Vpn
struct IVpnChannel;
struct IVpnChannel2;
struct IVpnChannel4;
struct IVpnChannel5;
struct IVpnChannelActivityEventArgs;
struct IVpnChannelActivityStateChangedArgs;
struct IVpnChannelConfiguration;
@@ -229,6 +230,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Networking::Vpn::IVpnChannel>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::Vpn::IVpnChannel2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::Vpn::IVpnChannel4>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::Vpn::IVpnChannel5>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Networking::Vpn::IVpnChannelConfiguration>{ using type = interface_category; };
@@ -369,6 +371,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Networking::Vpn::IVpnChannel> = L"Windows.Networking.Vpn.IVpnChannel";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::Vpn::IVpnChannel2> = L"Windows.Networking.Vpn.IVpnChannel2";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::Vpn::IVpnChannel4> = L"Windows.Networking.Vpn.IVpnChannel4";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::Vpn::IVpnChannel5> = L"Windows.Networking.Vpn.IVpnChannel5";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs> = L"Windows.Networking.Vpn.IVpnChannelActivityEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs> = L"Windows.Networking.Vpn.IVpnChannelActivityStateChangedArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Networking::Vpn::IVpnChannelConfiguration> = L"Windows.Networking.Vpn.IVpnChannelConfiguration";
@@ -421,6 +424,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Networking::Vpn::IVpnChannel>{ 0x4AC78D07,0xD1A8,0x4303,{ 0xA0,0x91,0xC8,0xD2,0xE0,0x91,0x5B,0xC3 } }; // 4AC78D07-D1A8-4303-A091-C8D2E0915BC3
template <> inline constexpr guid guid_v<winrt::Windows::Networking::Vpn::IVpnChannel2>{ 0x2255D165,0x993B,0x4629,{ 0xAD,0x60,0xF1,0xC3,0xF3,0x53,0x7F,0x50 } }; // 2255D165-993B-4629-AD60-F1C3F3537F50
template <> inline constexpr guid guid_v<winrt::Windows::Networking::Vpn::IVpnChannel4>{ 0xD7266EDE,0x2937,0x419D,{ 0x95,0x70,0x48,0x6A,0xEB,0xB8,0x18,0x03 } }; // D7266EDE-2937-419D-9570-486AEBB81803
template <> inline constexpr guid guid_v<winrt::Windows::Networking::Vpn::IVpnChannel5>{ 0xDE7A0992,0x8384,0x4FBC,{ 0x88,0x2C,0x1F,0xD2,0x31,0x24,0xCD,0x3B } }; // DE7A0992-8384-4FBC-882C-1FD23124CD3B
template <> inline constexpr guid guid_v<winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs>{ 0xA36C88F2,0xAFDC,0x4775,{ 0x85,0x5D,0xD4,0xAC,0x0A,0x35,0xFC,0x55 } }; // A36C88F2-AFDC-4775-855D-D4AC0A35FC55
template <> inline constexpr guid guid_v<winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs>{ 0x3D750565,0xFDC0,0x4BBE,{ 0xA2,0x3B,0x45,0xFF,0xFC,0x6D,0x97,0xA1 } }; // 3D750565-FDC0-4BBE-A23B-45FFFC6D97A1
template <> inline constexpr guid guid_v<winrt::Windows::Networking::Vpn::IVpnChannelConfiguration>{ 0x0E2DDCA2,0x2012,0x4FE4,{ 0xB1,0x79,0x8C,0x65,0x2C,0x6D,0x10,0x7E } }; // 0E2DDCA2-2012-4FE4-B179-8C652C6D107E
@@ -568,6 +572,16 @@ namespace winrt::impl
virtual int32_t __stdcall get_CurrentRequestTransportContext(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::Vpn::IVpnChannel5>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall AppendVpnReceivePacketBuffer(void*) noexcept = 0;
virtual int32_t __stdcall AppendVpnSendPacketBuffer(void*) noexcept = 0;
virtual int32_t __stdcall FlushVpnReceivePacketBuffers() noexcept = 0;
virtual int32_t __stdcall FlushVpnSendPacketBuffers() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1109,6 +1123,18 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Networking_Vpn_IVpnChannel4<D>;
};
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnChannel5
{
WINRT_IMPL_AUTO(void) AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const;
WINRT_IMPL_AUTO(void) AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const;
WINRT_IMPL_AUTO(void) FlushVpnReceivePacketBuffers() const;
WINRT_IMPL_AUTO(void) FlushVpnSendPacketBuffers() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnChannel5>
{
template <typename D> using type = consume_Windows_Networking_Vpn_IVpnChannel5<D>;
};
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) Type() const;
@@ -61,6 +61,17 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Vpn
IVpnChannel4& operator=(IVpnChannel4 const&) & noexcept = default;
IVpnChannel4& operator=(IVpnChannel4&&) & noexcept = default;
};
struct __declspec(empty_bases) IVpnChannel5 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IVpnChannel5>
{
IVpnChannel5(std::nullptr_t = nullptr) noexcept {}
IVpnChannel5(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IVpnChannel5(IVpnChannel5 const&) noexcept = default;
IVpnChannel5(IVpnChannel5&&) noexcept = default;
IVpnChannel5& operator=(IVpnChannel5 const&) & noexcept = default;
IVpnChannel5& operator=(IVpnChannel5&&) & noexcept = default;
};
struct __declspec(empty_bases) IVpnChannelActivityEventArgs :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IVpnChannelActivityEventArgs>
@@ -18,7 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::Networking::Vpn
VpnAppId& operator=(VpnAppId&&) & noexcept = default;
};
struct __declspec(empty_bases) VpnChannel : winrt::Windows::Networking::Vpn::IVpnChannel,
impl::require<VpnChannel, winrt::Windows::Networking::Vpn::IVpnChannel2, winrt::Windows::Networking::Vpn::IVpnChannel4>
impl::require<VpnChannel, winrt::Windows::Networking::Vpn::IVpnChannel2, winrt::Windows::Networking::Vpn::IVpnChannel4, winrt::Windows::Networking::Vpn::IVpnChannel5>
{
VpnChannel(std::nullptr_t) noexcept {}
VpnChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Networking::Vpn::IVpnChannel(ptr, take_ownership_from_abi) {}
@@ -63,6 +63,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
EnvironmentUnavailable = 2,
FileNotFound = 3,
TimedOut = 4,
AlreadySharedWithConflictingOptions = 5,
};
enum class IsolatedWindowsEnvironmentOwnerRegistrationStatus : int32_t
{
@@ -90,6 +91,15 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
Processing = 1,
Completed = 2,
};
enum class IsolatedWindowsEnvironmentShareFileStatus : int32_t
{
Success = 0,
UnknownFailure = 1,
EnvironmentUnavailable = 2,
AlreadySharedWithConflictingOptions = 3,
FileNotFound = 4,
AccessDenied = 5,
};
enum class IsolatedWindowsEnvironmentShareFolderStatus : int32_t
{
Success = 0,
@@ -108,21 +118,27 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
};
struct IIsolatedWindowsEnvironment;
struct IIsolatedWindowsEnvironment2;
struct IIsolatedWindowsEnvironment3;
struct IIsolatedWindowsEnvironmentCreateResult;
struct IIsolatedWindowsEnvironmentFactory;
struct IIsolatedWindowsEnvironmentFile;
struct IIsolatedWindowsEnvironmentFile2;
struct IIsolatedWindowsEnvironmentHostStatics;
struct IIsolatedWindowsEnvironmentLaunchFileResult;
struct IIsolatedWindowsEnvironmentOptions;
struct IIsolatedWindowsEnvironmentOptions2;
struct IIsolatedWindowsEnvironmentOwnerRegistrationData;
struct IIsolatedWindowsEnvironmentOwnerRegistrationResult;
struct IIsolatedWindowsEnvironmentOwnerRegistrationStatics;
struct IIsolatedWindowsEnvironmentPostMessageResult;
struct IIsolatedWindowsEnvironmentProcess;
struct IIsolatedWindowsEnvironmentShareFileRequestOptions;
struct IIsolatedWindowsEnvironmentShareFileResult;
struct IIsolatedWindowsEnvironmentShareFolderRequestOptions;
struct IIsolatedWindowsEnvironmentShareFolderResult;
struct IIsolatedWindowsEnvironmentStartProcessResult;
struct IIsolatedWindowsEnvironmentTelemetryParameters;
struct IIsolatedWindowsEnvironmentUserInfo;
struct IIsolatedWindowsHostMessengerStatics;
struct IIsolatedWindowsHostMessengerStatics2;
struct IsolatedWindowsEnvironment;
@@ -136,10 +152,13 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
struct IsolatedWindowsEnvironmentOwnerRegistrationResult;
struct IsolatedWindowsEnvironmentPostMessageResult;
struct IsolatedWindowsEnvironmentProcess;
struct IsolatedWindowsEnvironmentShareFileRequestOptions;
struct IsolatedWindowsEnvironmentShareFileResult;
struct IsolatedWindowsEnvironmentShareFolderRequestOptions;
struct IsolatedWindowsEnvironmentShareFolderResult;
struct IsolatedWindowsEnvironmentStartProcessResult;
struct IsolatedWindowsEnvironmentTelemetryParameters;
struct IsolatedWindowsEnvironmentUserInfo;
struct IsolatedWindowsHostMessenger;
struct IsolatedWindowsEnvironmentCreateProgress;
struct HostMessageReceivedCallback;
@@ -149,21 +168,27 @@ namespace winrt::impl
{
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment>{ using type = class_category; };
@@ -177,10 +202,13 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsHostMessenger>{ using type = class_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator>{ using type = enum_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats>{ using type = enum_category; };
@@ -193,6 +221,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcessState>{ using type = enum_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProgressState>{ using type = enum_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress>{ using type = struct_category<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProgressState, uint32_t>; };
@@ -209,10 +238,13 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProcess";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileRequestOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderRequestOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentTelemetryParameters";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentUserInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsHostMessenger> = L"Windows.Security.Isolation.IsolatedWindowsHostMessenger";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentActivator";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentAllowedClipboardFormats";
@@ -225,47 +257,60 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageStatus> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcessState> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProcessState";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProgressState> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentProgressState";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderStatus> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessStatus> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress> = L"Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateProgress";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment2";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironment3";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentCreateResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFile";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentFile2";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentHostStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentLaunchFileResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOptions2";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationData";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentOwnerRegistrationStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentPostMessageResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentProcess";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFileRequestOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFileResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFolderRequestOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentShareFolderResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentStartProcessResult";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentTelemetryParameters";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo> = L"Windows.Security.Isolation.IIsolatedWindowsEnvironmentUserInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics> = L"Windows.Security.Isolation.IIsolatedWindowsHostMessengerStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2> = L"Windows.Security.Isolation.IIsolatedWindowsHostMessengerStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::HostMessageReceivedCallback> = L"Windows.Security.Isolation.HostMessageReceivedCallback";
template <> inline constexpr auto& name_v<winrt::Windows::Security::Isolation::MessageReceivedCallback> = L"Windows.Security.Isolation.MessageReceivedCallback";
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment>{ 0x41D24597,0xC328,0x4467,{ 0xB3,0x7F,0x4D,0xFC,0x6F,0x60,0xB6,0xBC } }; // 41D24597-C328-4467-B37F-4DFC6F60B6BC
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2>{ 0x2D365F39,0x88BD,0x4AB4,{ 0x93,0xCF,0x7E,0x2B,0xCE,0xF3,0x37,0xC0 } }; // 2D365F39-88BD-4AB4-93CF-7E2BCEF337C0
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3>{ 0xCB7FC7D2,0xD06E,0x4C26,{ 0x8A,0xDA,0xDA,0xCD,0xAA,0xAD,0x03,0xF5 } }; // CB7FC7D2-D06E-4C26-8ADA-DACDAAAD03F5
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult>{ 0xEF9A5E58,0xDCD7,0x45C2,{ 0x9C,0x85,0xAB,0x64,0x2A,0x71,0x5E,0x8E } }; // EF9A5E58-DCD7-45C2-9C85-AB642A715E8E
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory>{ 0x1ACA93E7,0xE804,0x454D,{ 0x84,0x66,0xF9,0x89,0x7C,0x20,0xB0,0xF6 } }; // 1ACA93E7-E804-454D-8466-F9897C20B0F6
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile>{ 0x4D5AE1EF,0x029F,0x4101,{ 0x8C,0x35,0xFE,0x91,0xBF,0x9C,0xD5,0xF0 } }; // 4D5AE1EF-029F-4101-8C35-FE91BF9CD5F0
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2>{ 0x4EEB8DEC,0xAD5D,0x4B0A,{ 0xB7,0x54,0xF3,0x6C,0x3D,0x46,0xD6,0x84 } }; // 4EEB8DEC-AD5D-4B0A-B754-F36C3D46D684
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics>{ 0x2C0E22C7,0x05A0,0x517A,{ 0xB8,0x1C,0x6E,0xE8,0x79,0x0C,0x38,0x1F } }; // 2C0E22C7-05A0-517A-B81C-6EE8790C381F
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult>{ 0x685D4176,0xF6E0,0x4569,{ 0xB1,0xAA,0x21,0x5C,0x0F,0xF5,0xB2,0x57 } }; // 685D4176-F6E0-4569-B1AA-215C0FF5B257
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions>{ 0xB71D98F7,0x61F0,0x4008,{ 0xB2,0x07,0x0B,0xF9,0xEB,0x2D,0x76,0xF2 } }; // B71D98F7-61F0-4008-B207-0BF9EB2D76F2
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2>{ 0x10D7CC31,0x8B8F,0x4B9D,{ 0xB2,0x2C,0x61,0x71,0x03,0xB5,0x5B,0x08 } }; // 10D7CC31-8B8F-4B9D-B22C-617103B55B08
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData>{ 0xF888EC22,0xE8CF,0x56C0,{ 0xB1,0xDF,0x90,0xAF,0x4A,0xD8,0x0E,0x84 } }; // F888EC22-E8CF-56C0-B1DF-90AF4AD80E84
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult>{ 0x6DAB9451,0x6169,0x55DF,{ 0x8F,0x51,0x79,0x0E,0x99,0xD7,0x27,0x7D } }; // 6DAB9451-6169-55DF-8F51-790E99D7277D
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics>{ 0x10951754,0x204B,0x5EC9,{ 0x9D,0xE3,0xDF,0x79,0x2D,0x07,0x4A,0x61 } }; // 10951754-204B-5EC9-9DE3-DF792D074A61
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult>{ 0x0DFA28FA,0x2EF0,0x4D8F,{ 0xB3,0x41,0x31,0x71,0xB2,0xDF,0x93,0xB1 } }; // 0DFA28FA-2EF0-4D8F-B341-3171B2DF93B1
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess>{ 0xA858C3EF,0x8172,0x4F10,{ 0xAF,0x93,0xCB,0xE6,0x0A,0xF8,0x8D,0x09 } }; // A858C3EF-8172-4F10-AF93-CBE60AF88D09
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions>{ 0xC9190ED8,0x0FD0,0x4946,{ 0xBB,0x88,0x11,0x7A,0x60,0x73,0x7B,0x61 } }; // C9190ED8-0FD0-4946-BB88-117A60737B61
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult>{ 0xAEC7CAA7,0x9AC6,0x4BF5,{ 0x8B,0x91,0x5C,0x1A,0xDF,0x0D,0x7D,0x00 } }; // AEC7CAA7-9AC6-4BF5-8B91-5C1ADF0D7D00
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions>{ 0xC405EB7D,0x7053,0x4F6A,{ 0x9B,0x87,0x74,0x68,0x46,0xED,0x19,0xB2 } }; // C405EB7D-7053-4F6A-9B87-746846ED19B2
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult>{ 0x556BA72E,0xCA9D,0x4211,{ 0xB1,0x43,0x1C,0xED,0xC8,0x6E,0xB2,0xFE } }; // 556BA72E-CA9D-4211-B143-1CEDC86EB2FE
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult>{ 0x8FA1DC2F,0x57DA,0x4BB5,{ 0x9C,0x06,0xFA,0x07,0x2D,0x20,0x32,0xE2 } }; // 8FA1DC2F-57DA-4BB5-9C06-FA072D2032E2
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters>{ 0xEBDB3CAB,0x7A3A,0x4524,{ 0xA0,0xF4,0xF9,0x6E,0x28,0x4D,0x33,0xCD } }; // EBDB3CAB-7A3A-4524-A0F4-F96E284D33CD
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo>{ 0x8A9C75AE,0x69BA,0x4001,{ 0x96,0xFC,0x19,0xA0,0x27,0x03,0xB3,0x40 } }; // 8A9C75AE-69BA-4001-96FC-19A02703B340
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics>{ 0x06E444BB,0x53C0,0x4889,{ 0x8F,0xA3,0x53,0x59,0x2E,0x37,0xCF,0x21 } }; // 06E444BB-53C0-4889-8FA3-53592E37CF21
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2>{ 0x55EF9EBC,0x0444,0x42AD,{ 0x83,0x2D,0x1B,0x89,0xC0,0x89,0xD1,0xCA } }; // 55EF9EBC-0444-42AD-832D-1B89C089D1CA
template <> inline constexpr guid guid_v<winrt::Windows::Security::Isolation::HostMessageReceivedCallback>{ 0xFAF26FFA,0x8CE1,0x4CC1,{ 0xB2,0x78,0x32,0x2D,0x31,0xA5,0xE4,0xA3 } }; // FAF26FFA-8CE1-4CC1-B278-322D31A5E4A3
@@ -279,10 +324,13 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters; };
template <> struct default_interface<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo>{ using type = winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo; };
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment>
{
struct __declspec(novtable) type : inspectable_abi
@@ -308,6 +356,15 @@ namespace winrt::impl
virtual int32_t __stdcall PostMessageToReceiverWithTelemetryAsync(winrt::guid, void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall GetUserInfo(void**) noexcept = 0;
virtual int32_t __stdcall ShareFileAsync(void*, void*, void**) noexcept = 0;
virtual int32_t __stdcall ShareFileWithTelemetryAsync(void*, void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult>
{
struct __declspec(novtable) type : inspectable_abi
@@ -336,6 +393,14 @@ namespace winrt::impl
virtual int32_t __stdcall Close() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_GuestPath(void**) noexcept = 0;
virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -376,6 +441,14 @@ namespace winrt::impl
virtual int32_t __stdcall put_AllowCameraAndMicrophoneAccess(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_WindowAnnotationOverride(void**) noexcept = 0;
virtual int32_t __stdcall put_WindowAnnotationOverride(void*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData>
{
struct __declspec(novtable) type : inspectable_abi
@@ -421,6 +494,23 @@ namespace winrt::impl
virtual int32_t __stdcall WaitForExitAsync(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_AllowWrite(bool*) noexcept = 0;
virtual int32_t __stdcall put_AllowWrite(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
virtual int32_t __stdcall get_File(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions>
{
struct __declspec(novtable) type : inspectable_abi
@@ -454,6 +544,15 @@ namespace winrt::impl
virtual int32_t __stdcall put_CorrelationId(winrt::guid) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_EnvironmentUserSid(void**) noexcept = 0;
virtual int32_t __stdcall get_EnvironmentUserName(void**) noexcept = 0;
virtual int32_t __stdcall TryWaitForSignInAsync(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -514,6 +613,17 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3
{
WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) GetUserInfo() const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3>
{
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus) Status() const;
@@ -548,6 +658,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) GuestPath() const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsReadOnly() const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2>
{
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsReady() const;
@@ -594,6 +714,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) WindowAnnotationOverride() const;
WINRT_IMPL_AUTO(void) WindowAnnotationOverride(param::hstring const& value) const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2>
{
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ShareableFolders() const;
@@ -649,6 +779,27 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWrite() const;
WINRT_IMPL_AUTO(void) AllowWrite(bool value) const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions>
{
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus) Status() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) File() const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult>
{
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) AllowWrite() const;
@@ -690,6 +841,17 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) EnvironmentUserSid() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) EnvironmentUserName() const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryWaitForSignInAsync() const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo>
{
template <typename D> using type = consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>;
};
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics
{
WINRT_IMPL_AUTO(void) PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view<winrt::Windows::Foundation::IInspectable> const& message) const;
@@ -18,8 +18,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironment2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironment2>,
impl::require<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment>
impl::consume_t<IIsolatedWindowsEnvironment2>
{
IIsolatedWindowsEnvironment2(std::nullptr_t = nullptr) noexcept {}
IIsolatedWindowsEnvironment2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
@@ -28,6 +27,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IIsolatedWindowsEnvironment2& operator=(IIsolatedWindowsEnvironment2 const&) & noexcept = default;
IIsolatedWindowsEnvironment2& operator=(IIsolatedWindowsEnvironment2&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironment3 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironment3>
{
IIsolatedWindowsEnvironment3(std::nullptr_t = nullptr) noexcept {}
IIsolatedWindowsEnvironment3(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IIsolatedWindowsEnvironment3(IIsolatedWindowsEnvironment3 const&) noexcept = default;
IIsolatedWindowsEnvironment3(IIsolatedWindowsEnvironment3&&) noexcept = default;
IIsolatedWindowsEnvironment3& operator=(IIsolatedWindowsEnvironment3 const&) & noexcept = default;
IIsolatedWindowsEnvironment3& operator=(IIsolatedWindowsEnvironment3&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentCreateResult :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentCreateResult>
@@ -61,6 +71,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IIsolatedWindowsEnvironmentFile& operator=(IIsolatedWindowsEnvironmentFile const&) & noexcept = default;
IIsolatedWindowsEnvironmentFile& operator=(IIsolatedWindowsEnvironmentFile&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentFile2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentFile2>
{
IIsolatedWindowsEnvironmentFile2(std::nullptr_t = nullptr) noexcept {}
IIsolatedWindowsEnvironmentFile2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IIsolatedWindowsEnvironmentFile2(IIsolatedWindowsEnvironmentFile2 const&) noexcept = default;
IIsolatedWindowsEnvironmentFile2(IIsolatedWindowsEnvironmentFile2&&) noexcept = default;
IIsolatedWindowsEnvironmentFile2& operator=(IIsolatedWindowsEnvironmentFile2 const&) & noexcept = default;
IIsolatedWindowsEnvironmentFile2& operator=(IIsolatedWindowsEnvironmentFile2&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentHostStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentHostStatics>
@@ -94,6 +115,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IIsolatedWindowsEnvironmentOptions& operator=(IIsolatedWindowsEnvironmentOptions const&) & noexcept = default;
IIsolatedWindowsEnvironmentOptions& operator=(IIsolatedWindowsEnvironmentOptions&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentOptions2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentOptions2>
{
IIsolatedWindowsEnvironmentOptions2(std::nullptr_t = nullptr) noexcept {}
IIsolatedWindowsEnvironmentOptions2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IIsolatedWindowsEnvironmentOptions2(IIsolatedWindowsEnvironmentOptions2 const&) noexcept = default;
IIsolatedWindowsEnvironmentOptions2(IIsolatedWindowsEnvironmentOptions2&&) noexcept = default;
IIsolatedWindowsEnvironmentOptions2& operator=(IIsolatedWindowsEnvironmentOptions2 const&) & noexcept = default;
IIsolatedWindowsEnvironmentOptions2& operator=(IIsolatedWindowsEnvironmentOptions2&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentOwnerRegistrationData :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentOwnerRegistrationData>
@@ -149,6 +181,28 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IIsolatedWindowsEnvironmentProcess& operator=(IIsolatedWindowsEnvironmentProcess const&) & noexcept = default;
IIsolatedWindowsEnvironmentProcess& operator=(IIsolatedWindowsEnvironmentProcess&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentShareFileRequestOptions :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentShareFileRequestOptions>
{
IIsolatedWindowsEnvironmentShareFileRequestOptions(std::nullptr_t = nullptr) noexcept {}
IIsolatedWindowsEnvironmentShareFileRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IIsolatedWindowsEnvironmentShareFileRequestOptions(IIsolatedWindowsEnvironmentShareFileRequestOptions const&) noexcept = default;
IIsolatedWindowsEnvironmentShareFileRequestOptions(IIsolatedWindowsEnvironmentShareFileRequestOptions&&) noexcept = default;
IIsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IIsolatedWindowsEnvironmentShareFileRequestOptions const&) & noexcept = default;
IIsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IIsolatedWindowsEnvironmentShareFileRequestOptions&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentShareFileResult :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentShareFileResult>
{
IIsolatedWindowsEnvironmentShareFileResult(std::nullptr_t = nullptr) noexcept {}
IIsolatedWindowsEnvironmentShareFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IIsolatedWindowsEnvironmentShareFileResult(IIsolatedWindowsEnvironmentShareFileResult const&) noexcept = default;
IIsolatedWindowsEnvironmentShareFileResult(IIsolatedWindowsEnvironmentShareFileResult&&) noexcept = default;
IIsolatedWindowsEnvironmentShareFileResult& operator=(IIsolatedWindowsEnvironmentShareFileResult const&) & noexcept = default;
IIsolatedWindowsEnvironmentShareFileResult& operator=(IIsolatedWindowsEnvironmentShareFileResult&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentShareFolderRequestOptions :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentShareFolderRequestOptions>
@@ -193,6 +247,17 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IIsolatedWindowsEnvironmentTelemetryParameters& operator=(IIsolatedWindowsEnvironmentTelemetryParameters const&) & noexcept = default;
IIsolatedWindowsEnvironmentTelemetryParameters& operator=(IIsolatedWindowsEnvironmentTelemetryParameters&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsEnvironmentUserInfo :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsEnvironmentUserInfo>
{
IIsolatedWindowsEnvironmentUserInfo(std::nullptr_t = nullptr) noexcept {}
IIsolatedWindowsEnvironmentUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IIsolatedWindowsEnvironmentUserInfo(IIsolatedWindowsEnvironmentUserInfo const&) noexcept = default;
IIsolatedWindowsEnvironmentUserInfo(IIsolatedWindowsEnvironmentUserInfo&&) noexcept = default;
IIsolatedWindowsEnvironmentUserInfo& operator=(IIsolatedWindowsEnvironmentUserInfo const&) & noexcept = default;
IIsolatedWindowsEnvironmentUserInfo& operator=(IIsolatedWindowsEnvironmentUserInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) IIsolatedWindowsHostMessengerStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IIsolatedWindowsHostMessengerStatics>
@@ -50,7 +50,7 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
return !(left == right);
}
struct __declspec(empty_bases) IsolatedWindowsEnvironment : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment,
impl::require<IsolatedWindowsEnvironment, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2>
impl::require<IsolatedWindowsEnvironment, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3>
{
IsolatedWindowsEnvironment(std::nullptr_t) noexcept {}
IsolatedWindowsEnvironment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment(ptr, take_ownership_from_abi) {}
@@ -72,7 +72,8 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IsolatedWindowsEnvironmentCreateResult& operator=(IsolatedWindowsEnvironmentCreateResult const&) & noexcept = default;
IsolatedWindowsEnvironmentCreateResult& operator=(IsolatedWindowsEnvironmentCreateResult&&) & noexcept = default;
};
struct __declspec(empty_bases) IsolatedWindowsEnvironmentFile : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile
struct __declspec(empty_bases) IsolatedWindowsEnvironmentFile : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile,
impl::require<IsolatedWindowsEnvironmentFile, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2>
{
IsolatedWindowsEnvironmentFile(std::nullptr_t) noexcept {}
IsolatedWindowsEnvironmentFile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile(ptr, take_ownership_from_abi) {}
@@ -96,7 +97,8 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IsolatedWindowsEnvironmentLaunchFileResult& operator=(IsolatedWindowsEnvironmentLaunchFileResult const&) & noexcept = default;
IsolatedWindowsEnvironmentLaunchFileResult& operator=(IsolatedWindowsEnvironmentLaunchFileResult&&) & noexcept = default;
};
struct __declspec(empty_bases) IsolatedWindowsEnvironmentOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions
struct __declspec(empty_bases) IsolatedWindowsEnvironmentOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions,
impl::require<IsolatedWindowsEnvironmentOptions, winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2>
{
IsolatedWindowsEnvironmentOptions(std::nullptr_t) noexcept {}
IsolatedWindowsEnvironmentOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions(ptr, take_ownership_from_abi) {}
@@ -149,6 +151,25 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IsolatedWindowsEnvironmentProcess& operator=(IsolatedWindowsEnvironmentProcess const&) & noexcept = default;
IsolatedWindowsEnvironmentProcess& operator=(IsolatedWindowsEnvironmentProcess&&) & noexcept = default;
};
struct __declspec(empty_bases) IsolatedWindowsEnvironmentShareFileRequestOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions
{
IsolatedWindowsEnvironmentShareFileRequestOptions(std::nullptr_t) noexcept {}
IsolatedWindowsEnvironmentShareFileRequestOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions(ptr, take_ownership_from_abi) {}
IsolatedWindowsEnvironmentShareFileRequestOptions();
IsolatedWindowsEnvironmentShareFileRequestOptions(IsolatedWindowsEnvironmentShareFileRequestOptions const&) noexcept = default;
IsolatedWindowsEnvironmentShareFileRequestOptions(IsolatedWindowsEnvironmentShareFileRequestOptions&&) noexcept = default;
IsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IsolatedWindowsEnvironmentShareFileRequestOptions const&) & noexcept = default;
IsolatedWindowsEnvironmentShareFileRequestOptions& operator=(IsolatedWindowsEnvironmentShareFileRequestOptions&&) & noexcept = default;
};
struct __declspec(empty_bases) IsolatedWindowsEnvironmentShareFileResult : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult
{
IsolatedWindowsEnvironmentShareFileResult(std::nullptr_t) noexcept {}
IsolatedWindowsEnvironmentShareFileResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult(ptr, take_ownership_from_abi) {}
IsolatedWindowsEnvironmentShareFileResult(IsolatedWindowsEnvironmentShareFileResult const&) noexcept = default;
IsolatedWindowsEnvironmentShareFileResult(IsolatedWindowsEnvironmentShareFileResult&&) noexcept = default;
IsolatedWindowsEnvironmentShareFileResult& operator=(IsolatedWindowsEnvironmentShareFileResult const&) & noexcept = default;
IsolatedWindowsEnvironmentShareFileResult& operator=(IsolatedWindowsEnvironmentShareFileResult&&) & noexcept = default;
};
struct __declspec(empty_bases) IsolatedWindowsEnvironmentShareFolderRequestOptions : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions
{
IsolatedWindowsEnvironmentShareFolderRequestOptions(std::nullptr_t) noexcept {}
@@ -187,6 +208,15 @@ WINRT_EXPORT namespace winrt::Windows::Security::Isolation
IsolatedWindowsEnvironmentTelemetryParameters& operator=(IsolatedWindowsEnvironmentTelemetryParameters const&) & noexcept = default;
IsolatedWindowsEnvironmentTelemetryParameters& operator=(IsolatedWindowsEnvironmentTelemetryParameters&&) & noexcept = default;
};
struct __declspec(empty_bases) IsolatedWindowsEnvironmentUserInfo : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo
{
IsolatedWindowsEnvironmentUserInfo(std::nullptr_t) noexcept {}
IsolatedWindowsEnvironmentUserInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo(ptr, take_ownership_from_abi) {}
IsolatedWindowsEnvironmentUserInfo(IsolatedWindowsEnvironmentUserInfo const&) noexcept = default;
IsolatedWindowsEnvironmentUserInfo(IsolatedWindowsEnvironmentUserInfo&&) noexcept = default;
IsolatedWindowsEnvironmentUserInfo& operator=(IsolatedWindowsEnvironmentUserInfo const&) & noexcept = default;
IsolatedWindowsEnvironmentUserInfo& operator=(IsolatedWindowsEnvironmentUserInfo&&) & noexcept = default;
};
struct IsolatedWindowsHostMessenger
{
IsolatedWindowsHostMessenger() = delete;
@@ -56,6 +56,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage
Roaming = 1,
Temporary = 2,
LocalCache = 3,
SharedLocal = 4,
};
enum class CreationCollisionOption : int32_t
{
@@ -96,6 +97,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage
VideosLibrary = 13,
AllAppMods = 14,
CurrentAppMods = 15,
DownloadsFolder = 16,
};
enum class KnownFoldersAccessStatus : int32_t
{
@@ -104,6 +106,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage
DeniedByUser = 2,
UserPromptRequired = 3,
Allowed = 4,
AllowedPerAppFolder = 5,
};
enum class KnownLibraryId : int32_t
{
@@ -196,7 +199,12 @@ WINRT_EXPORT namespace winrt::Windows::Storage
struct IStorageLibrary3;
struct IStorageLibraryChange;
struct IStorageLibraryChangeReader;
struct IStorageLibraryChangeReader2;
struct IStorageLibraryChangeTracker;
struct IStorageLibraryChangeTracker2;
struct IStorageLibraryChangeTrackerOptions;
struct IStorageLibraryLastChangeId;
struct IStorageLibraryLastChangeIdStatics;
struct IStorageLibraryStatics;
struct IStorageLibraryStatics2;
struct IStorageProvider;
@@ -233,6 +241,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage
struct StorageLibraryChange;
struct StorageLibraryChangeReader;
struct StorageLibraryChangeTracker;
struct StorageLibraryChangeTrackerOptions;
struct StorageLibraryLastChangeId;
struct StorageProvider;
struct StorageStreamTransaction;
struct StreamedFileDataRequest;
@@ -293,7 +303,12 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Storage::IStorageLibrary3>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryChange>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryChangeReader>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryChangeReader2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryChangeTracker>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryChangeTracker2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryLastChangeId>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageLibraryStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::IStorageProvider>{ using type = interface_category; };
@@ -330,6 +345,8 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Storage::StorageLibraryChange>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::StorageLibraryChangeReader>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::StorageLibraryChangeTracker>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::StorageLibraryChangeTrackerOptions>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::StorageLibraryLastChangeId>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::StorageProvider>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::StorageStreamTransaction>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::StreamedFileDataRequest>{ using type = class_category; };
@@ -377,6 +394,8 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StorageLibraryChange> = L"Windows.Storage.StorageLibraryChange";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StorageLibraryChangeReader> = L"Windows.Storage.StorageLibraryChangeReader";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StorageLibraryChangeTracker> = L"Windows.Storage.StorageLibraryChangeTracker";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StorageLibraryChangeTrackerOptions> = L"Windows.Storage.StorageLibraryChangeTrackerOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StorageLibraryLastChangeId> = L"Windows.Storage.StorageLibraryLastChangeId";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StorageProvider> = L"Windows.Storage.StorageProvider";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StorageStreamTransaction> = L"Windows.Storage.StorageStreamTransaction";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::StreamedFileDataRequest> = L"Windows.Storage.StreamedFileDataRequest";
@@ -446,7 +465,12 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibrary3> = L"Windows.Storage.IStorageLibrary3";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryChange> = L"Windows.Storage.IStorageLibraryChange";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryChangeReader> = L"Windows.Storage.IStorageLibraryChangeReader";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryChangeReader2> = L"Windows.Storage.IStorageLibraryChangeReader2";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryChangeTracker> = L"Windows.Storage.IStorageLibraryChangeTracker";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryChangeTracker2> = L"Windows.Storage.IStorageLibraryChangeTracker2";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions> = L"Windows.Storage.IStorageLibraryChangeTrackerOptions";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryLastChangeId> = L"Windows.Storage.IStorageLibraryLastChangeId";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics> = L"Windows.Storage.IStorageLibraryLastChangeIdStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryStatics> = L"Windows.Storage.IStorageLibraryStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageLibraryStatics2> = L"Windows.Storage.IStorageLibraryStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::IStorageProvider> = L"Windows.Storage.IStorageProvider";
@@ -509,7 +533,12 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibrary3>{ 0x8A281291,0x2154,0x4201,{ 0x81,0x13,0xD2,0xC0,0x5C,0xE1,0xAD,0x23 } }; // 8A281291-2154-4201-8113-D2C05CE1AD23
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryChange>{ 0x00980B23,0x2BE2,0x4909,{ 0xAA,0x48,0x15,0x9F,0x52,0x03,0xA5,0x1E } }; // 00980B23-2BE2-4909-AA48-159F5203A51E
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryChangeReader>{ 0xF205BC83,0xFCA2,0x41F9,{ 0x89,0x54,0xEE,0x2E,0x99,0x1E,0xB9,0x6F } }; // F205BC83-FCA2-41F9-8954-EE2E991EB96F
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryChangeReader2>{ 0xABF4868B,0xFBCC,0x4A4F,{ 0x99,0x9E,0xE7,0xAB,0x7C,0x64,0x6D,0xBE } }; // ABF4868B-FBCC-4A4F-999E-E7AB7C646DBE
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryChangeTracker>{ 0x9E157316,0x6073,0x44F6,{ 0x96,0x81,0x74,0x92,0xD1,0x28,0x6C,0x90 } }; // 9E157316-6073-44F6-9681-7492D1286C90
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryChangeTracker2>{ 0xCD051C3B,0x0F9F,0x42F9,{ 0x8F,0xB3,0x15,0x8D,0x82,0xE1,0x38,0x21 } }; // CD051C3B-0F9F-42F9-8FB3-158D82E13821
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions>{ 0xBB52BCD4,0x1A6D,0x59C0,{ 0xAD,0x2A,0x82,0x3A,0x20,0x53,0x24,0x83 } }; // BB52BCD4-1A6D-59C0-AD2A-823A20532483
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryLastChangeId>{ 0x5281826A,0xBBE1,0x53BC,{ 0x82,0xCA,0x81,0xCC,0x7F,0x03,0x93,0x29 } }; // 5281826A-BBE1-53BC-82CA-81CC7F039329
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics>{ 0x81A49128,0x2CA3,0x5309,{ 0xB0,0xD1,0xCF,0x07,0x88,0xE4,0x07,0x62 } }; // 81A49128-2CA3-5309-B0D1-CF0788E40762
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryStatics>{ 0x4208A6DB,0x684A,0x49C6,{ 0x9E,0x59,0x90,0x12,0x1E,0xE0,0x50,0xD6 } }; // 4208A6DB-684A-49C6-9E59-90121EE050D6
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageLibraryStatics2>{ 0xFFB08DDC,0xFA75,0x4695,{ 0xB9,0xD1,0x7F,0x81,0xF9,0x78,0x32,0xE3 } }; // FFB08DDC-FA75-4695-B9D1-7F81F97832E3
template <> inline constexpr guid guid_v<winrt::Windows::Storage::IStorageProvider>{ 0xE705EED4,0xD478,0x47D6,{ 0xBA,0x46,0x1A,0x8E,0xBE,0x11,0x4A,0x20 } }; // E705EED4-D478-47D6-BA46-1A8EBE114A20
@@ -543,6 +572,8 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Storage::StorageLibraryChange>{ using type = winrt::Windows::Storage::IStorageLibraryChange; };
template <> struct default_interface<winrt::Windows::Storage::StorageLibraryChangeReader>{ using type = winrt::Windows::Storage::IStorageLibraryChangeReader; };
template <> struct default_interface<winrt::Windows::Storage::StorageLibraryChangeTracker>{ using type = winrt::Windows::Storage::IStorageLibraryChangeTracker; };
template <> struct default_interface<winrt::Windows::Storage::StorageLibraryChangeTrackerOptions>{ using type = winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions; };
template <> struct default_interface<winrt::Windows::Storage::StorageLibraryLastChangeId>{ using type = winrt::Windows::Storage::IStorageLibraryLastChangeId; };
template <> struct default_interface<winrt::Windows::Storage::StorageProvider>{ using type = winrt::Windows::Storage::IStorageProvider; };
template <> struct default_interface<winrt::Windows::Storage::StorageStreamTransaction>{ using type = winrt::Windows::Storage::IStorageStreamTransaction; };
template <> struct default_interface<winrt::Windows::Storage::StreamedFileDataRequest>{ using type = winrt::Windows::Storage::Streams::IOutputStream; };
@@ -978,6 +1009,13 @@ namespace winrt::impl
virtual int32_t __stdcall AcceptChangesAsync(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::IStorageLibraryChangeReader2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall GetLastChangeId(uint64_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::IStorageLibraryChangeTracker>
{
struct __declspec(novtable) type : inspectable_abi
@@ -987,6 +1025,35 @@ namespace winrt::impl
virtual int32_t __stdcall Reset() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::IStorageLibraryChangeTracker2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall EnableWithOptions(void*) noexcept = 0;
virtual int32_t __stdcall Disable() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_TrackChangeDetails(bool*) noexcept = 0;
virtual int32_t __stdcall put_TrackChangeDetails(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::IStorageLibraryLastChangeId>
{
struct __declspec(novtable) type : inspectable_abi
{
};
};
template <> struct abi<winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Unknown(uint64_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::IStorageLibraryStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1709,6 +1776,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Storage_IStorageLibraryChangeReader<D>;
};
template <typename D>
struct consume_Windows_Storage_IStorageLibraryChangeReader2
{
WINRT_IMPL_AUTO(uint64_t) GetLastChangeId() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryChangeReader2>
{
template <typename D> using type = consume_Windows_Storage_IStorageLibraryChangeReader2<D>;
};
template <typename D>
struct consume_Windows_Storage_IStorageLibraryChangeTracker
{
WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeReader) GetChangeReader() const;
@@ -1720,6 +1796,43 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Storage_IStorageLibraryChangeTracker<D>;
};
template <typename D>
struct consume_Windows_Storage_IStorageLibraryChangeTracker2
{
WINRT_IMPL_AUTO(void) Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const;
WINRT_IMPL_AUTO(void) Disable() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryChangeTracker2>
{
template <typename D> using type = consume_Windows_Storage_IStorageLibraryChangeTracker2<D>;
};
template <typename D>
struct consume_Windows_Storage_IStorageLibraryChangeTrackerOptions
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) TrackChangeDetails() const;
WINRT_IMPL_AUTO(void) TrackChangeDetails(bool value) const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions>
{
template <typename D> using type = consume_Windows_Storage_IStorageLibraryChangeTrackerOptions<D>;
};
template <typename D>
struct consume_Windows_Storage_IStorageLibraryLastChangeId
{
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryLastChangeId>
{
template <typename D> using type = consume_Windows_Storage_IStorageLibraryLastChangeId<D>;
};
template <typename D>
struct consume_Windows_Storage_IStorageLibraryLastChangeIdStatics
{
[[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Unknown() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics>
{
template <typename D> using type = consume_Windows_Storage_IStorageLibraryLastChangeIdStatics<D>;
};
template <typename D>
struct consume_Windows_Storage_IStorageLibraryStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>) GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const;
@@ -474,6 +474,17 @@ WINRT_EXPORT namespace winrt::Windows::Storage
IStorageLibraryChangeReader& operator=(IStorageLibraryChangeReader const&) & noexcept = default;
IStorageLibraryChangeReader& operator=(IStorageLibraryChangeReader&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageLibraryChangeReader2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageLibraryChangeReader2>
{
IStorageLibraryChangeReader2(std::nullptr_t = nullptr) noexcept {}
IStorageLibraryChangeReader2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageLibraryChangeReader2(IStorageLibraryChangeReader2 const&) noexcept = default;
IStorageLibraryChangeReader2(IStorageLibraryChangeReader2&&) noexcept = default;
IStorageLibraryChangeReader2& operator=(IStorageLibraryChangeReader2 const&) & noexcept = default;
IStorageLibraryChangeReader2& operator=(IStorageLibraryChangeReader2&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageLibraryChangeTracker :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageLibraryChangeTracker>
@@ -485,6 +496,50 @@ WINRT_EXPORT namespace winrt::Windows::Storage
IStorageLibraryChangeTracker& operator=(IStorageLibraryChangeTracker const&) & noexcept = default;
IStorageLibraryChangeTracker& operator=(IStorageLibraryChangeTracker&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageLibraryChangeTracker2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageLibraryChangeTracker2>
{
IStorageLibraryChangeTracker2(std::nullptr_t = nullptr) noexcept {}
IStorageLibraryChangeTracker2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageLibraryChangeTracker2(IStorageLibraryChangeTracker2 const&) noexcept = default;
IStorageLibraryChangeTracker2(IStorageLibraryChangeTracker2&&) noexcept = default;
IStorageLibraryChangeTracker2& operator=(IStorageLibraryChangeTracker2 const&) & noexcept = default;
IStorageLibraryChangeTracker2& operator=(IStorageLibraryChangeTracker2&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageLibraryChangeTrackerOptions :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageLibraryChangeTrackerOptions>
{
IStorageLibraryChangeTrackerOptions(std::nullptr_t = nullptr) noexcept {}
IStorageLibraryChangeTrackerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageLibraryChangeTrackerOptions(IStorageLibraryChangeTrackerOptions const&) noexcept = default;
IStorageLibraryChangeTrackerOptions(IStorageLibraryChangeTrackerOptions&&) noexcept = default;
IStorageLibraryChangeTrackerOptions& operator=(IStorageLibraryChangeTrackerOptions const&) & noexcept = default;
IStorageLibraryChangeTrackerOptions& operator=(IStorageLibraryChangeTrackerOptions&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageLibraryLastChangeId :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageLibraryLastChangeId>
{
IStorageLibraryLastChangeId(std::nullptr_t = nullptr) noexcept {}
IStorageLibraryLastChangeId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageLibraryLastChangeId(IStorageLibraryLastChangeId const&) noexcept = default;
IStorageLibraryLastChangeId(IStorageLibraryLastChangeId&&) noexcept = default;
IStorageLibraryLastChangeId& operator=(IStorageLibraryLastChangeId const&) & noexcept = default;
IStorageLibraryLastChangeId& operator=(IStorageLibraryLastChangeId&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageLibraryLastChangeIdStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageLibraryLastChangeIdStatics>
{
IStorageLibraryLastChangeIdStatics(std::nullptr_t = nullptr) noexcept {}
IStorageLibraryLastChangeIdStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageLibraryLastChangeIdStatics(IStorageLibraryLastChangeIdStatics const&) noexcept = default;
IStorageLibraryLastChangeIdStatics(IStorageLibraryLastChangeIdStatics&&) noexcept = default;
IStorageLibraryLastChangeIdStatics& operator=(IStorageLibraryLastChangeIdStatics const&) & noexcept = default;
IStorageLibraryLastChangeIdStatics& operator=(IStorageLibraryLastChangeIdStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageLibraryStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageLibraryStatics>
@@ -52,7 +52,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage
static auto GetDefault();
};
struct __declspec(empty_bases) ApplicationData : winrt::Windows::Storage::IApplicationData,
impl::require<ApplicationData, winrt::Windows::Storage::IApplicationData2, winrt::Windows::Storage::IApplicationData3>
impl::require<ApplicationData, winrt::Windows::Storage::IApplicationData2, winrt::Windows::Storage::IApplicationData3, winrt::Windows::Foundation::IClosable>
{
ApplicationData(std::nullptr_t) noexcept {}
ApplicationData(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IApplicationData(ptr, take_ownership_from_abi) {}
@@ -73,7 +73,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage
ApplicationDataCompositeValue& operator=(ApplicationDataCompositeValue const&) & noexcept = default;
ApplicationDataCompositeValue& operator=(ApplicationDataCompositeValue&&) & noexcept = default;
};
struct __declspec(empty_bases) ApplicationDataContainer : winrt::Windows::Storage::IApplicationDataContainer
struct __declspec(empty_bases) ApplicationDataContainer : winrt::Windows::Storage::IApplicationDataContainer,
impl::require<ApplicationDataContainer, winrt::Windows::Foundation::IClosable>
{
ApplicationDataContainer(std::nullptr_t) noexcept {}
ApplicationDataContainer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IApplicationDataContainer(ptr, take_ownership_from_abi) {}
@@ -246,7 +247,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage
StorageLibraryChange& operator=(StorageLibraryChange const&) & noexcept = default;
StorageLibraryChange& operator=(StorageLibraryChange&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageLibraryChangeReader : winrt::Windows::Storage::IStorageLibraryChangeReader
struct __declspec(empty_bases) StorageLibraryChangeReader : winrt::Windows::Storage::IStorageLibraryChangeReader,
impl::require<StorageLibraryChangeReader, winrt::Windows::Storage::IStorageLibraryChangeReader2>
{
StorageLibraryChangeReader(std::nullptr_t) noexcept {}
StorageLibraryChangeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryChangeReader(ptr, take_ownership_from_abi) {}
@@ -255,7 +257,8 @@ WINRT_EXPORT namespace winrt::Windows::Storage
StorageLibraryChangeReader& operator=(StorageLibraryChangeReader const&) & noexcept = default;
StorageLibraryChangeReader& operator=(StorageLibraryChangeReader&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageLibraryChangeTracker : winrt::Windows::Storage::IStorageLibraryChangeTracker
struct __declspec(empty_bases) StorageLibraryChangeTracker : winrt::Windows::Storage::IStorageLibraryChangeTracker,
impl::require<StorageLibraryChangeTracker, winrt::Windows::Storage::IStorageLibraryChangeTracker2>
{
StorageLibraryChangeTracker(std::nullptr_t) noexcept {}
StorageLibraryChangeTracker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryChangeTracker(ptr, take_ownership_from_abi) {}
@@ -263,6 +266,28 @@ WINRT_EXPORT namespace winrt::Windows::Storage
StorageLibraryChangeTracker(StorageLibraryChangeTracker&&) noexcept = default;
StorageLibraryChangeTracker& operator=(StorageLibraryChangeTracker const&) & noexcept = default;
StorageLibraryChangeTracker& operator=(StorageLibraryChangeTracker&&) & noexcept = default;
using winrt::Windows::Storage::IStorageLibraryChangeTracker::Enable;
using impl::consume_t<StorageLibraryChangeTracker, winrt::Windows::Storage::IStorageLibraryChangeTracker2>::Enable;
};
struct __declspec(empty_bases) StorageLibraryChangeTrackerOptions : winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions
{
StorageLibraryChangeTrackerOptions(std::nullptr_t) noexcept {}
StorageLibraryChangeTrackerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions(ptr, take_ownership_from_abi) {}
StorageLibraryChangeTrackerOptions();
StorageLibraryChangeTrackerOptions(StorageLibraryChangeTrackerOptions const&) noexcept = default;
StorageLibraryChangeTrackerOptions(StorageLibraryChangeTrackerOptions&&) noexcept = default;
StorageLibraryChangeTrackerOptions& operator=(StorageLibraryChangeTrackerOptions const&) & noexcept = default;
StorageLibraryChangeTrackerOptions& operator=(StorageLibraryChangeTrackerOptions&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageLibraryLastChangeId : winrt::Windows::Storage::IStorageLibraryLastChangeId
{
StorageLibraryLastChangeId(std::nullptr_t) noexcept {}
StorageLibraryLastChangeId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::IStorageLibraryLastChangeId(ptr, take_ownership_from_abi) {}
StorageLibraryLastChangeId(StorageLibraryLastChangeId const&) noexcept = default;
StorageLibraryLastChangeId(StorageLibraryLastChangeId&&) noexcept = default;
StorageLibraryLastChangeId& operator=(StorageLibraryLastChangeId const&) & noexcept = default;
StorageLibraryLastChangeId& operator=(StorageLibraryLastChangeId&&) & noexcept = default;
[[nodiscard]] static auto Unknown();
};
struct __declspec(empty_bases) StorageProvider : winrt::Windows::Storage::IStorageProvider,
impl::require<StorageProvider, winrt::Windows::Storage::IStorageProvider2>
@@ -72,6 +72,7 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
ValidationRequired = 0x1,
StreamingAllowed = 0x2,
AutoDehydrationAllowed = 0x4,
AllowFullRestartHydration = 0x8,
};
enum class StorageProviderInSyncPolicy : uint32_t
{
@@ -98,6 +99,15 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
Unknown = 0,
Personal = 1,
};
enum class StorageProviderState : int32_t
{
InSync = 0,
Syncing = 1,
Paused = 2,
Error = 3,
Warning = 4,
Offline = 5,
};
enum class StorageProviderUriSourceStatus : int32_t
{
Success = 0,
@@ -124,15 +134,23 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
struct IFileUpdateRequest2;
struct IFileUpdateRequestDeferral;
struct IFileUpdateRequestedEventArgs;
struct IStorageProviderError;
struct IStorageProviderErrorCommand;
struct IStorageProviderErrorCommandFactory;
struct IStorageProviderErrorFactory;
struct IStorageProviderFileTypeInfo;
struct IStorageProviderFileTypeInfoFactory;
struct IStorageProviderGetContentInfoForPathResult;
struct IStorageProviderGetPathForContentUriResult;
struct IStorageProviderHandlerFactory;
struct IStorageProviderItemPropertiesStatics;
struct IStorageProviderItemProperty;
struct IStorageProviderItemPropertyDefinition;
struct IStorageProviderItemPropertySource;
struct IStorageProviderPropertyCapabilities;
struct IStorageProviderStatus;
struct IStorageProviderStatusFactory;
struct IStorageProviderStatusSource;
struct IStorageProviderSyncRootInfo;
struct IStorageProviderSyncRootInfo2;
struct IStorageProviderSyncRootInfo3;
@@ -144,12 +162,15 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
struct FileUpdateRequest;
struct FileUpdateRequestDeferral;
struct FileUpdateRequestedEventArgs;
struct StorageProviderError;
struct StorageProviderErrorCommand;
struct StorageProviderFileTypeInfo;
struct StorageProviderGetContentInfoForPathResult;
struct StorageProviderGetPathForContentUriResult;
struct StorageProviderItemProperties;
struct StorageProviderItemProperty;
struct StorageProviderItemPropertyDefinition;
struct StorageProviderStatus;
struct StorageProviderSyncRootInfo;
struct StorageProviderSyncRootManager;
}
@@ -162,15 +183,23 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Storage::Provider::IFileUpdateRequest2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderError>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderErrorCommand>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderErrorFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfoFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderItemProperty>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderItemPropertySource>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderStatus>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderStatusFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3>{ using type = interface_category; };
@@ -182,12 +211,15 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Storage::Provider::FileUpdateRequest>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::FileUpdateRequestDeferral>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderError>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderErrorCommand>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderItemProperties>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderItemProperty>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderItemPropertyDefinition>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderStatus>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderSyncRootManager>{ using type = class_category; };
template <> struct category<winrt::Windows::Storage::Provider::CachedFileOptions>{ using type = enum_category; };
@@ -200,6 +232,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy>{ using type = enum_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy>{ using type = enum_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderProtectionMode>{ using type = enum_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderState>{ using type = enum_category; };
template <> struct category<winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Storage::Provider::UIStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::Storage::Provider::WriteActivationMode>{ using type = enum_category; };
@@ -208,12 +241,15 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::FileUpdateRequest> = L"Windows.Storage.Provider.FileUpdateRequest";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::FileUpdateRequestDeferral> = L"Windows.Storage.Provider.FileUpdateRequestDeferral";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> = L"Windows.Storage.Provider.FileUpdateRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderError> = L"Windows.Storage.Provider.StorageProviderError";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderErrorCommand> = L"Windows.Storage.Provider.StorageProviderErrorCommand";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo> = L"Windows.Storage.Provider.StorageProviderFileTypeInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult> = L"Windows.Storage.Provider.StorageProviderGetContentInfoForPathResult";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult> = L"Windows.Storage.Provider.StorageProviderGetPathForContentUriResult";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderItemProperties> = L"Windows.Storage.Provider.StorageProviderItemProperties";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderItemProperty> = L"Windows.Storage.Provider.StorageProviderItemProperty";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderItemPropertyDefinition> = L"Windows.Storage.Provider.StorageProviderItemPropertyDefinition";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderStatus> = L"Windows.Storage.Provider.StorageProviderStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo> = L"Windows.Storage.Provider.StorageProviderSyncRootInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderSyncRootManager> = L"Windows.Storage.Provider.StorageProviderSyncRootManager";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::CachedFileOptions> = L"Windows.Storage.Provider.CachedFileOptions";
@@ -226,6 +262,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy> = L"Windows.Storage.Provider.StorageProviderInSyncPolicy";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy> = L"Windows.Storage.Provider.StorageProviderPopulationPolicy";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderProtectionMode> = L"Windows.Storage.Provider.StorageProviderProtectionMode";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderState> = L"Windows.Storage.Provider.StorageProviderState";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus> = L"Windows.Storage.Provider.StorageProviderUriSourceStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::UIStatus> = L"Windows.Storage.Provider.UIStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::WriteActivationMode> = L"Windows.Storage.Provider.WriteActivationMode";
@@ -236,15 +273,23 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IFileUpdateRequest2> = L"Windows.Storage.Provider.IFileUpdateRequest2";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral> = L"Windows.Storage.Provider.IFileUpdateRequestDeferral";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs> = L"Windows.Storage.Provider.IFileUpdateRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderError> = L"Windows.Storage.Provider.IStorageProviderError";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderErrorCommand> = L"Windows.Storage.Provider.IStorageProviderErrorCommand";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory> = L"Windows.Storage.Provider.IStorageProviderErrorCommandFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderErrorFactory> = L"Windows.Storage.Provider.IStorageProviderErrorFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo> = L"Windows.Storage.Provider.IStorageProviderFileTypeInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfoFactory> = L"Windows.Storage.Provider.IStorageProviderFileTypeInfoFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult> = L"Windows.Storage.Provider.IStorageProviderGetContentInfoForPathResult";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult> = L"Windows.Storage.Provider.IStorageProviderGetPathForContentUriResult";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory> = L"Windows.Storage.Provider.IStorageProviderHandlerFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics> = L"Windows.Storage.Provider.IStorageProviderItemPropertiesStatics";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderItemProperty> = L"Windows.Storage.Provider.IStorageProviderItemProperty";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition> = L"Windows.Storage.Provider.IStorageProviderItemPropertyDefinition";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderItemPropertySource> = L"Windows.Storage.Provider.IStorageProviderItemPropertySource";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities> = L"Windows.Storage.Provider.IStorageProviderPropertyCapabilities";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderStatus> = L"Windows.Storage.Provider.IStorageProviderStatus";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderStatusFactory> = L"Windows.Storage.Provider.IStorageProviderStatusFactory";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderStatusSource> = L"Windows.Storage.Provider.IStorageProviderStatusSource";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo> = L"Windows.Storage.Provider.IStorageProviderSyncRootInfo";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2> = L"Windows.Storage.Provider.IStorageProviderSyncRootInfo2";
template <> inline constexpr auto& name_v<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3> = L"Windows.Storage.Provider.IStorageProviderSyncRootInfo3";
@@ -258,15 +303,23 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IFileUpdateRequest2>{ 0x82484648,0xBDBE,0x447B,{ 0xA2,0xEE,0x7A,0xFE,0x6A,0x03,0x2A,0x94 } }; // 82484648-BDBE-447B-A2EE-7AFE6A032A94
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral>{ 0xFFCEDB2B,0x8ADE,0x44A5,{ 0xBB,0x00,0x16,0x4C,0x4E,0x72,0xF1,0x3A } }; // FFCEDB2B-8ADE-44A5-BB00-164C4E72F13A
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs>{ 0x7B0A9342,0x3905,0x438D,{ 0xAA,0xEF,0x78,0xAE,0x26,0x5F,0x8D,0xD2 } }; // 7B0A9342-3905-438D-AAEF-78AE265F8DD2
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderError>{ 0x47F2780B,0xEF7F,0x5910,{ 0xBF,0x83,0x33,0x1D,0x89,0x25,0x66,0x15 } }; // 47F2780B-EF7F-5910-BF83-331D89256615
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderErrorCommand>{ 0xB6B18AED,0xBB65,0x5F26,{ 0x86,0xE4,0x1D,0x3E,0x34,0xD5,0x44,0x77 } }; // B6B18AED-BB65-5F26-86E4-1D3E34D54477
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory>{ 0xECC1F555,0x3AB4,0x556F,{ 0x8B,0xB2,0x7E,0x55,0x15,0xEE,0xD8,0xDC } }; // ECC1F555-3AB4-556F-8BB2-7E5515EED8DC
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderErrorFactory>{ 0x97D6F240,0x61AB,0x51DC,{ 0x99,0x21,0x18,0xBD,0x0D,0xBE,0xF7,0x9E } }; // 97D6F240-61AB-51DC-9921-18BD0DBEF79E
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo>{ 0x1955B9C1,0x0184,0x5A88,{ 0x87,0xDF,0x45,0x44,0xF4,0x64,0x36,0x5D } }; // 1955B9C1-0184-5A88-87DF-4544F464365D
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfoFactory>{ 0x3FA12C6F,0xCCE6,0x5D5D,{ 0x80,0xB1,0x38,0x9E,0x7C,0xF9,0x2D,0xBF } }; // 3FA12C6F-CCE6-5D5D-80B1-389E7CF92DBF
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult>{ 0x2564711D,0xAA89,0x4D12,{ 0x82,0xE3,0xF7,0x2A,0x92,0xE3,0x39,0x66 } }; // 2564711D-AA89-4D12-82E3-F72A92E33966
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult>{ 0x63711A9D,0x4118,0x45A6,{ 0xAC,0xB6,0x22,0xC4,0x9D,0x01,0x9F,0x40 } }; // 63711A9D-4118-45A6-ACB6-22C49D019F40
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory>{ 0x6154DC3A,0xFC1D,0x5AAE,{ 0x9E,0x23,0xE8,0x65,0x9A,0x22,0xC5,0xF6 } }; // 6154DC3A-FC1D-5AAE-9E23-E8659A22C5F6
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics>{ 0x2D2C1C97,0x2704,0x4729,{ 0x8F,0xA9,0x7E,0x6B,0x8E,0x15,0x8C,0x2F } }; // 2D2C1C97-2704-4729-8FA9-7E6B8E158C2F
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderItemProperty>{ 0x476CB558,0x730B,0x4188,{ 0xB7,0xB5,0x63,0xB7,0x16,0xED,0x47,0x6D } }; // 476CB558-730B-4188-B7B5-63B716ED476D
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition>{ 0xC5B383BB,0xFF1F,0x4298,{ 0x83,0x1E,0xFF,0x1C,0x08,0x08,0x96,0x90 } }; // C5B383BB-FF1F-4298-831E-FF1C08089690
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderItemPropertySource>{ 0x8F6F9C3E,0xF632,0x4A9B,{ 0x8D,0x99,0xD2,0xD7,0xA1,0x1D,0xF5,0x6A } }; // 8F6F9C3E-F632-4A9B-8D99-D2D7A11DF56A
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities>{ 0x658D2F0E,0x63B7,0x4567,{ 0xAC,0xF9,0x51,0xAB,0xE3,0x01,0xDD,0xA5 } }; // 658D2F0E-63B7-4567-ACF9-51ABE301DDA5
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderStatus>{ 0xFF6E761D,0xFB8B,0x56C3,{ 0x9E,0x7A,0x05,0x30,0x9D,0x19,0x1F,0xB4 } }; // FF6E761D-FB8B-56C3-9E7A-05309D191FB4
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderStatusFactory>{ 0xD64828C5,0x9B7A,0x5FA4,{ 0xB1,0x26,0x90,0xBD,0x18,0x93,0x6C,0x7F } }; // D64828C5-9B7A-5FA4-B126-90BD18936C7F
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>{ 0x2E316BB2,0xFD43,0x5335,{ 0xB3,0xC4,0xA9,0x62,0xEE,0x31,0xD1,0x7E } }; // 2E316BB2-FD43-5335-B3C4-A962EE31D17E
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo>{ 0x7C1305C4,0x99F9,0x41AC,{ 0x89,0x04,0xAB,0x05,0x5D,0x65,0x49,0x26 } }; // 7C1305C4-99F9-41AC-8904-AB055D654926
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2>{ 0xCF51B023,0x7CF1,0x5166,{ 0xBD,0xBA,0xEF,0xD9,0x5F,0x52,0x9E,0x31 } }; // CF51B023-7CF1-5166-BDBA-EFD95F529E31
template <> inline constexpr guid guid_v<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3>{ 0x507A6617,0xBEF6,0x56FD,{ 0x85,0x5E,0x75,0xAC,0xE2,0xE4,0x5C,0xF5 } }; // 507A6617-BEF6-56FD-855E-75ACE2E45CF5
@@ -277,11 +330,14 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::Storage::Provider::FileUpdateRequest>{ using type = winrt::Windows::Storage::Provider::IFileUpdateRequest; };
template <> struct default_interface<winrt::Windows::Storage::Provider::FileUpdateRequestDeferral>{ using type = winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral; };
template <> struct default_interface<winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs>{ using type = winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderError>{ using type = winrt::Windows::Storage::Provider::IStorageProviderError; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderErrorCommand>{ using type = winrt::Windows::Storage::Provider::IStorageProviderErrorCommand; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo>{ using type = winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult>{ using type = winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult>{ using type = winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderItemProperty>{ using type = winrt::Windows::Storage::Provider::IStorageProviderItemProperty; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderItemPropertyDefinition>{ using type = winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderStatus>{ using type = winrt::Windows::Storage::Provider::IStorageProviderStatus; };
template <> struct default_interface<winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo>{ using type = winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo; };
template <> struct abi<winrt::Windows::Storage::Provider::ICachedFileUpdaterStatics>
{
@@ -346,6 +402,45 @@ namespace winrt::impl
virtual int32_t __stdcall get_Request(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderError>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Id(void**) noexcept = 0;
virtual int32_t __stdcall get_Title(void**) noexcept = 0;
virtual int32_t __stdcall get_Message(void**) noexcept = 0;
virtual int32_t __stdcall get_FilePath(void**) noexcept = 0;
virtual int32_t __stdcall put_FilePath(void*) noexcept = 0;
virtual int32_t __stdcall get_PrimaryAction(void**) noexcept = 0;
virtual int32_t __stdcall put_PrimaryAction(void*) noexcept = 0;
virtual int32_t __stdcall get_SecondaryAction(void**) noexcept = 0;
virtual int32_t __stdcall put_SecondaryAction(void*) noexcept = 0;
virtual int32_t __stdcall get_InformationalLink(void**) noexcept = 0;
virtual int32_t __stdcall put_InformationalLink(void*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderErrorCommand>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Label(void**) noexcept = 0;
virtual int32_t __stdcall get_ActionUri(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall CreateInstance(void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderErrorFactory>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall CreateInstance(void*, void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo>
{
struct __declspec(novtable) type : inspectable_abi
@@ -383,6 +478,13 @@ namespace winrt::impl
virtual int32_t __stdcall put_Path(void*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall GetStatusSource(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -426,6 +528,32 @@ namespace winrt::impl
virtual int32_t __stdcall IsPropertySupported(void*, bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderStatus>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_Message(void**) noexcept = 0;
virtual int32_t __stdcall get_State(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_ErrorMessages(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderStatusFactory>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall CreateInstance(int32_t, void*, void**) noexcept = 0;
virtual int32_t __stdcall CreateInstance2(int32_t, void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall GetStatus(void**) noexcept = 0;
virtual int32_t __stdcall add_Changed(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_Changed(winrt::event_token) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo>
{
struct __declspec(novtable) type : inspectable_abi
@@ -586,6 +714,53 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderError
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) FilePath() const;
WINRT_IMPL_AUTO(void) FilePath(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) PrimaryAction() const;
WINRT_IMPL_AUTO(void) PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) SecondaryAction() const;
WINRT_IMPL_AUTO(void) SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) InformationalLink() const;
WINRT_IMPL_AUTO(void) InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderError>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderError<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderErrorCommand
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) ActionUri() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderErrorCommand>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderErrorCommand<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory
{
WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderErrorFactory
{
WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderError) CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderErrorFactory>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderErrorFactory<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) FileExtension() const;
@@ -631,6 +806,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderHandlerFactory
{
WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::IStorageProviderStatusSource) GetStatusSource(param::hstring const& syncRootId) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderHandlerFactory<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty> const& itemProperties) const;
@@ -684,6 +868,40 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderPropertyCapabilities<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderStatus
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderState) State() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderError>) ErrorMessages() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderStatus>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderStatus<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderStatusFactory
{
WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const;
WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable<winrt::Windows::Storage::Provider::StorageProviderError> const& errorMessages) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderStatusFactory>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderStatusFactory<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderStatusSource
{
WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) GetStatus() const;
WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, &impl::abi_t<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>::remove_Changed>;
[[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
WINRT_IMPL_AUTO(void) Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>
{
template <typename D> using type = consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>;
};
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
@@ -84,6 +84,50 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
IFileUpdateRequestedEventArgs& operator=(IFileUpdateRequestedEventArgs const&) & noexcept = default;
IFileUpdateRequestedEventArgs& operator=(IFileUpdateRequestedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderError :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderError>
{
IStorageProviderError(std::nullptr_t = nullptr) noexcept {}
IStorageProviderError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderError(IStorageProviderError const&) noexcept = default;
IStorageProviderError(IStorageProviderError&&) noexcept = default;
IStorageProviderError& operator=(IStorageProviderError const&) & noexcept = default;
IStorageProviderError& operator=(IStorageProviderError&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderErrorCommand :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderErrorCommand>
{
IStorageProviderErrorCommand(std::nullptr_t = nullptr) noexcept {}
IStorageProviderErrorCommand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderErrorCommand(IStorageProviderErrorCommand const&) noexcept = default;
IStorageProviderErrorCommand(IStorageProviderErrorCommand&&) noexcept = default;
IStorageProviderErrorCommand& operator=(IStorageProviderErrorCommand const&) & noexcept = default;
IStorageProviderErrorCommand& operator=(IStorageProviderErrorCommand&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderErrorCommandFactory :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderErrorCommandFactory>
{
IStorageProviderErrorCommandFactory(std::nullptr_t = nullptr) noexcept {}
IStorageProviderErrorCommandFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderErrorCommandFactory(IStorageProviderErrorCommandFactory const&) noexcept = default;
IStorageProviderErrorCommandFactory(IStorageProviderErrorCommandFactory&&) noexcept = default;
IStorageProviderErrorCommandFactory& operator=(IStorageProviderErrorCommandFactory const&) & noexcept = default;
IStorageProviderErrorCommandFactory& operator=(IStorageProviderErrorCommandFactory&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderErrorFactory :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderErrorFactory>
{
IStorageProviderErrorFactory(std::nullptr_t = nullptr) noexcept {}
IStorageProviderErrorFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderErrorFactory(IStorageProviderErrorFactory const&) noexcept = default;
IStorageProviderErrorFactory(IStorageProviderErrorFactory&&) noexcept = default;
IStorageProviderErrorFactory& operator=(IStorageProviderErrorFactory const&) & noexcept = default;
IStorageProviderErrorFactory& operator=(IStorageProviderErrorFactory&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderFileTypeInfo :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderFileTypeInfo>
@@ -128,6 +172,17 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
IStorageProviderGetPathForContentUriResult& operator=(IStorageProviderGetPathForContentUriResult const&) & noexcept = default;
IStorageProviderGetPathForContentUriResult& operator=(IStorageProviderGetPathForContentUriResult&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderHandlerFactory :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderHandlerFactory>
{
IStorageProviderHandlerFactory(std::nullptr_t = nullptr) noexcept {}
IStorageProviderHandlerFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderHandlerFactory(IStorageProviderHandlerFactory const&) noexcept = default;
IStorageProviderHandlerFactory(IStorageProviderHandlerFactory&&) noexcept = default;
IStorageProviderHandlerFactory& operator=(IStorageProviderHandlerFactory const&) & noexcept = default;
IStorageProviderHandlerFactory& operator=(IStorageProviderHandlerFactory&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderItemPropertiesStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderItemPropertiesStatics>
@@ -183,6 +238,39 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
IStorageProviderPropertyCapabilities& operator=(IStorageProviderPropertyCapabilities const&) & noexcept = default;
IStorageProviderPropertyCapabilities& operator=(IStorageProviderPropertyCapabilities&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderStatus :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderStatus>
{
IStorageProviderStatus(std::nullptr_t = nullptr) noexcept {}
IStorageProviderStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderStatus(IStorageProviderStatus const&) noexcept = default;
IStorageProviderStatus(IStorageProviderStatus&&) noexcept = default;
IStorageProviderStatus& operator=(IStorageProviderStatus const&) & noexcept = default;
IStorageProviderStatus& operator=(IStorageProviderStatus&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderStatusFactory :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderStatusFactory>
{
IStorageProviderStatusFactory(std::nullptr_t = nullptr) noexcept {}
IStorageProviderStatusFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderStatusFactory(IStorageProviderStatusFactory const&) noexcept = default;
IStorageProviderStatusFactory(IStorageProviderStatusFactory&&) noexcept = default;
IStorageProviderStatusFactory& operator=(IStorageProviderStatusFactory const&) & noexcept = default;
IStorageProviderStatusFactory& operator=(IStorageProviderStatusFactory&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderStatusSource :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderStatusSource>
{
IStorageProviderStatusSource(std::nullptr_t = nullptr) noexcept {}
IStorageProviderStatusSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IStorageProviderStatusSource(IStorageProviderStatusSource const&) noexcept = default;
IStorageProviderStatusSource(IStorageProviderStatusSource&&) noexcept = default;
IStorageProviderStatusSource& operator=(IStorageProviderStatusSource const&) & noexcept = default;
IStorageProviderStatusSource& operator=(IStorageProviderStatusSource&&) & noexcept = default;
};
struct __declspec(empty_bases) IStorageProviderSyncRootInfo :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IStorageProviderSyncRootInfo>
@@ -2,6 +2,7 @@
#ifndef WINRT_Windows_Storage_Provider_2_H
#define WINRT_Windows_Storage_Provider_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Foundation.Collections.1.h"
#include "winrt/impl/Windows.Storage.1.h"
#include "winrt/impl/Windows.Storage.Provider.1.h"
@@ -50,6 +51,26 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
FileUpdateRequestedEventArgs& operator=(FileUpdateRequestedEventArgs const&) & noexcept = default;
FileUpdateRequestedEventArgs& operator=(FileUpdateRequestedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageProviderError : winrt::Windows::Storage::Provider::IStorageProviderError
{
StorageProviderError(std::nullptr_t) noexcept {}
StorageProviderError(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Provider::IStorageProviderError(ptr, take_ownership_from_abi) {}
StorageProviderError(param::hstring const& id, param::hstring const& title, param::hstring const& message);
StorageProviderError(StorageProviderError const&) noexcept = default;
StorageProviderError(StorageProviderError&&) noexcept = default;
StorageProviderError& operator=(StorageProviderError const&) & noexcept = default;
StorageProviderError& operator=(StorageProviderError&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageProviderErrorCommand : winrt::Windows::Storage::Provider::IStorageProviderErrorCommand
{
StorageProviderErrorCommand(std::nullptr_t) noexcept {}
StorageProviderErrorCommand(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Provider::IStorageProviderErrorCommand(ptr, take_ownership_from_abi) {}
StorageProviderErrorCommand(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri);
StorageProviderErrorCommand(StorageProviderErrorCommand const&) noexcept = default;
StorageProviderErrorCommand(StorageProviderErrorCommand&&) noexcept = default;
StorageProviderErrorCommand& operator=(StorageProviderErrorCommand const&) & noexcept = default;
StorageProviderErrorCommand& operator=(StorageProviderErrorCommand&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageProviderFileTypeInfo : winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo
{
StorageProviderFileTypeInfo(std::nullptr_t) noexcept {}
@@ -105,6 +126,17 @@ WINRT_EXPORT namespace winrt::Windows::Storage::Provider
StorageProviderItemPropertyDefinition& operator=(StorageProviderItemPropertyDefinition const&) & noexcept = default;
StorageProviderItemPropertyDefinition& operator=(StorageProviderItemPropertyDefinition&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageProviderStatus : winrt::Windows::Storage::Provider::IStorageProviderStatus
{
StorageProviderStatus(std::nullptr_t) noexcept {}
StorageProviderStatus(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Storage::Provider::IStorageProviderStatus(ptr, take_ownership_from_abi) {}
StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message);
StorageProviderStatus(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable<winrt::Windows::Storage::Provider::StorageProviderError> const& errorMessages);
StorageProviderStatus(StorageProviderStatus const&) noexcept = default;
StorageProviderStatus(StorageProviderStatus&&) noexcept = default;
StorageProviderStatus& operator=(StorageProviderStatus const&) & noexcept = default;
StorageProviderStatus& operator=(StorageProviderStatus&&) & noexcept = default;
};
struct __declspec(empty_bases) StorageProviderSyncRootInfo : winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo,
impl::require<StorageProviderSyncRootInfo, winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2, winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3>
{
@@ -199,6 +199,7 @@ WINRT_EXPORT namespace winrt::Windows::System
RemoteUser = 1,
LocalGuest = 2,
RemoteGuest = 3,
SystemManaged = 4,
};
enum class UserWatcherStatus : int32_t
{
@@ -469,6 +470,7 @@ WINRT_EXPORT namespace winrt::Windows::System
struct IUserPicker;
struct IUserPickerStatics;
struct IUserStatics;
struct IUserStatics2;
struct IUserWatcher;
struct AppActivationResult;
struct AppDiagnosticInfo;
@@ -592,6 +594,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::System::IUserPicker>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::IUserPickerStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::IUserStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::IUserStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::IUserWatcher>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::AppActivationResult>{ using type = class_category; };
template <> struct category<winrt::Windows::System::AppDiagnosticInfo>{ using type = class_category; };
@@ -804,6 +807,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::System::IUserPicker> = L"Windows.System.IUserPicker";
template <> inline constexpr auto& name_v<winrt::Windows::System::IUserPickerStatics> = L"Windows.System.IUserPickerStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::IUserStatics> = L"Windows.System.IUserStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::IUserStatics2> = L"Windows.System.IUserStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::System::IUserWatcher> = L"Windows.System.IUserWatcher";
template <> inline constexpr auto& name_v<winrt::Windows::System::DispatcherQueueHandler> = L"Windows.System.DispatcherQueueHandler";
template <> inline constexpr guid guid_v<winrt::Windows::System::IAppActivationResult>{ 0x6B528900,0xF46E,0x4EB0,{ 0xAA,0x6C,0x38,0xAF,0x55,0x7C,0xF9,0xED } }; // 6B528900-F46E-4EB0-AA6C-38AF557CF9ED
@@ -878,6 +882,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::System::IUserPicker>{ 0x7D548008,0xF1E3,0x4A6C,{ 0x8D,0xDC,0xA9,0xBB,0x0F,0x48,0x8A,0xED } }; // 7D548008-F1E3-4A6C-8DDC-A9BB0F488AED
template <> inline constexpr guid guid_v<winrt::Windows::System::IUserPickerStatics>{ 0xDE3290DC,0x7E73,0x4DF6,{ 0xA1,0xAE,0x4D,0x7E,0xCA,0x82,0xB4,0x0D } }; // DE3290DC-7E73-4DF6-A1AE-4D7ECA82B40D
template <> inline constexpr guid guid_v<winrt::Windows::System::IUserStatics>{ 0x155EB23B,0x242A,0x45E0,{ 0xA2,0xE9,0x31,0x71,0xFC,0x6A,0x7F,0xDD } }; // 155EB23B-242A-45E0-A2E9-3171FC6A7FDD
template <> inline constexpr guid guid_v<winrt::Windows::System::IUserStatics2>{ 0x74A37E11,0x2EB5,0x4487,{ 0xB0,0xD5,0x2C,0x67,0x90,0xE0,0x13,0xE9 } }; // 74A37E11-2EB5-4487-B0D5-2C6790E013E9
template <> inline constexpr guid guid_v<winrt::Windows::System::IUserWatcher>{ 0x155EB23B,0x242A,0x45E0,{ 0xA2,0xE9,0x31,0x71,0xFC,0x6A,0x7F,0xBB } }; // 155EB23B-242A-45E0-A2E9-3171FC6A7FBB
template <> inline constexpr guid guid_v<winrt::Windows::System::DispatcherQueueHandler>{ 0xDFA2DC9C,0x1A2D,0x4917,{ 0x98,0xF2,0x93,0x9A,0xF1,0xD6,0xE0,0xC8 } }; // DFA2DC9C-1A2D-4917-98F2-939AF1D6E0C8
template <> struct default_interface<winrt::Windows::System::AppActivationResult>{ using type = winrt::Windows::System::IAppActivationResult; };
@@ -1593,6 +1598,13 @@ namespace winrt::impl
virtual int32_t __stdcall GetFromId(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::IUserStatics2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall GetDefault(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::IUserWatcher>
{
struct __declspec(novtable) type : inspectable_abi
@@ -2476,6 +2488,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_System_IUserStatics<D>;
};
template <typename D>
struct consume_Windows_System_IUserStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::System::User) GetDefault() const;
};
template <> struct consume<winrt::Windows::System::IUserStatics2>
{
template <typename D> using type = consume_Windows_System_IUserStatics2<D>;
};
template <typename D>
struct consume_Windows_System_IUserWatcher
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcherStatus) Status() const;
@@ -798,6 +798,17 @@ WINRT_EXPORT namespace winrt::Windows::System
IUserStatics& operator=(IUserStatics const&) & noexcept = default;
IUserStatics& operator=(IUserStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) IUserStatics2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IUserStatics2>
{
IUserStatics2(std::nullptr_t = nullptr) noexcept {}
IUserStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IUserStatics2(IUserStatics2 const&) noexcept = default;
IUserStatics2(IUserStatics2&&) noexcept = default;
IUserStatics2& operator=(IUserStatics2 const&) & noexcept = default;
IUserStatics2& operator=(IUserStatics2&&) & noexcept = default;
};
struct __declspec(empty_bases) IUserWatcher :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IUserWatcher>
@@ -433,6 +433,7 @@ WINRT_EXPORT namespace winrt::Windows::System
static auto FindAllAsync(winrt::Windows::System::UserType const& type);
static auto FindAllAsync(winrt::Windows::System::UserType const& type, winrt::Windows::System::UserAuthenticationStatus const& status);
static auto GetFromId(param::hstring const& nonRoamableId);
static auto GetDefault();
};
struct __declspec(empty_bases) UserAuthenticationStatusChangeDeferral : winrt::Windows::System::IUserAuthenticationStatusChangeDeferral
{
@@ -20,6 +20,7 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
WINRT_EXPORT namespace winrt::Windows::System
{
struct AppDiagnosticInfo;
enum class ProcessorArchitecture : int32_t;
struct User;
}
WINRT_EXPORT namespace winrt::Windows::System::Diagnostics
@@ -32,6 +33,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics
Detecting = 3,
Resolving = 4,
VerifyingResolution = 5,
Executing = 6,
};
struct IDiagnosticActionResult;
struct IDiagnosticInvoker;
@@ -51,6 +53,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics
struct ISystemCpuUsageReport;
struct ISystemDiagnosticInfo;
struct ISystemDiagnosticInfoStatics;
struct ISystemDiagnosticInfoStatics2;
struct ISystemMemoryUsage;
struct ISystemMemoryUsageReport;
struct DiagnosticActionResult;
@@ -88,6 +91,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::System::Diagnostics::ISystemCpuUsageReport>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Diagnostics::ISystemMemoryUsage>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Diagnostics::DiagnosticActionResult>{ using type = class_category; };
@@ -138,6 +142,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::System::Diagnostics::ISystemCpuUsageReport> = L"Windows.System.Diagnostics.ISystemCpuUsageReport";
template <> inline constexpr auto& name_v<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfo> = L"Windows.System.Diagnostics.ISystemDiagnosticInfo";
template <> inline constexpr auto& name_v<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics> = L"Windows.System.Diagnostics.ISystemDiagnosticInfoStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2> = L"Windows.System.Diagnostics.ISystemDiagnosticInfoStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::System::Diagnostics::ISystemMemoryUsage> = L"Windows.System.Diagnostics.ISystemMemoryUsage";
template <> inline constexpr auto& name_v<winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport> = L"Windows.System.Diagnostics.ISystemMemoryUsageReport";
template <> inline constexpr guid guid_v<winrt::Windows::System::Diagnostics::IDiagnosticActionResult>{ 0xC265A296,0xE73B,0x4097,{ 0xB2,0x8F,0x34,0x42,0xF0,0x3D,0xD8,0x31 } }; // C265A296-E73B-4097-B28F-3442F03DD831
@@ -158,6 +163,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::System::Diagnostics::ISystemCpuUsageReport>{ 0x2C26D0B2,0x9483,0x4F62,{ 0xAB,0x57,0x82,0xB2,0x9D,0x97,0x19,0xB8 } }; // 2C26D0B2-9483-4F62-AB57-82B29D9719B8
template <> inline constexpr guid guid_v<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfo>{ 0xA290FE05,0xDFF3,0x407F,{ 0x9A,0x1B,0x0B,0x2B,0x31,0x7C,0xA8,0x00 } }; // A290FE05-DFF3-407F-9A1B-0B2B317CA800
template <> inline constexpr guid guid_v<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics>{ 0xD404AC21,0xFC7D,0x45F0,{ 0x9A,0x3F,0x39,0x20,0x3A,0xED,0x9F,0x7E } }; // D404AC21-FC7D-45F0-9A3F-39203AED9F7E
template <> inline constexpr guid guid_v<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2>{ 0x79DED189,0x6AF9,0x4DA9,{ 0xA4,0x22,0x15,0xF7,0x32,0x55,0xB3,0xEB } }; // 79DED189-6AF9-4DA9-A422-15F73255B3EB
template <> inline constexpr guid guid_v<winrt::Windows::System::Diagnostics::ISystemMemoryUsage>{ 0x17FFC595,0x1702,0x49CF,{ 0xAA,0x27,0x2F,0x0A,0x32,0x59,0x14,0x04 } }; // 17FFC595-1702-49CF-AA27-2F0A32591404
template <> inline constexpr guid guid_v<winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport>{ 0x38663C87,0x2A9F,0x403A,{ 0xBD,0x19,0x2C,0xF3,0xE8,0x16,0x95,0x00 } }; // 38663C87-2A9F-403A-BD19-2CF3E8169500
template <> struct default_interface<winrt::Windows::System::Diagnostics::DiagnosticActionResult>{ using type = winrt::Windows::System::Diagnostics::IDiagnosticActionResult; };
@@ -331,6 +337,14 @@ namespace winrt::impl
virtual int32_t __stdcall GetForCurrentSystem(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall IsArchitectureSupported(int32_t, bool*) noexcept = 0;
virtual int32_t __stdcall get_PreferredArchitecture(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Diagnostics::ISystemMemoryUsage>
{
struct __declspec(novtable) type : inspectable_abi
@@ -541,6 +555,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics<D>;
};
template <typename D>
struct consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2
{
WINRT_IMPL_AUTO(bool) IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) PreferredArchitecture() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2>
{
template <typename D> using type = consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2<D>;
};
template <typename D>
struct consume_Windows_System_Diagnostics_ISystemMemoryUsage
{
WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) GetReport() const;
@@ -203,6 +203,17 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics
ISystemDiagnosticInfoStatics& operator=(ISystemDiagnosticInfoStatics const&) & noexcept = default;
ISystemDiagnosticInfoStatics& operator=(ISystemDiagnosticInfoStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) ISystemDiagnosticInfoStatics2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ISystemDiagnosticInfoStatics2>
{
ISystemDiagnosticInfoStatics2(std::nullptr_t = nullptr) noexcept {}
ISystemDiagnosticInfoStatics2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ISystemDiagnosticInfoStatics2(ISystemDiagnosticInfoStatics2 const&) noexcept = default;
ISystemDiagnosticInfoStatics2(ISystemDiagnosticInfoStatics2&&) noexcept = default;
ISystemDiagnosticInfoStatics2& operator=(ISystemDiagnosticInfoStatics2 const&) & noexcept = default;
ISystemDiagnosticInfoStatics2& operator=(ISystemDiagnosticInfoStatics2&&) & noexcept = default;
};
struct __declspec(empty_bases) ISystemMemoryUsage :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ISystemMemoryUsage>
@@ -122,6 +122,8 @@ WINRT_EXPORT namespace winrt::Windows::System::Diagnostics
SystemDiagnosticInfo& operator=(SystemDiagnosticInfo const&) & noexcept = default;
SystemDiagnosticInfo& operator=(SystemDiagnosticInfo&&) & noexcept = default;
static auto GetForCurrentSystem();
static auto IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type);
[[nodiscard]] static auto PreferredArchitecture();
};
struct __declspec(empty_bases) SystemMemoryUsage : winrt::Windows::System::Diagnostics::ISystemMemoryUsage
{
@@ -52,6 +52,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
struct IAnalyticsInfoStatics;
struct IAnalyticsInfoStatics2;
struct IAnalyticsVersionInfo;
struct IAnalyticsVersionInfo2;
struct IAppApplicabilityStatics;
struct IEducationSettingsStatics;
struct IHardwareIdentificationStatics;
@@ -87,6 +88,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::System::Profile::IAnalyticsInfoStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IAnalyticsInfoStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IAnalyticsVersionInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IAnalyticsVersionInfo2>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IAppApplicabilityStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IEducationSettingsStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::System::Profile::IHardwareIdentificationStatics>{ using type = interface_category; };
@@ -142,6 +144,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IAnalyticsInfoStatics> = L"Windows.System.Profile.IAnalyticsInfoStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IAnalyticsInfoStatics2> = L"Windows.System.Profile.IAnalyticsInfoStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IAnalyticsVersionInfo> = L"Windows.System.Profile.IAnalyticsVersionInfo";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IAnalyticsVersionInfo2> = L"Windows.System.Profile.IAnalyticsVersionInfo2";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IAppApplicabilityStatics> = L"Windows.System.Profile.IAppApplicabilityStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IEducationSettingsStatics> = L"Windows.System.Profile.IEducationSettingsStatics";
template <> inline constexpr auto& name_v<winrt::Windows::System::Profile::IHardwareIdentificationStatics> = L"Windows.System.Profile.IHardwareIdentificationStatics";
@@ -159,6 +162,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAnalyticsInfoStatics>{ 0x1D5EE066,0x188D,0x5BA9,{ 0x43,0x87,0xAC,0xAE,0xB0,0xE7,0xE3,0x05 } }; // 1D5EE066-188D-5BA9-4387-ACAEB0E7E305
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAnalyticsInfoStatics2>{ 0x101704EA,0xA7F9,0x46D2,{ 0xAB,0x94,0x01,0x68,0x65,0xAF,0xDB,0x25 } }; // 101704EA-A7F9-46D2-AB94-016865AFDB25
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAnalyticsVersionInfo>{ 0x926130B8,0x9955,0x4C74,{ 0xBD,0xC1,0x7C,0xD0,0xDE,0xCF,0x9B,0x03 } }; // 926130B8-9955-4C74-BDC1-7CD0DECF9B03
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAnalyticsVersionInfo2>{ 0x76E915B1,0xFF36,0x407C,{ 0x9F,0x57,0x16,0x0D,0x3E,0x54,0x07,0x47 } }; // 76E915B1-FF36-407C-9F57-160D3E540747
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IAppApplicabilityStatics>{ 0x1664A082,0x0F38,0x5C99,{ 0x83,0xE4,0x48,0x99,0x59,0x70,0x86,0x1C } }; // 1664A082-0F38-5C99-83E4-48995970861C
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IEducationSettingsStatics>{ 0xFC53F0EF,0x4D3E,0x4E13,{ 0x9B,0x23,0x50,0x5F,0x4D,0x09,0x1E,0x92 } }; // FC53F0EF-4D3E-4E13-9B23-505F4D091E92
template <> inline constexpr guid guid_v<winrt::Windows::System::Profile::IHardwareIdentificationStatics>{ 0x971260E0,0xF170,0x4A42,{ 0xBD,0x55,0xA9,0x00,0xB2,0x12,0xDA,0xE2 } }; // 971260E0-F170-4A42-BD55-A900B212DAE2
@@ -200,6 +204,13 @@ namespace winrt::impl
virtual int32_t __stdcall get_DeviceFamilyVersion(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IAnalyticsVersionInfo2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall get_ProductName(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::System::Profile::IAppApplicabilityStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -365,6 +376,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_System_Profile_IAnalyticsVersionInfo<D>;
};
template <typename D>
struct consume_Windows_System_Profile_IAnalyticsVersionInfo2
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductName() const;
};
template <> struct consume<winrt::Windows::System::Profile::IAnalyticsVersionInfo2>
{
template <typename D> using type = consume_Windows_System_Profile_IAnalyticsVersionInfo2<D>;
};
template <typename D>
struct consume_Windows_System_Profile_IAppApplicabilityStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Profile::UnsupportedAppRequirement>) GetUnsupportedAppRequirements(param::iterable<hstring> const& capabilities) const;
@@ -38,6 +38,17 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
IAnalyticsVersionInfo& operator=(IAnalyticsVersionInfo const&) & noexcept = default;
IAnalyticsVersionInfo& operator=(IAnalyticsVersionInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) IAnalyticsVersionInfo2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAnalyticsVersionInfo2>
{
IAnalyticsVersionInfo2(std::nullptr_t = nullptr) noexcept {}
IAnalyticsVersionInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IAnalyticsVersionInfo2(IAnalyticsVersionInfo2 const&) noexcept = default;
IAnalyticsVersionInfo2(IAnalyticsVersionInfo2&&) noexcept = default;
IAnalyticsVersionInfo2& operator=(IAnalyticsVersionInfo2 const&) & noexcept = default;
IAnalyticsVersionInfo2& operator=(IAnalyticsVersionInfo2&&) & noexcept = default;
};
struct __declspec(empty_bases) IAppApplicabilityStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAppApplicabilityStatics>
@@ -16,7 +16,8 @@ WINRT_EXPORT namespace winrt::Windows::System::Profile
[[nodiscard]] static auto DeviceForm();
static auto GetSystemPropertiesAsync(param::async_iterable<hstring> const& attributeNames);
};
struct __declspec(empty_bases) AnalyticsVersionInfo : winrt::Windows::System::Profile::IAnalyticsVersionInfo
struct __declspec(empty_bases) AnalyticsVersionInfo : winrt::Windows::System::Profile::IAnalyticsVersionInfo,
impl::require<AnalyticsVersionInfo, winrt::Windows::System::Profile::IAnalyticsVersionInfo2>
{
AnalyticsVersionInfo(std::nullptr_t) noexcept {}
AnalyticsVersionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Profile::IAnalyticsVersionInfo(ptr, take_ownership_from_abi) {}
@@ -16,6 +16,7 @@ WINRT_EXPORT namespace winrt::Windows::UI
struct UIContentRoot;
struct UIContext;
struct Color;
struct WindowId;
}
namespace winrt::impl
{
@@ -31,11 +32,13 @@ namespace winrt::impl
template <> struct category<winrt::Windows::UI::UIContentRoot>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::UIContext>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::Color>{ using type = struct_category<uint8_t, uint8_t, uint8_t, uint8_t>; };
template <> struct category<winrt::Windows::UI::WindowId>{ using type = struct_category<uint64_t>; };
template <> inline constexpr auto& name_v<winrt::Windows::UI::ColorHelper> = L"Windows.UI.ColorHelper";
template <> inline constexpr auto& name_v<winrt::Windows::UI::Colors> = L"Windows.UI.Colors";
template <> inline constexpr auto& name_v<winrt::Windows::UI::UIContentRoot> = L"Windows.UI.UIContentRoot";
template <> inline constexpr auto& name_v<winrt::Windows::UI::UIContext> = L"Windows.UI.UIContext";
template <> inline constexpr auto& name_v<winrt::Windows::UI::Color> = L"Windows.UI.Color";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowId> = L"Windows.UI.WindowId";
template <> inline constexpr auto& name_v<winrt::Windows::UI::IColorHelper> = L"Windows.UI.IColorHelper";
template <> inline constexpr auto& name_v<winrt::Windows::UI::IColorHelperStatics> = L"Windows.UI.IColorHelperStatics";
template <> inline constexpr auto& name_v<winrt::Windows::UI::IColorHelperStatics2> = L"Windows.UI.IColorHelperStatics2";
@@ -451,5 +454,13 @@ namespace winrt::impl
{
using type = struct_Windows_UI_Color;
};
struct struct_Windows_UI_WindowId
{
uint64_t Value;
};
template <> struct abi<Windows::UI::WindowId>
{
using type = struct_Windows_UI_WindowId;
};
}
#endif
@@ -20,6 +20,18 @@ WINRT_EXPORT namespace winrt::Windows::UI
{
return !(left == right);
}
struct WindowId
{
uint64_t Value;
};
inline bool operator==(WindowId const& left, WindowId const& right) noexcept
{
return left.Value == right.Value;
}
inline bool operator!=(WindowId const& left, WindowId const& right) noexcept
{
return !(left == right);
}
struct __declspec(empty_bases) ColorHelper : winrt::Windows::UI::IColorHelper
{
ColorHelper(std::nullptr_t) noexcept {}
File diff suppressed because it is too large Load Diff
@@ -71,6 +71,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IAnimationPropertyInfo& operator=(IAnimationPropertyInfo const&) & noexcept = default;
IAnimationPropertyInfo& operator=(IAnimationPropertyInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) IAnimationPropertyInfo2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IAnimationPropertyInfo2>
{
IAnimationPropertyInfo2(std::nullptr_t = nullptr) noexcept {}
IAnimationPropertyInfo2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IAnimationPropertyInfo2(IAnimationPropertyInfo2 const&) noexcept = default;
IAnimationPropertyInfo2(IAnimationPropertyInfo2&&) noexcept = default;
IAnimationPropertyInfo2& operator=(IAnimationPropertyInfo2 const&) & noexcept = default;
IAnimationPropertyInfo2& operator=(IAnimationPropertyInfo2&&) & noexcept = default;
};
struct __declspec(empty_bases) IBackEasingFunction :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IBackEasingFunction>
{
IBackEasingFunction(std::nullptr_t = nullptr) noexcept {}
IBackEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IBackEasingFunction(IBackEasingFunction const&) noexcept = default;
IBackEasingFunction(IBackEasingFunction&&) noexcept = default;
IBackEasingFunction& operator=(IBackEasingFunction const&) & noexcept = default;
IBackEasingFunction& operator=(IBackEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) IBooleanKeyFrameAnimation :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IBooleanKeyFrameAnimation>
@@ -82,6 +104,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IBooleanKeyFrameAnimation& operator=(IBooleanKeyFrameAnimation const&) & noexcept = default;
IBooleanKeyFrameAnimation& operator=(IBooleanKeyFrameAnimation&&) & noexcept = default;
};
struct __declspec(empty_bases) IBounceEasingFunction :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IBounceEasingFunction>
{
IBounceEasingFunction(std::nullptr_t = nullptr) noexcept {}
IBounceEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IBounceEasingFunction(IBounceEasingFunction const&) noexcept = default;
IBounceEasingFunction(IBounceEasingFunction&&) noexcept = default;
IBounceEasingFunction& operator=(IBounceEasingFunction const&) & noexcept = default;
IBounceEasingFunction& operator=(IBounceEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) IBounceScalarNaturalMotionAnimation :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IBounceScalarNaturalMotionAnimation>
@@ -115,6 +148,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IBounceVector3NaturalMotionAnimation& operator=(IBounceVector3NaturalMotionAnimation const&) & noexcept = default;
IBounceVector3NaturalMotionAnimation& operator=(IBounceVector3NaturalMotionAnimation&&) & noexcept = default;
};
struct __declspec(empty_bases) ICircleEasingFunction :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICircleEasingFunction>
{
ICircleEasingFunction(std::nullptr_t = nullptr) noexcept {}
ICircleEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ICircleEasingFunction(ICircleEasingFunction const&) noexcept = default;
ICircleEasingFunction(ICircleEasingFunction&&) noexcept = default;
ICircleEasingFunction& operator=(ICircleEasingFunction const&) & noexcept = default;
ICircleEasingFunction& operator=(ICircleEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) IColorKeyFrameAnimation :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IColorKeyFrameAnimation>
@@ -412,6 +456,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
ICompositionEasingFunctionFactory& operator=(ICompositionEasingFunctionFactory const&) & noexcept = default;
ICompositionEasingFunctionFactory& operator=(ICompositionEasingFunctionFactory&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositionEasingFunctionStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositionEasingFunctionStatics>
{
ICompositionEasingFunctionStatics(std::nullptr_t = nullptr) noexcept {}
ICompositionEasingFunctionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ICompositionEasingFunctionStatics(ICompositionEasingFunctionStatics const&) noexcept = default;
ICompositionEasingFunctionStatics(ICompositionEasingFunctionStatics&&) noexcept = default;
ICompositionEasingFunctionStatics& operator=(ICompositionEasingFunctionStatics const&) & noexcept = default;
ICompositionEasingFunctionStatics& operator=(ICompositionEasingFunctionStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositionEffectBrush :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositionEffectBrush>
@@ -566,6 +621,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
ICompositionGraphicsDevice3& operator=(ICompositionGraphicsDevice3 const&) & noexcept = default;
ICompositionGraphicsDevice3& operator=(ICompositionGraphicsDevice3&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositionGraphicsDevice4 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositionGraphicsDevice4>
{
ICompositionGraphicsDevice4(std::nullptr_t = nullptr) noexcept {}
ICompositionGraphicsDevice4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ICompositionGraphicsDevice4(ICompositionGraphicsDevice4 const&) noexcept = default;
ICompositionGraphicsDevice4(ICompositionGraphicsDevice4&&) noexcept = default;
ICompositionGraphicsDevice4& operator=(ICompositionGraphicsDevice4 const&) & noexcept = default;
ICompositionGraphicsDevice4& operator=(ICompositionGraphicsDevice4&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositionLight :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositionLight>
@@ -995,6 +1061,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
ICompositionSurfaceBrush3& operator=(ICompositionSurfaceBrush3 const&) & noexcept = default;
ICompositionSurfaceBrush3& operator=(ICompositionSurfaceBrush3&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositionSurfaceFacade :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositionSurfaceFacade>
{
ICompositionSurfaceFacade(std::nullptr_t = nullptr) noexcept {}
ICompositionSurfaceFacade(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ICompositionSurfaceFacade(ICompositionSurfaceFacade const&) noexcept = default;
ICompositionSurfaceFacade(ICompositionSurfaceFacade&&) noexcept = default;
ICompositionSurfaceFacade& operator=(ICompositionSurfaceFacade const&) & noexcept = default;
ICompositionSurfaceFacade& operator=(ICompositionSurfaceFacade&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositionTarget :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositionTarget>
@@ -1149,6 +1226,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
ICompositor6& operator=(ICompositor6 const&) & noexcept = default;
ICompositor6& operator=(ICompositor6&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositor7 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositor7>
{
ICompositor7(std::nullptr_t = nullptr) noexcept {}
ICompositor7(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ICompositor7(ICompositor7 const&) noexcept = default;
ICompositor7(ICompositor7&&) noexcept = default;
ICompositor7& operator=(ICompositor7 const&) & noexcept = default;
ICompositor7& operator=(ICompositor7&&) & noexcept = default;
};
struct __declspec(empty_bases) ICompositorStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ICompositorStatics>
@@ -1226,6 +1314,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
ICubicBezierEasingFunction& operator=(ICubicBezierEasingFunction const&) & noexcept = default;
ICubicBezierEasingFunction& operator=(ICubicBezierEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) IDelegatedInkTrailVisual :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDelegatedInkTrailVisual>
{
IDelegatedInkTrailVisual(std::nullptr_t = nullptr) noexcept {}
IDelegatedInkTrailVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IDelegatedInkTrailVisual(IDelegatedInkTrailVisual const&) noexcept = default;
IDelegatedInkTrailVisual(IDelegatedInkTrailVisual&&) noexcept = default;
IDelegatedInkTrailVisual& operator=(IDelegatedInkTrailVisual const&) & noexcept = default;
IDelegatedInkTrailVisual& operator=(IDelegatedInkTrailVisual&&) & noexcept = default;
};
struct __declspec(empty_bases) IDelegatedInkTrailVisualStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDelegatedInkTrailVisualStatics>
{
IDelegatedInkTrailVisualStatics(std::nullptr_t = nullptr) noexcept {}
IDelegatedInkTrailVisualStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IDelegatedInkTrailVisualStatics(IDelegatedInkTrailVisualStatics const&) noexcept = default;
IDelegatedInkTrailVisualStatics(IDelegatedInkTrailVisualStatics&&) noexcept = default;
IDelegatedInkTrailVisualStatics& operator=(IDelegatedInkTrailVisualStatics const&) & noexcept = default;
IDelegatedInkTrailVisualStatics& operator=(IDelegatedInkTrailVisualStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) IDistantLight :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IDistantLight>
@@ -1270,6 +1380,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IDropShadow2& operator=(IDropShadow2 const&) & noexcept = default;
IDropShadow2& operator=(IDropShadow2&&) & noexcept = default;
};
struct __declspec(empty_bases) IElasticEasingFunction :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IElasticEasingFunction>
{
IElasticEasingFunction(std::nullptr_t = nullptr) noexcept {}
IElasticEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IElasticEasingFunction(IElasticEasingFunction const&) noexcept = default;
IElasticEasingFunction(IElasticEasingFunction&&) noexcept = default;
IElasticEasingFunction& operator=(IElasticEasingFunction const&) & noexcept = default;
IElasticEasingFunction& operator=(IElasticEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) IExponentialEasingFunction :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IExponentialEasingFunction>
{
IExponentialEasingFunction(std::nullptr_t = nullptr) noexcept {}
IExponentialEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IExponentialEasingFunction(IExponentialEasingFunction const&) noexcept = default;
IExponentialEasingFunction(IExponentialEasingFunction&&) noexcept = default;
IExponentialEasingFunction& operator=(IExponentialEasingFunction const&) & noexcept = default;
IExponentialEasingFunction& operator=(IExponentialEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) IExpressionAnimation :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IExpressionAnimation>
@@ -1446,6 +1578,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IPointLight3& operator=(IPointLight3 const&) & noexcept = default;
IPointLight3& operator=(IPointLight3&&) & noexcept = default;
};
struct __declspec(empty_bases) IPowerEasingFunction :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IPowerEasingFunction>
{
IPowerEasingFunction(std::nullptr_t = nullptr) noexcept {}
IPowerEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IPowerEasingFunction(IPowerEasingFunction const&) noexcept = default;
IPowerEasingFunction(IPowerEasingFunction&&) noexcept = default;
IPowerEasingFunction& operator=(IPowerEasingFunction const&) & noexcept = default;
IPowerEasingFunction& operator=(IPowerEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) IQuaternionKeyFrameAnimation :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IQuaternionKeyFrameAnimation>
@@ -1457,6 +1600,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IQuaternionKeyFrameAnimation& operator=(IQuaternionKeyFrameAnimation const&) & noexcept = default;
IQuaternionKeyFrameAnimation& operator=(IQuaternionKeyFrameAnimation&&) & noexcept = default;
};
struct __declspec(empty_bases) IRectangleClip :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IRectangleClip>
{
IRectangleClip(std::nullptr_t = nullptr) noexcept {}
IRectangleClip(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IRectangleClip(IRectangleClip const&) noexcept = default;
IRectangleClip(IRectangleClip&&) noexcept = default;
IRectangleClip& operator=(IRectangleClip const&) & noexcept = default;
IRectangleClip& operator=(IRectangleClip&&) & noexcept = default;
};
struct __declspec(empty_bases) IRedirectVisual :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IRedirectVisual>
@@ -1523,6 +1677,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IShapeVisual& operator=(IShapeVisual const&) & noexcept = default;
IShapeVisual& operator=(IShapeVisual&&) & noexcept = default;
};
struct __declspec(empty_bases) ISineEasingFunction :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ISineEasingFunction>
{
ISineEasingFunction(std::nullptr_t = nullptr) noexcept {}
ISineEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
ISineEasingFunction(ISineEasingFunction const&) noexcept = default;
ISineEasingFunction(ISineEasingFunction&&) noexcept = default;
ISineEasingFunction& operator=(ISineEasingFunction const&) & noexcept = default;
ISineEasingFunction& operator=(ISineEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) ISpotLight :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<ISpotLight>
@@ -1732,6 +1897,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IVisual3& operator=(IVisual3 const&) & noexcept = default;
IVisual3& operator=(IVisual3&&) & noexcept = default;
};
struct __declspec(empty_bases) IVisual4 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IVisual4>
{
IVisual4(std::nullptr_t = nullptr) noexcept {}
IVisual4(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IVisual4(IVisual4 const&) noexcept = default;
IVisual4(IVisual4&&) noexcept = default;
IVisual4& operator=(IVisual4 const&) & noexcept = default;
IVisual4& operator=(IVisual4&&) & noexcept = default;
};
struct __declspec(empty_bases) IVisualCollection :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IVisualCollection>
@@ -1754,6 +1930,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
IVisualElement& operator=(IVisualElement const&) & noexcept = default;
IVisualElement& operator=(IVisualElement&&) & noexcept = default;
};
struct __declspec(empty_bases) IVisualElement2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IVisualElement2>
{
IVisualElement2(std::nullptr_t = nullptr) noexcept {}
IVisualElement2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IVisualElement2(IVisualElement2 const&) noexcept = default;
IVisualElement2(IVisualElement2&&) noexcept = default;
IVisualElement2& operator=(IVisualElement2 const&) & noexcept = default;
IVisualElement2& operator=(IVisualElement2&&) & noexcept = default;
};
struct __declspec(empty_bases) IVisualFactory :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IVisualFactory>
@@ -2,13 +2,27 @@
#ifndef WINRT_Windows_UI_Composition_2_H
#define WINRT_Windows_UI_Composition_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Foundation.Collections.1.h"
#include "winrt/impl/Windows.Graphics.1.h"
#include "winrt/impl/Windows.Graphics.Effects.1.h"
#include "winrt/impl/Windows.Foundation.2.h"
#include "winrt/impl/Windows.Foundation.Collections.2.h"
#include "winrt/impl/Windows.Foundation.Numerics.2.h"
#include "winrt/impl/Windows.Graphics.2.h"
#include "winrt/impl/Windows.Graphics.Effects.2.h"
#include "winrt/impl/Windows.UI.Composition.1.h"
WINRT_EXPORT namespace winrt::Windows::UI::Composition
{
struct InkTrailPoint
{
winrt::Windows::Foundation::Point Point;
float Radius;
};
inline bool operator==(InkTrailPoint const& left, InkTrailPoint const& right) noexcept
{
return left.Point == right.Point && left.Radius == right.Radius;
}
inline bool operator!=(InkTrailPoint const& left, InkTrailPoint const& right) noexcept
{
return !(left == right);
}
struct __declspec(empty_bases) AmbientLight : winrt::Windows::UI::Composition::IAmbientLight,
impl::base<AmbientLight, winrt::Windows::UI::Composition::CompositionLight, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<AmbientLight, winrt::Windows::UI::Composition::IAmbientLight2, winrt::Windows::UI::Composition::ICompositionLight, winrt::Windows::UI::Composition::ICompositionLight2, winrt::Windows::UI::Composition::ICompositionLight3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -35,7 +49,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
};
struct __declspec(empty_bases) AnimationPropertyInfo : winrt::Windows::UI::Composition::IAnimationPropertyInfo,
impl::base<AnimationPropertyInfo, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<AnimationPropertyInfo, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<AnimationPropertyInfo, winrt::Windows::UI::Composition::IAnimationPropertyInfo2, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
AnimationPropertyInfo(std::nullptr_t) noexcept {}
AnimationPropertyInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IAnimationPropertyInfo(ptr, take_ownership_from_abi) {}
@@ -44,6 +58,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
AnimationPropertyInfo& operator=(AnimationPropertyInfo const&) & noexcept = default;
AnimationPropertyInfo& operator=(AnimationPropertyInfo&&) & noexcept = default;
};
struct __declspec(empty_bases) BackEasingFunction : winrt::Windows::UI::Composition::IBackEasingFunction,
impl::base<BackEasingFunction, winrt::Windows::UI::Composition::CompositionEasingFunction, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<BackEasingFunction, winrt::Windows::UI::Composition::ICompositionEasingFunction, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
BackEasingFunction(std::nullptr_t) noexcept {}
BackEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IBackEasingFunction(ptr, take_ownership_from_abi) {}
BackEasingFunction(BackEasingFunction const&) noexcept = default;
BackEasingFunction(BackEasingFunction&&) noexcept = default;
BackEasingFunction& operator=(BackEasingFunction const&) & noexcept = default;
BackEasingFunction& operator=(BackEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) BooleanKeyFrameAnimation : winrt::Windows::UI::Composition::IBooleanKeyFrameAnimation,
impl::base<BooleanKeyFrameAnimation, winrt::Windows::UI::Composition::KeyFrameAnimation, winrt::Windows::UI::Composition::CompositionAnimation, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<BooleanKeyFrameAnimation, winrt::Windows::UI::Composition::IKeyFrameAnimation, winrt::Windows::UI::Composition::IKeyFrameAnimation2, winrt::Windows::UI::Composition::IKeyFrameAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation, winrt::Windows::UI::Composition::ICompositionAnimation2, winrt::Windows::UI::Composition::ICompositionAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation4, winrt::Windows::UI::Composition::ICompositionAnimationBase, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -55,6 +80,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
BooleanKeyFrameAnimation& operator=(BooleanKeyFrameAnimation const&) & noexcept = default;
BooleanKeyFrameAnimation& operator=(BooleanKeyFrameAnimation&&) & noexcept = default;
};
struct __declspec(empty_bases) BounceEasingFunction : winrt::Windows::UI::Composition::IBounceEasingFunction,
impl::base<BounceEasingFunction, winrt::Windows::UI::Composition::CompositionEasingFunction, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<BounceEasingFunction, winrt::Windows::UI::Composition::ICompositionEasingFunction, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
BounceEasingFunction(std::nullptr_t) noexcept {}
BounceEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IBounceEasingFunction(ptr, take_ownership_from_abi) {}
BounceEasingFunction(BounceEasingFunction const&) noexcept = default;
BounceEasingFunction(BounceEasingFunction&&) noexcept = default;
BounceEasingFunction& operator=(BounceEasingFunction const&) & noexcept = default;
BounceEasingFunction& operator=(BounceEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) BounceScalarNaturalMotionAnimation : winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation,
impl::base<BounceScalarNaturalMotionAnimation, winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation, winrt::Windows::UI::Composition::NaturalMotionAnimation, winrt::Windows::UI::Composition::CompositionAnimation, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<BounceScalarNaturalMotionAnimation, winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation, winrt::Windows::UI::Composition::INaturalMotionAnimation, winrt::Windows::UI::Composition::ICompositionAnimation, winrt::Windows::UI::Composition::ICompositionAnimation2, winrt::Windows::UI::Composition::ICompositionAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation4, winrt::Windows::UI::Composition::ICompositionAnimationBase, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -88,6 +124,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
BounceVector3NaturalMotionAnimation& operator=(BounceVector3NaturalMotionAnimation const&) & noexcept = default;
BounceVector3NaturalMotionAnimation& operator=(BounceVector3NaturalMotionAnimation&&) & noexcept = default;
};
struct __declspec(empty_bases) CircleEasingFunction : winrt::Windows::UI::Composition::ICircleEasingFunction,
impl::base<CircleEasingFunction, winrt::Windows::UI::Composition::CompositionEasingFunction, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<CircleEasingFunction, winrt::Windows::UI::Composition::ICompositionEasingFunction, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
CircleEasingFunction(std::nullptr_t) noexcept {}
CircleEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ICircleEasingFunction(ptr, take_ownership_from_abi) {}
CircleEasingFunction(CircleEasingFunction const&) noexcept = default;
CircleEasingFunction(CircleEasingFunction&&) noexcept = default;
CircleEasingFunction& operator=(CircleEasingFunction const&) & noexcept = default;
CircleEasingFunction& operator=(CircleEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) ColorKeyFrameAnimation : winrt::Windows::UI::Composition::IColorKeyFrameAnimation,
impl::base<ColorKeyFrameAnimation, winrt::Windows::UI::Composition::KeyFrameAnimation, winrt::Windows::UI::Composition::CompositionAnimation, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<ColorKeyFrameAnimation, winrt::Windows::UI::Composition::IKeyFrameAnimation, winrt::Windows::UI::Composition::IKeyFrameAnimation2, winrt::Windows::UI::Composition::IKeyFrameAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation, winrt::Windows::UI::Composition::ICompositionAnimation2, winrt::Windows::UI::Composition::ICompositionAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation4, winrt::Windows::UI::Composition::ICompositionAnimationBase, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -250,6 +297,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
CompositionEasingFunction(CompositionEasingFunction&&) noexcept = default;
CompositionEasingFunction& operator=(CompositionEasingFunction const&) & noexcept = default;
CompositionEasingFunction& operator=(CompositionEasingFunction&&) & noexcept = default;
static auto CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2);
static auto CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner);
static auto CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner);
static auto CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount);
static auto CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude);
static auto CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness);
static auto CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode);
static auto CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness);
static auto CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent);
static auto CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power);
static auto CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode);
};
struct __declspec(empty_bases) CompositionEffectBrush : winrt::Windows::UI::Composition::ICompositionEffectBrush,
impl::base<CompositionEffectBrush, winrt::Windows::UI::Composition::CompositionBrush, winrt::Windows::UI::Composition::CompositionObject>,
@@ -330,7 +388,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
};
struct __declspec(empty_bases) CompositionGraphicsDevice : winrt::Windows::UI::Composition::ICompositionGraphicsDevice,
impl::base<CompositionGraphicsDevice, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<CompositionGraphicsDevice, winrt::Windows::UI::Composition::ICompositionGraphicsDevice2, winrt::Windows::UI::Composition::ICompositionGraphicsDevice3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<CompositionGraphicsDevice, winrt::Windows::UI::Composition::ICompositionGraphicsDevice2, winrt::Windows::UI::Composition::ICompositionGraphicsDevice3, winrt::Windows::UI::Composition::ICompositionGraphicsDevice4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
CompositionGraphicsDevice(std::nullptr_t) noexcept {}
CompositionGraphicsDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ICompositionGraphicsDevice(ptr, take_ownership_from_abi) {}
@@ -672,7 +730,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
CompositionVisualSurface& operator=(CompositionVisualSurface&&) & noexcept = default;
};
struct __declspec(empty_bases) Compositor : winrt::Windows::UI::Composition::ICompositor,
impl::require<Compositor, winrt::Windows::UI::Composition::ICompositor2, winrt::Windows::UI::Composition::ICompositor3, winrt::Windows::UI::Composition::ICompositor4, winrt::Windows::UI::Composition::ICompositor5, winrt::Windows::UI::Composition::ICompositor6, winrt::Windows::UI::Composition::ICompositorWithProjectedShadow, winrt::Windows::UI::Composition::ICompositorWithRadialGradient, winrt::Windows::UI::Composition::ICompositorWithVisualSurface, winrt::Windows::Foundation::IClosable>
impl::require<Compositor, winrt::Windows::UI::Composition::ICompositor2, winrt::Windows::UI::Composition::ICompositor3, winrt::Windows::UI::Composition::ICompositor4, winrt::Windows::UI::Composition::ICompositor5, winrt::Windows::UI::Composition::ICompositor6, winrt::Windows::UI::Composition::ICompositorWithProjectedShadow, winrt::Windows::UI::Composition::ICompositorWithRadialGradient, winrt::Windows::UI::Composition::ICompositorWithVisualSurface, winrt::Windows::UI::Composition::ICompositor7, winrt::Windows::Foundation::IClosable>
{
Compositor(std::nullptr_t) noexcept {}
Compositor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ICompositor(ptr, take_ownership_from_abi) {}
@@ -686,7 +744,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
};
struct __declspec(empty_bases) ContainerVisual : winrt::Windows::UI::Composition::IContainerVisual,
impl::base<ContainerVisual, winrt::Windows::UI::Composition::Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<ContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<ContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
ContainerVisual(std::nullptr_t) noexcept {}
ContainerVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IContainerVisual(ptr, take_ownership_from_abi) {}
@@ -706,6 +764,19 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
CubicBezierEasingFunction& operator=(CubicBezierEasingFunction const&) & noexcept = default;
CubicBezierEasingFunction& operator=(CubicBezierEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) DelegatedInkTrailVisual : winrt::Windows::UI::Composition::IDelegatedInkTrailVisual,
impl::base<DelegatedInkTrailVisual, winrt::Windows::UI::Composition::Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<DelegatedInkTrailVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
DelegatedInkTrailVisual(std::nullptr_t) noexcept {}
DelegatedInkTrailVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IDelegatedInkTrailVisual(ptr, take_ownership_from_abi) {}
DelegatedInkTrailVisual(DelegatedInkTrailVisual const&) noexcept = default;
DelegatedInkTrailVisual(DelegatedInkTrailVisual&&) noexcept = default;
DelegatedInkTrailVisual& operator=(DelegatedInkTrailVisual const&) & noexcept = default;
DelegatedInkTrailVisual& operator=(DelegatedInkTrailVisual&&) & noexcept = default;
static auto Create(winrt::Windows::UI::Composition::Compositor const& compositor);
static auto CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain);
};
struct __declspec(empty_bases) DistantLight : winrt::Windows::UI::Composition::IDistantLight,
impl::base<DistantLight, winrt::Windows::UI::Composition::CompositionLight, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<DistantLight, winrt::Windows::UI::Composition::IDistantLight2, winrt::Windows::UI::Composition::ICompositionLight, winrt::Windows::UI::Composition::ICompositionLight2, winrt::Windows::UI::Composition::ICompositionLight3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -728,6 +799,28 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
DropShadow& operator=(DropShadow const&) & noexcept = default;
DropShadow& operator=(DropShadow&&) & noexcept = default;
};
struct __declspec(empty_bases) ElasticEasingFunction : winrt::Windows::UI::Composition::IElasticEasingFunction,
impl::base<ElasticEasingFunction, winrt::Windows::UI::Composition::CompositionEasingFunction, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<ElasticEasingFunction, winrt::Windows::UI::Composition::ICompositionEasingFunction, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
ElasticEasingFunction(std::nullptr_t) noexcept {}
ElasticEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IElasticEasingFunction(ptr, take_ownership_from_abi) {}
ElasticEasingFunction(ElasticEasingFunction const&) noexcept = default;
ElasticEasingFunction(ElasticEasingFunction&&) noexcept = default;
ElasticEasingFunction& operator=(ElasticEasingFunction const&) & noexcept = default;
ElasticEasingFunction& operator=(ElasticEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) ExponentialEasingFunction : winrt::Windows::UI::Composition::IExponentialEasingFunction,
impl::base<ExponentialEasingFunction, winrt::Windows::UI::Composition::CompositionEasingFunction, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<ExponentialEasingFunction, winrt::Windows::UI::Composition::ICompositionEasingFunction, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
ExponentialEasingFunction(std::nullptr_t) noexcept {}
ExponentialEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IExponentialEasingFunction(ptr, take_ownership_from_abi) {}
ExponentialEasingFunction(ExponentialEasingFunction const&) noexcept = default;
ExponentialEasingFunction(ExponentialEasingFunction&&) noexcept = default;
ExponentialEasingFunction& operator=(ExponentialEasingFunction const&) & noexcept = default;
ExponentialEasingFunction& operator=(ExponentialEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) ExpressionAnimation : winrt::Windows::UI::Composition::IExpressionAnimation,
impl::base<ExpressionAnimation, winrt::Windows::UI::Composition::CompositionAnimation, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<ExpressionAnimation, winrt::Windows::UI::Composition::ICompositionAnimation, winrt::Windows::UI::Composition::ICompositionAnimation2, winrt::Windows::UI::Composition::ICompositionAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation4, winrt::Windows::UI::Composition::ICompositionAnimationBase, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -785,7 +878,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
};
struct __declspec(empty_bases) LayerVisual : winrt::Windows::UI::Composition::ILayerVisual,
impl::base<LayerVisual, winrt::Windows::UI::Composition::ContainerVisual, winrt::Windows::UI::Composition::Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<LayerVisual, winrt::Windows::UI::Composition::ILayerVisual2, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<LayerVisual, winrt::Windows::UI::Composition::ILayerVisual2, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
LayerVisual(std::nullptr_t) noexcept {}
LayerVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ILayerVisual(ptr, take_ownership_from_abi) {}
@@ -838,6 +931,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
PointLight& operator=(PointLight const&) & noexcept = default;
PointLight& operator=(PointLight&&) & noexcept = default;
};
struct __declspec(empty_bases) PowerEasingFunction : winrt::Windows::UI::Composition::IPowerEasingFunction,
impl::base<PowerEasingFunction, winrt::Windows::UI::Composition::CompositionEasingFunction, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<PowerEasingFunction, winrt::Windows::UI::Composition::ICompositionEasingFunction, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
PowerEasingFunction(std::nullptr_t) noexcept {}
PowerEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IPowerEasingFunction(ptr, take_ownership_from_abi) {}
PowerEasingFunction(PowerEasingFunction const&) noexcept = default;
PowerEasingFunction(PowerEasingFunction&&) noexcept = default;
PowerEasingFunction& operator=(PowerEasingFunction const&) & noexcept = default;
PowerEasingFunction& operator=(PowerEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) QuaternionKeyFrameAnimation : winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation,
impl::base<QuaternionKeyFrameAnimation, winrt::Windows::UI::Composition::KeyFrameAnimation, winrt::Windows::UI::Composition::CompositionAnimation, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<QuaternionKeyFrameAnimation, winrt::Windows::UI::Composition::IKeyFrameAnimation, winrt::Windows::UI::Composition::IKeyFrameAnimation2, winrt::Windows::UI::Composition::IKeyFrameAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation, winrt::Windows::UI::Composition::ICompositionAnimation2, winrt::Windows::UI::Composition::ICompositionAnimation3, winrt::Windows::UI::Composition::ICompositionAnimation4, winrt::Windows::UI::Composition::ICompositionAnimationBase, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -849,9 +953,20 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
QuaternionKeyFrameAnimation& operator=(QuaternionKeyFrameAnimation const&) & noexcept = default;
QuaternionKeyFrameAnimation& operator=(QuaternionKeyFrameAnimation&&) & noexcept = default;
};
struct __declspec(empty_bases) RectangleClip : winrt::Windows::UI::Composition::IRectangleClip,
impl::base<RectangleClip, winrt::Windows::UI::Composition::CompositionClip, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<RectangleClip, winrt::Windows::UI::Composition::ICompositionClip, winrt::Windows::UI::Composition::ICompositionClip2, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
RectangleClip(std::nullptr_t) noexcept {}
RectangleClip(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IRectangleClip(ptr, take_ownership_from_abi) {}
RectangleClip(RectangleClip const&) noexcept = default;
RectangleClip(RectangleClip&&) noexcept = default;
RectangleClip& operator=(RectangleClip const&) & noexcept = default;
RectangleClip& operator=(RectangleClip&&) & noexcept = default;
};
struct __declspec(empty_bases) RedirectVisual : winrt::Windows::UI::Composition::IRedirectVisual,
impl::base<RedirectVisual, winrt::Windows::UI::Composition::ContainerVisual, winrt::Windows::UI::Composition::Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<RedirectVisual, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<RedirectVisual, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
RedirectVisual(std::nullptr_t) noexcept {}
RedirectVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IRedirectVisual(ptr, take_ownership_from_abi) {}
@@ -895,7 +1010,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
};
struct __declspec(empty_bases) ShapeVisual : winrt::Windows::UI::Composition::IShapeVisual,
impl::base<ShapeVisual, winrt::Windows::UI::Composition::ContainerVisual, winrt::Windows::UI::Composition::Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<ShapeVisual, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<ShapeVisual, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
ShapeVisual(std::nullptr_t) noexcept {}
ShapeVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IShapeVisual(ptr, take_ownership_from_abi) {}
@@ -904,6 +1019,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
ShapeVisual& operator=(ShapeVisual const&) & noexcept = default;
ShapeVisual& operator=(ShapeVisual&&) & noexcept = default;
};
struct __declspec(empty_bases) SineEasingFunction : winrt::Windows::UI::Composition::ISineEasingFunction,
impl::base<SineEasingFunction, winrt::Windows::UI::Composition::CompositionEasingFunction, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<SineEasingFunction, winrt::Windows::UI::Composition::ICompositionEasingFunction, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
SineEasingFunction(std::nullptr_t) noexcept {}
SineEasingFunction(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ISineEasingFunction(ptr, take_ownership_from_abi) {}
SineEasingFunction(SineEasingFunction const&) noexcept = default;
SineEasingFunction(SineEasingFunction&&) noexcept = default;
SineEasingFunction& operator=(SineEasingFunction const&) & noexcept = default;
SineEasingFunction& operator=(SineEasingFunction&&) & noexcept = default;
};
struct __declspec(empty_bases) SpotLight : winrt::Windows::UI::Composition::ISpotLight,
impl::base<SpotLight, winrt::Windows::UI::Composition::CompositionLight, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<SpotLight, winrt::Windows::UI::Composition::ISpotLight2, winrt::Windows::UI::Composition::ISpotLight3, winrt::Windows::UI::Composition::ICompositionLight, winrt::Windows::UI::Composition::ICompositionLight2, winrt::Windows::UI::Composition::ICompositionLight3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
@@ -950,7 +1076,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
};
struct __declspec(empty_bases) SpriteVisual : winrt::Windows::UI::Composition::ISpriteVisual,
impl::base<SpriteVisual, winrt::Windows::UI::Composition::ContainerVisual, winrt::Windows::UI::Composition::Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<SpriteVisual, winrt::Windows::UI::Composition::ISpriteVisual2, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<SpriteVisual, winrt::Windows::UI::Composition::ISpriteVisual2, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
SpriteVisual(std::nullptr_t) noexcept {}
SpriteVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::ISpriteVisual(ptr, take_ownership_from_abi) {}
@@ -1027,7 +1153,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition
};
struct __declspec(empty_bases) Visual : winrt::Windows::UI::Composition::IVisual,
impl::base<Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<Visual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<Visual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
Visual(std::nullptr_t) noexcept {}
Visual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::IVisual(ptr, take_ownership_from_abi) {}
@@ -191,7 +191,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Composition::Scenes
};
struct __declspec(empty_bases) SceneVisual : winrt::Windows::UI::Composition::Scenes::ISceneVisual,
impl::base<SceneVisual, winrt::Windows::UI::Composition::ContainerVisual, winrt::Windows::UI::Composition::Visual, winrt::Windows::UI::Composition::CompositionObject>,
impl::require<SceneVisual, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
impl::require<SceneVisual, winrt::Windows::UI::Composition::IContainerVisual, winrt::Windows::UI::Composition::IVisual, winrt::Windows::UI::Composition::IVisual2, winrt::Windows::UI::Composition::IVisual3, winrt::Windows::UI::Composition::IVisual4, winrt::Windows::UI::Composition::ICompositionObject, winrt::Windows::UI::Composition::ICompositionObject2, winrt::Windows::UI::Composition::ICompositionObject3, winrt::Windows::UI::Composition::ICompositionObject4, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Composition::IAnimationObject>
{
SceneVisual(std::nullptr_t) noexcept {}
SceneVisual(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Composition::Scenes::ISceneVisual(ptr, take_ownership_from_abi) {}
@@ -152,6 +152,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking
struct IInkSynchronizer;
struct IInkUnprocessedInput;
struct IPenAndInkSettings;
struct IPenAndInkSettings2;
struct IPenAndInkSettingsStatics;
struct InkDrawingAttributes;
struct InkDrawingAttributesPencilProperties;
@@ -223,6 +224,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::UI::Input::Inking::IInkSynchronizer>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::Input::Inking::IPenAndInkSettings>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::Input::Inking::IPenAndInkSettings2>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::Input::Inking::InkDrawingAttributes>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::Input::Inking::InkDrawingAttributesPencilProperties>{ using type = class_category; };
@@ -338,6 +340,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::UI::Input::Inking::IInkSynchronizer> = L"Windows.UI.Input.Inking.IInkSynchronizer";
template <> inline constexpr auto& name_v<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput> = L"Windows.UI.Input.Inking.IInkUnprocessedInput";
template <> inline constexpr auto& name_v<winrt::Windows::UI::Input::Inking::IPenAndInkSettings> = L"Windows.UI.Input.Inking.IPenAndInkSettings";
template <> inline constexpr auto& name_v<winrt::Windows::UI::Input::Inking::IPenAndInkSettings2> = L"Windows.UI.Input.Inking.IPenAndInkSettings2";
template <> inline constexpr auto& name_v<winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics> = L"Windows.UI.Input.Inking.IPenAndInkSettingsStatics";
template <> inline constexpr guid guid_v<winrt::Windows::UI::Input::Inking::IInkDrawingAttributes>{ 0x97A2176C,0x6774,0x48AD,{ 0x84,0xF0,0x48,0xF5,0xA9,0xBE,0x74,0xF9 } }; // 97A2176C-6774-48AD-84F0-48F5A9BE74F9
template <> inline constexpr guid guid_v<winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2>{ 0x7CAB6508,0x8EC4,0x42FD,{ 0xA5,0xA5,0xE4,0xB7,0xD1,0xD5,0x31,0x6D } }; // 7CAB6508-8EC4-42FD-A5A5-E4B7D1D5316D
@@ -383,6 +386,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::UI::Input::Inking::IInkSynchronizer>{ 0x9B9EA160,0xAE9B,0x45F9,{ 0x84,0x07,0x4B,0x49,0x3B,0x16,0x36,0x61 } }; // 9B9EA160-AE9B-45F9-8407-4B493B163661
template <> inline constexpr guid guid_v<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>{ 0xDB4445E0,0x8398,0x4921,{ 0xAC,0x3B,0xAB,0x97,0x8C,0x5B,0xA2,0x56 } }; // DB4445E0-8398-4921-AC3B-AB978C5BA256
template <> inline constexpr guid guid_v<winrt::Windows::UI::Input::Inking::IPenAndInkSettings>{ 0xBC2CEB8F,0x0066,0x44A8,{ 0xBB,0x7A,0xB8,0x39,0xB3,0xDE,0xB8,0xF5 } }; // BC2CEB8F-0066-44A8-BB7A-B839B3DEB8F5
template <> inline constexpr guid guid_v<winrt::Windows::UI::Input::Inking::IPenAndInkSettings2>{ 0x3262DA53,0x1F44,0x55E2,{ 0x99,0x29,0xEB,0xF7,0x7E,0x54,0x81,0xB8 } }; // 3262DA53-1F44-55E2-9929-EBF77E5481B8
template <> inline constexpr guid guid_v<winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics>{ 0xED6DD036,0x5708,0x5C3C,{ 0x96,0xDB,0xF2,0xF5,0x52,0xEA,0xB6,0x41 } }; // ED6DD036-5708-5C3C-96DB-F2F552EAB641
template <> struct default_interface<winrt::Windows::UI::Input::Inking::InkDrawingAttributes>{ using type = winrt::Windows::UI::Input::Inking::IInkDrawingAttributes; };
template <> struct default_interface<winrt::Windows::UI::Input::Inking::InkDrawingAttributesPencilProperties>{ using type = winrt::Windows::UI::Input::Inking::IInkDrawingAttributesPencilProperties; };
@@ -863,6 +867,13 @@ namespace winrt::impl
virtual int32_t __stdcall get_IsTouchHandwritingEnabled(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::UI::Input::Inking::IPenAndInkSettings2>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall SetPenHandedness(int32_t) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics>
{
struct __declspec(novtable) type : inspectable_abi
@@ -1441,6 +1452,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>;
};
template <typename D>
struct consume_Windows_UI_Input_Inking_IPenAndInkSettings2
{
WINRT_IMPL_AUTO(void) SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IPenAndInkSettings2>
{
template <typename D> using type = consume_Windows_UI_Input_Inking_IPenAndInkSettings2<D>;
};
template <typename D>
struct consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics
{
WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) GetDefault() const;
@@ -495,6 +495,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking
IPenAndInkSettings& operator=(IPenAndInkSettings const&) & noexcept = default;
IPenAndInkSettings& operator=(IPenAndInkSettings&&) & noexcept = default;
};
struct __declspec(empty_bases) IPenAndInkSettings2 :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IPenAndInkSettings2>
{
IPenAndInkSettings2(std::nullptr_t = nullptr) noexcept {}
IPenAndInkSettings2(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IPenAndInkSettings2(IPenAndInkSettings2 const&) noexcept = default;
IPenAndInkSettings2(IPenAndInkSettings2&&) noexcept = default;
IPenAndInkSettings2& operator=(IPenAndInkSettings2 const&) & noexcept = default;
IPenAndInkSettings2& operator=(IPenAndInkSettings2&&) & noexcept = default;
};
struct __declspec(empty_bases) IPenAndInkSettingsStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IPenAndInkSettingsStatics>
@@ -226,7 +226,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking
InkUnprocessedInput& operator=(InkUnprocessedInput const&) & noexcept = default;
InkUnprocessedInput& operator=(InkUnprocessedInput&&) & noexcept = default;
};
struct __declspec(empty_bases) PenAndInkSettings : winrt::Windows::UI::Input::Inking::IPenAndInkSettings
struct __declspec(empty_bases) PenAndInkSettings : winrt::Windows::UI::Input::Inking::IPenAndInkSettings,
impl::require<PenAndInkSettings, winrt::Windows::UI::Input::Inking::IPenAndInkSettings2>
{
PenAndInkSettings(std::nullptr_t) noexcept {}
PenAndInkSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Input::Inking::IPenAndInkSettings(ptr, take_ownership_from_abi) {}
@@ -26,6 +26,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement::Core
Handwriting = 2,
Emoji = 3,
Symbols = 4,
Clipboard = 5,
};
enum class CoreInputViewOcclusionKind : int32_t
{
@@ -28,6 +28,7 @@ WINRT_EXPORT namespace winrt::Windows::UI
struct Color;
struct UIContentRoot;
struct UIContext;
struct WindowId;
}
WINRT_EXPORT namespace winrt::Windows::UI::Composition
{
@@ -81,6 +82,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement
struct IDefaultPresentationConfiguration;
struct IDisplayRegion;
struct IFullScreenPresentationConfiguration;
struct IWindowServicesStatics;
struct IWindowingEnvironment;
struct IWindowingEnvironmentAddedEventArgs;
struct IWindowingEnvironmentChangedEventArgs;
@@ -100,6 +102,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement
struct DefaultPresentationConfiguration;
struct DisplayRegion;
struct FullScreenPresentationConfiguration;
struct WindowServices;
struct WindowingEnvironment;
struct WindowingEnvironmentAddedEventArgs;
struct WindowingEnvironmentChangedEventArgs;
@@ -125,6 +128,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::UI::WindowManagement::IDefaultPresentationConfiguration>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::IDisplayRegion>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::IWindowServicesStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::IWindowingEnvironment>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentAddedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentChangedEventArgs>{ using type = interface_category; };
@@ -144,6 +148,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::UI::WindowManagement::DefaultPresentationConfiguration>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::DisplayRegion>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::FullScreenPresentationConfiguration>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::WindowServices>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::WindowingEnvironment>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::WindowingEnvironmentAddedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs>{ using type = class_category; };
@@ -167,6 +172,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::DefaultPresentationConfiguration> = L"Windows.UI.WindowManagement.DefaultPresentationConfiguration";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::DisplayRegion> = L"Windows.UI.WindowManagement.DisplayRegion";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::FullScreenPresentationConfiguration> = L"Windows.UI.WindowManagement.FullScreenPresentationConfiguration";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::WindowServices> = L"Windows.UI.WindowManagement.WindowServices";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::WindowingEnvironment> = L"Windows.UI.WindowManagement.WindowingEnvironment";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::WindowingEnvironmentAddedEventArgs> = L"Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> = L"Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs";
@@ -194,6 +200,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::IDefaultPresentationConfiguration> = L"Windows.UI.WindowManagement.IDefaultPresentationConfiguration";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::IDisplayRegion> = L"Windows.UI.WindowManagement.IDisplayRegion";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration> = L"Windows.UI.WindowManagement.IFullScreenPresentationConfiguration";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::IWindowServicesStatics> = L"Windows.UI.WindowManagement.IWindowServicesStatics";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::IWindowingEnvironment> = L"Windows.UI.WindowManagement.IWindowingEnvironment";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentAddedEventArgs> = L"Windows.UI.WindowManagement.IWindowingEnvironmentAddedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentChangedEventArgs> = L"Windows.UI.WindowManagement.IWindowingEnvironmentChangedEventArgs";
@@ -217,6 +224,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::UI::WindowManagement::IDefaultPresentationConfiguration>{ 0xD8C2B53B,0x2168,0x5703,{ 0xA8,0x53,0xD5,0x25,0x58,0x9F,0xE2,0xB9 } }; // D8C2B53B-2168-5703-A853-D525589FE2B9
template <> inline constexpr guid guid_v<winrt::Windows::UI::WindowManagement::IDisplayRegion>{ 0xDB50C3A2,0x4094,0x5F47,{ 0x8C,0xB1,0xEA,0x01,0xDD,0xAF,0xAA,0x94 } }; // DB50C3A2-4094-5F47-8CB1-EA01DDAFAA94
template <> inline constexpr guid guid_v<winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration>{ 0x43D3DCD8,0xD2A8,0x503D,{ 0xA6,0x26,0x15,0x53,0x3D,0x6D,0x5F,0x62 } }; // 43D3DCD8-D2A8-503D-A626-15533D6D5F62
template <> inline constexpr guid guid_v<winrt::Windows::UI::WindowManagement::IWindowServicesStatics>{ 0xCFF4D519,0x50A6,0x5C64,{ 0x97,0xF6,0xC2,0xD9,0x6A,0xDD,0x7F,0x42 } }; // CFF4D519-50A6-5C64-97F6-C2D96ADD7F42
template <> inline constexpr guid guid_v<winrt::Windows::UI::WindowManagement::IWindowingEnvironment>{ 0x264363C0,0x2A49,0x5417,{ 0xB3,0xAE,0x48,0xA7,0x1C,0x63,0xA3,0xBD } }; // 264363C0-2A49-5417-B3AE-48A71C63A3BD
template <> inline constexpr guid guid_v<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentAddedEventArgs>{ 0xFF2A5B7F,0xF183,0x5C66,{ 0x99,0xB2,0x42,0x90,0x82,0x06,0x92,0x99 } }; // FF2A5B7F-F183-5C66-99B2-429082069299
template <> inline constexpr guid guid_v<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentChangedEventArgs>{ 0x4160CFC6,0x023D,0x5E9A,{ 0xB4,0x31,0x35,0x0E,0x67,0xDC,0x97,0x8A } }; // 4160CFC6-023D-5E9A-B431-350E67DC978A
@@ -443,6 +451,13 @@ namespace winrt::impl
virtual int32_t __stdcall put_IsExclusive(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::UI::WindowManagement::IWindowServicesStatics>
{
struct __declspec(novtable) type : inspectable_abi
{
virtual int32_t __stdcall FindAllTopLevelWindowIds(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::UI::WindowManagement::IWindowingEnvironment>
{
struct __declspec(novtable) type : inspectable_abi
@@ -730,6 +745,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration<D>;
};
template <typename D>
struct consume_Windows_UI_WindowManagement_IWindowServicesStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>) FindAllTopLevelWindowIds() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IWindowServicesStatics>
{
template <typename D> using type = consume_Windows_UI_WindowManagement_IWindowServicesStatics<D>;
};
template <typename D>
struct consume_Windows_UI_WindowManagement_IWindowingEnvironment
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const;
@@ -203,6 +203,17 @@ WINRT_EXPORT namespace winrt::Windows::UI::WindowManagement
IFullScreenPresentationConfiguration& operator=(IFullScreenPresentationConfiguration const&) & noexcept = default;
IFullScreenPresentationConfiguration& operator=(IFullScreenPresentationConfiguration&&) & noexcept = default;
};
struct __declspec(empty_bases) IWindowServicesStatics :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IWindowServicesStatics>
{
IWindowServicesStatics(std::nullptr_t = nullptr) noexcept {}
IWindowServicesStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
IWindowServicesStatics(IWindowServicesStatics const&) noexcept = default;
IWindowServicesStatics(IWindowServicesStatics&&) noexcept = default;
IWindowServicesStatics& operator=(IWindowServicesStatics const&) & noexcept = default;
IWindowServicesStatics& operator=(IWindowServicesStatics&&) & noexcept = default;
};
struct __declspec(empty_bases) IWindowingEnvironment :
winrt::Windows::Foundation::IInspectable,
impl::consume_t<IWindowingEnvironment>

Some files were not shown because too many files have changed in this diff Show More