// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_Windows_ApplicationModel_Background_0_H #define WINRT_Microsoft_Windows_ApplicationModel_Background_0_H WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Background { struct BackgroundTaskRegistration; struct BackgroundTaskRegistrationGroup; struct IBackgroundCondition; struct IBackgroundTrigger; } WINRT_EXPORT namespace winrt::Microsoft::Windows::ApplicationModel::Background { struct IBackgroundTaskBuilder; struct BackgroundTaskBuilder; struct BackgroundTaskContract; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.Background.BackgroundTaskContract"; template <> inline constexpr guid guid_v{ 0x32A355A0,0x75CA,0x5CB8,{ 0x9F,0x8E,0x2C,0x4E,0xA6,0x2D,0x1E,0xE3 } }; // 32A355A0-75CA-5CB8-9F8E-2C4EA62D1EE3 template <> struct default_interface{ using type = winrt::Microsoft::Windows::ApplicationModel::Background::IBackgroundTaskBuilder; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SetTrigger(void*) noexcept = 0; virtual int32_t __stdcall SetTaskEntryPointClsid(winrt::guid) noexcept = 0; virtual int32_t __stdcall AddCondition(void*) noexcept = 0; virtual int32_t __stdcall put_Name(void*) noexcept = 0; virtual int32_t __stdcall get_Name(void**) noexcept = 0; virtual int32_t __stdcall put_TaskGroup(void*) noexcept = 0; virtual int32_t __stdcall get_TaskGroup(void**) noexcept = 0; virtual int32_t __stdcall Register(void**) noexcept = 0; virtual int32_t __stdcall Register2(void*, void**) noexcept = 0; }; }; template struct consume_Microsoft_Windows_ApplicationModel_Background_IBackgroundTaskBuilder { auto SetTrigger(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger const& trigger) const; auto SetTaskEntryPointClsid(winrt::guid const& clsId) const; auto AddCondition(winrt::Windows::ApplicationModel::Background::IBackgroundCondition const& condition) const; auto Name(param::hstring const& value) const; [[nodiscard]] auto Name() const; auto TaskGroup(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup const& value) const; [[nodiscard]] auto TaskGroup() const; auto Register() const; auto Register(param::hstring const& name) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_Background_IBackgroundTaskBuilder; }; } #endif