// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_System_Diagnostics_Telemetry_0_H #define WINRT_Windows_System_Diagnostics_Telemetry_0_H WINRT_EXPORT namespace winrt::Windows::System::Diagnostics::Telemetry { enum class PlatformTelemetryRegistrationStatus : int32_t { Success = 0, SettingsOutOfRange = 1, UnknownFailure = 2, }; struct IPlatformTelemetryClientStatics; struct IPlatformTelemetryRegistrationResult; struct IPlatformTelemetryRegistrationSettings; struct PlatformTelemetryClient; struct PlatformTelemetryRegistrationResult; struct PlatformTelemetryRegistrationSettings; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryClient"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationStatus"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.Telemetry.IPlatformTelemetryClientStatics"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.Telemetry.IPlatformTelemetryRegistrationResult"; template <> inline constexpr auto& name_v = L"Windows.System.Diagnostics.Telemetry.IPlatformTelemetryRegistrationSettings"; template <> inline constexpr guid guid_v{ 0x9BF3F25D,0xD5C3,0x4EEA,{ 0x8D,0xBE,0x9C,0x8D,0xBB,0x0D,0x9D,0x8F } }; // 9BF3F25D-D5C3-4EEA-8DBE-9C8DBB0D9D8F template <> inline constexpr guid guid_v{ 0x4D8518AB,0x2292,0x49BD,{ 0xA1,0x5A,0x3D,0x71,0xD2,0x14,0x51,0x12 } }; // 4D8518AB-2292-49BD-A15A-3D71D2145112 template <> inline constexpr guid guid_v{ 0x819A8582,0xCA19,0x415E,{ 0xBB,0x79,0x9C,0x22,0x4B,0xFA,0x3A,0x73 } }; // 819A8582-CA19-415E-BB79-9C224BFA3A73 template <> struct default_interface{ using type = winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationResult; }; template <> struct default_interface{ using type = winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Register(void*, void**) noexcept = 0; virtual int32_t __stdcall RegisterWithSettings(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_StorageSize(uint32_t*) noexcept = 0; virtual int32_t __stdcall put_StorageSize(uint32_t) noexcept = 0; virtual int32_t __stdcall get_UploadQuotaSize(uint32_t*) noexcept = 0; virtual int32_t __stdcall put_UploadQuotaSize(uint32_t) noexcept = 0; }; }; template struct consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics { auto Register(param::hstring const& id) const; auto Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const; }; template <> struct consume { template using type = consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics; }; template struct consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult { [[nodiscard]] auto Status() const; }; template <> struct consume { template using type = consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult; }; template struct consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings { [[nodiscard]] auto StorageSize() const; auto StorageSize(uint32_t value) const; [[nodiscard]] auto UploadQuotaSize() const; auto UploadQuotaSize(uint32_t value) const; }; template <> struct consume { template using type = consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings; }; } #endif