Files
nearby/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h
T
hai007 b1815095dd BEGIN_PUBLIC
Microsoft has updated the winrt library
END_PUBLC

PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00

32 lines
1.6 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
#ifndef WINRT_Windows_Devices_I2c_Provider_2_H
#define WINRT_Windows_Devices_I2c_Provider_2_H
#include "winrt/impl/Windows.Devices.I2c.Provider.1.h"
WINRT_EXPORT namespace winrt::Windows::Devices::I2c::Provider
{
struct ProviderI2cTransferResult
{
winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferStatus Status;
uint32_t BytesTransferred;
};
inline bool operator==(ProviderI2cTransferResult const& left, ProviderI2cTransferResult const& right) noexcept
{
return left.Status == right.Status && left.BytesTransferred == right.BytesTransferred;
}
inline bool operator!=(ProviderI2cTransferResult const& left, ProviderI2cTransferResult const& right) noexcept
{
return !(left == right);
}
struct __declspec(empty_bases) ProviderI2cConnectionSettings : winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings
{
ProviderI2cConnectionSettings(std::nullptr_t) noexcept {}
ProviderI2cConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings(ptr, take_ownership_from_abi) {}
ProviderI2cConnectionSettings(ProviderI2cConnectionSettings const&) noexcept = default;
ProviderI2cConnectionSettings(ProviderI2cConnectionSettings&&) noexcept = default;
ProviderI2cConnectionSettings& operator=(ProviderI2cConnectionSettings const&) & noexcept = default;
ProviderI2cConnectionSettings& operator=(ProviderI2cConnectionSettings&&) & noexcept = default;
};
}
#endif