Export (0) Print
Expand All

IDesktopWallpaper::SetSlideshowOptions method

Sets the desktop wallpaper slideshow settings for shuffle and timing.

Syntax


HRESULT SetSlideshowOptions(
  [in]  DESKTOP_SLIDESHOW_OPTIONS options,
  [in]  UINT slideshowTick
);

Parameters

options [in]

Set to either 0 to disable shuffle or the following value.

DSO_SHUFFLEIMAGES (0x01)

Enable shuffle; advance through the slideshow in a random order.

slideshowTick [in]

The amount of time, in milliseconds, between image transitions.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft