We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72ea3c commit 8edac21Copy full SHA for 8edac21
src/Files.App/Services/Windows/WindowsWallpaperService.cs
@@ -45,7 +45,7 @@ public unsafe void SetDesktopSlideshow(string[] aszPaths)
45
{
46
// Instantiate IDesktopWallpaper
47
using ComPtr<IDesktopWallpaper> pDesktopWallpaper = default;
48
- HRESULT hr = pDesktopWallpaper.CoCreateInstance(CLSID.CLSID_DesktopWallpaper);
+ HRESULT hr = pDesktopWallpaper.CoCreateInstance(CLSID.CLSID_DesktopWallpaper).ThrowOnFailure();
49
50
uint dwCount = (uint)aszPaths.Length;
51
ITEMIDLIST** ppItemIdList = stackalloc ITEMIDLIST*[aszPaths.Length];
0 commit comments