IDesktopWallpaper::SetSlideshow method

Specifies the images to use for the desktop wallpaper slideshow.

Syntax


HRESULT SetSlideshow(
  [in]  IShellItemArray *items
);

Parameters

items [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IDesktopWallpaper
IDesktopWallpaper::GetSlideshow

 

 

Community Additions

ADD
Show:
© 2014 Microsoft