/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Data/Contracts/IWindowsWallpaperService.cs
32 строки
1 KB
yair100
Code Quality: Updated headers
01 июл 2026, 06:18
01 июл 2026, 06:18
c27305a
Код
Авторство
О чём код?
// Copyright (c) Files Community // SPDX-License-Identifier: MPL-2.0 namespace Files.App.Data.Contracts { /// <summary> /// Provides service for manipulating shell wallpapers on Windows. /// </summary> public interface IWindowsWallpaperService { /// <summary> /// Sets desktop wallpaper using the specified image path. /// </summary> /// <param name="szPath">The image path to assign as the desktop wallpaper.</param> /// <exception cref="System.Runtime.InteropServices.COMException">Thrown if any of COM methods failed to process successfully.</exception> void SetDesktopWallpaper(string szPath); /// <summary> /// Sets desktop slideshow using the specified image paths. /// </summary> /// <param name="aszPaths">The image paths to use to set as slideshow.</param> /// <exception cref="System.Runtime.InteropServices.COMException">Thrown if any of COM methods failed to process successfully.</exception> void SetDesktopSlideshow(string[] aszPaths); /// <summary> /// Gets lock screen wallpaper using the specified image path. /// </summary> /// <param name="szPath">The image path to use to set as lock screen wallpaper.</param> /// <exception cref="System.Runtime.InteropServices.COMException">Thrown if any of COM methods failed to process successfully.</exception> Task SetLockScreenWallpaper(string szPath); } }