IDesktopWallpaper::SetSlideshowOptions method (shobjidl_core.h)
Sets the desktop wallpaper slideshow settings for shuffle and timing.
Syntax
HRESULT SetSlideshowOptions(
[in] DESKTOP_SLIDESHOW_OPTIONS options,
[in] UINT slideshowTick
);
Parameters
[in] options
Set to either 0 to disable shuffle or the following value.
DSO_SHUFFLEIMAGES (0x01)
Enable shuffle; advance through the slideshow in a random order.
[in] slideshowTick
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
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) |