IDesktopWallpaper::GetSlideshow method (shobjidl_core.h)

Gets the path to the directory where the slideshow images are stored.

Syntax

HRESULT GetSlideshow(
  [out] IShellItemArray **items
);

Parameters

[out] items

The address of a pointer to an IShellItemArray object that, when this method returns successfully, receives the items that make up the slideshow. This array can contain individual items stored in the same container, or it can contain a single item which is the container itself.

Return value

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

Return code Description
E_POINTER
A NULL pointer was provided in position.

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::SetSlideshow