// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Devices_Adc_Provider_0_H #define WINRT_Windows_Devices_Adc_Provider_0_H WINRT_EXPORT namespace winrt::Windows::Devices::Adc::Provider { enum class ProviderAdcChannelMode : int32_t { SingleEnded = 0, Differential = 1, }; struct IAdcControllerProvider; struct IAdcProvider; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.Provider.ProviderAdcChannelMode"; template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.Provider.IAdcControllerProvider"; template <> inline constexpr auto& name_v = L"Windows.Devices.Adc.Provider.IAdcProvider"; template <> inline constexpr guid guid_v{ 0xBE545828,0x816D,0x4DE5,{ 0xA0,0x48,0xAB,0xA0,0x69,0x58,0xAA,0xA8 } }; // BE545828-816D-4DE5-A048-ABA06958AAA8 template <> inline constexpr guid guid_v{ 0x28953668,0x9359,0x4C57,{ 0xBC,0x88,0xE2,0x75,0xE8,0x16,0x38,0xC9 } }; // 28953668-9359-4C57-BC88-E275E81638C9 template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ChannelCount(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ResolutionInBits(int32_t*) noexcept = 0; virtual int32_t __stdcall get_MinValue(int32_t*) noexcept = 0; virtual int32_t __stdcall get_MaxValue(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ChannelMode(int32_t*) noexcept = 0; virtual int32_t __stdcall put_ChannelMode(int32_t) noexcept = 0; virtual int32_t __stdcall IsChannelModeSupported(int32_t, bool*) noexcept = 0; virtual int32_t __stdcall AcquireChannel(int32_t) noexcept = 0; virtual int32_t __stdcall ReleaseChannel(int32_t) noexcept = 0; virtual int32_t __stdcall ReadValue(int32_t, int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetControllers(void**) noexcept = 0; }; }; template struct consume_Windows_Devices_Adc_Provider_IAdcControllerProvider { [[nodiscard]] auto ChannelCount() const; [[nodiscard]] auto ResolutionInBits() const; [[nodiscard]] auto MinValue() const; [[nodiscard]] auto MaxValue() const; [[nodiscard]] auto ChannelMode() const; auto ChannelMode(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& value) const; auto IsChannelModeSupported(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& channelMode) const; auto AcquireChannel(int32_t channel) const; auto ReleaseChannel(int32_t channel) const; auto ReadValue(int32_t channelNumber) const; }; template <> struct consume { template using type = consume_Windows_Devices_Adc_Provider_IAdcControllerProvider; }; template struct consume_Windows_Devices_Adc_Provider_IAdcProvider { auto GetControllers() const; }; template <> struct consume { template using type = consume_Windows_Devices_Adc_Provider_IAdcProvider; }; } #endif