x52 } }; };
template <> struct guid<Windows::Devices::Pwm::Provider::IPwmProvider>{ static constexpr GUID value{ 0xA3301228,0x52F1,0x47B0,{ 0x93,0x49,0x66,0xBA,0x43,0xD2,0x59,0x02 } }; };

template <typename D>
struct consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider
{
    int32_t PinCount() const;
    double ActualFrequency() const;
    double SetDesiredFrequency(double frequency) const;
    double MaxFrequency() const;
    double MinFrequency() const;
    void AcquirePin(int32_t pin) const;
    void ReleasePin(int32_t pin) const;
    void EnablePin(int32_t pin) const;
    void DisablePin(int32_t pin) const;
    void SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) const;
};
template <> struct consume<Windows::Devices::Pwm::Provider::IPwmControllerProvider> { template <typename D> using type = consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>; };

template <typename D>
struct consume_Windows_Devices_Pwm_Provider_IPwmProvider
{
    Windows::Foundation::Collections::IVectorView<Windows::Devices::Pwm::Provider::IPwmControllerProvider> GetControllers() const;
};
template <> struct consume<Windows::Devices::Pwm::Provider::IPwmProvider> { template <typename D> using type = consume_Windows_Devices_Pwm_Provider_IPwmProvider<D>; };

template <> struct abi<Windows::Devices::Pwm::Provider::IPwmControllerProvider>{ struct type : IInspectable
{
    virtual HRESULT __stdcall get_PinCount(int32_t* value) noexcept = 0;
    virtual HRESULT __stdcall get_ActualFrequency(double* value) noexcept = 0;
    virtual HRESULT __stdcall SetDesiredFrequency(double frequency, double* result) noexcept = 0;
    virtual HRESULT __stdcall get_MaxFrequency(double* value) noexcept = 0;
    virtual HRESULT __stdcall get_MinFrequency(double* value) noexcept = 0;
    virtual HRESULT __stdcall AcquirePin(int32_t pin) noexcept = 0;
    virtual HRESULT __stdcall ReleasePin(int32_t pin) noexcept = 0;
    virtual HRESULT __stdcall EnablePin(int32_t pin) noexcept = 0;
    virtual HRESULT __stdcall DisablePin(int32_t pin) noexcept = 0;
    virtual HRESULT __stdcall SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) noexcept = 0;
};};

template <> struct abi<Windows::Devices::Pwm::Provider::IPwmProvider>{ struct type : IInspectable
{
    virtual HRESULT __stdcall GetControllers(void** result) noexcept = 0;
};};

}
