// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_Devices_Background_0_H #define WINRT_Windows_Devices_Background_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { } WINRT_EXPORT namespace winrt::Windows::Devices::Background { struct IDeviceServicingDetails; struct IDeviceUseDetails; struct DeviceServicingDetails; struct DeviceUseDetails; } 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.Devices.Background.DeviceServicingDetails"; template <> inline constexpr auto& name_v = L"Windows.Devices.Background.DeviceUseDetails"; template <> inline constexpr auto& name_v = L"Windows.Devices.Background.IDeviceServicingDetails"; template <> inline constexpr auto& name_v = L"Windows.Devices.Background.IDeviceUseDetails"; template <> inline constexpr guid guid_v{ 0x4AABEE29,0x2344,0x4AC4,{ 0x85,0x27,0x4A,0x8E,0xF6,0x90,0x56,0x45 } }; // 4AABEE29-2344-4AC4-8527-4A8EF6905645 template <> inline constexpr guid guid_v{ 0x7D565141,0x557E,0x4154,{ 0xB9,0x94,0xE4,0xF7,0xA1,0x1F,0xB3,0x23 } }; // 7D565141-557E-4154-B994-E4F7A11FB323 template <> struct default_interface{ using type = winrt::Windows::Devices::Background::IDeviceServicingDetails; }; template <> struct default_interface{ using type = winrt::Windows::Devices::Background::IDeviceUseDetails; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; virtual int32_t __stdcall get_Arguments(void**) noexcept = 0; virtual int32_t __stdcall get_ExpectedDuration(int64_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceId(void**) noexcept = 0; virtual int32_t __stdcall get_Arguments(void**) noexcept = 0; }; }; template struct consume_Windows_Devices_Background_IDeviceServicingDetails { [[nodiscard]] auto DeviceId() const; [[nodiscard]] auto Arguments() const; [[nodiscard]] auto ExpectedDuration() const; }; template <> struct consume { template using type = consume_Windows_Devices_Background_IDeviceServicingDetails; }; template struct consume_Windows_Devices_Background_IDeviceUseDetails { [[nodiscard]] auto DeviceId() const; [[nodiscard]] auto Arguments() const; }; template <> struct consume { template using type = consume_Windows_Devices_Background_IDeviceUseDetails; }; } #endif