IDesktopWallpaper::SetSlideshow method (shobjidl_core.h)

Specifies the images to use for the desktop wallpaper slideshow.

Syntax

HRESULT SetSlideshow(
  [in] IShellItemArray *items
);

Parameters

[in] items

A pointer to an IShellItemArray that contains the slideshow images. This array can contain individual items stored in the same container (files stored in a folder), or it can contain a single item which is the container itself (a folder that contains images). Any other configuration of the array will cause this method to fail.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

IDesktopWallpaper

IDesktopWallpaper::GetSlideshow