// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Media_Playlists_0_H #define WINRT_Windows_Media_Playlists_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; } WINRT_EXPORT namespace winrt::Windows::Storage { struct IStorageFile; struct IStorageFolder; enum class NameCollisionOption : int32_t; } WINRT_EXPORT namespace winrt::Windows::Media::Playlists { enum class PlaylistFormat : int32_t { WindowsMedia = 0, Zune = 1, M3u = 2, }; struct IPlaylist; struct IPlaylistStatics; struct Playlist; struct PlaylistsContract; } 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 = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.Playlist"; template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.PlaylistFormat"; template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.IPlaylist"; template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.IPlaylistStatics"; template <> inline constexpr auto& name_v = L"Windows.Media.Playlists.PlaylistsContract"; template <> inline constexpr guid guid_v{ 0x803736F5,0xCF44,0x4D97,{ 0x83,0xB3,0x7A,0x08,0x9E,0x9A,0xB6,0x63 } }; // 803736F5-CF44-4D97-83B3-7A089E9AB663 template <> inline constexpr guid guid_v{ 0xC5C331CD,0x81F9,0x4FF3,{ 0x95,0xB9,0x70,0xB6,0xFF,0x04,0x6B,0x68 } }; // C5C331CD-81F9-4FF3-95B9-70B6FF046B68 template <> struct default_interface{ using type = winrt::Windows::Media::Playlists::IPlaylist; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Files(void**) noexcept = 0; virtual int32_t __stdcall SaveAsync(void**) noexcept = 0; virtual int32_t __stdcall SaveAsAsync(void*, void*, int32_t, void**) noexcept = 0; virtual int32_t __stdcall SaveAsWithFormatAsync(void*, void*, int32_t, int32_t, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall LoadAsync(void*, void**) noexcept = 0; }; }; template struct consume_Windows_Media_Playlists_IPlaylist { [[nodiscard]] auto Files() const; auto SaveAsync() const; auto SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const; auto SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option, winrt::Windows::Media::Playlists::PlaylistFormat const& playlistFormat) const; }; template <> struct consume { template using type = consume_Windows_Media_Playlists_IPlaylist; }; template struct consume_Windows_Media_Playlists_IPlaylistStatics { auto LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const; }; template <> struct consume { template using type = consume_Windows_Media_Playlists_IPlaylistStatics; }; } #endif