// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_System_Power_Diagnostics_0_H #define WINRT_Windows_System_Power_Diagnostics_0_H WINRT_EXPORT namespace winrt::Windows::System::Power::Diagnostics { struct IBackgroundEnergyDiagnosticsStatics; struct IForegroundEnergyDiagnosticsStatics; struct BackgroundEnergyDiagnostics; struct ForegroundEnergyDiagnostics; } namespace winrt::impl { 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 <> inline constexpr auto& name_v = L"Windows.System.Power.Diagnostics.BackgroundEnergyDiagnostics"; template <> inline constexpr auto& name_v = L"Windows.System.Power.Diagnostics.ForegroundEnergyDiagnostics"; template <> inline constexpr auto& name_v = L"Windows.System.Power.Diagnostics.IBackgroundEnergyDiagnosticsStatics"; template <> inline constexpr auto& name_v = L"Windows.System.Power.Diagnostics.IForegroundEnergyDiagnosticsStatics"; template <> inline constexpr guid guid_v{ 0xD7663702,0xD3A6,0x46E0,{ 0x8F,0x9B,0x50,0xB9,0x5B,0xB4,0xF9,0xC5 } }; // D7663702-D3A6-46E0-8F9B-50B95BB4F9C5 template <> inline constexpr guid guid_v{ 0x23CA0917,0xCD07,0x4609,{ 0xBE,0x15,0x8F,0xE8,0x94,0xC5,0xE4,0x1E } }; // 23CA0917-CD07-4609-BE15-8FE894C5E41E template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceSpecificConversionFactor(double*) noexcept = 0; virtual int32_t __stdcall ComputeTotalEnergyUsage(uint64_t*) noexcept = 0; virtual int32_t __stdcall ResetTotalEnergyUsage() noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceSpecificConversionFactor(double*) noexcept = 0; virtual int32_t __stdcall ComputeTotalEnergyUsage(uint64_t*) noexcept = 0; virtual int32_t __stdcall ResetTotalEnergyUsage() noexcept = 0; }; }; template struct consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics { [[nodiscard]] auto DeviceSpecificConversionFactor() const; auto ComputeTotalEnergyUsage() const; auto ResetTotalEnergyUsage() const; }; template <> struct consume { template using type = consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics; }; template struct consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics { [[nodiscard]] auto DeviceSpecificConversionFactor() const; auto ComputeTotalEnergyUsage() const; auto ResetTotalEnergyUsage() const; }; template <> struct consume { template using type = consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics; }; } #endif