diff options
Diffstat (limited to 'chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h')
-rw-r--r-- | chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h new file mode 100644 index 00000000000..bc5ff9fa870 --- /dev/null +++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h @@ -0,0 +1,48 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 + +#pragma once +#ifndef WINRT_Windows_Perception_Automation_Core_H +#define WINRT_Windows_Perception_Automation_Core_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.210930.14" +#include "winrt/Windows.Perception.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Perception.Automation.Core.2.h" +namespace winrt::impl +{ + template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics<D>::SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Automation::Core::ICorePerceptionAutomationStatics)->SetActivationFactoryProvider(*(void**)(&provider))); + } +#ifndef WINRT_LEAN_AND_MEAN + template <typename D> + struct produce<D, winrt::Windows::Perception::Automation::Core::ICorePerceptionAutomationStatics> : produce_base<D, winrt::Windows::Perception::Automation::Core::ICorePerceptionAutomationStatics> + { + int32_t __stdcall SetActivationFactoryProvider(void* provider) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().SetActivationFactoryProvider(*reinterpret_cast<winrt::Windows::Foundation::IGetActivationFactory const*>(&provider)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Windows::Perception::Automation::Core +{ + inline auto CorePerceptionAutomation::SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) + { + impl::call_factory<CorePerceptionAutomation, ICorePerceptionAutomationStatics>([&](ICorePerceptionAutomationStatics const& f) { return f.SetActivationFactoryProvider(provider); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash<winrt::Windows::Perception::Automation::Core::ICorePerceptionAutomationStatics> : winrt::impl::hash_base {}; + template<> struct hash<winrt::Windows::Perception::Automation::Core::CorePerceptionAutomation> : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif |