IDesktopWallpaper::GetSlideshowOptions method
Gets the current desktop wallpaper slideshow settings for shuffle and timing.
Syntax
HRESULT GetSlideshowOptions( [out] DESKTOP_SLIDESHOW_OPTIONS *options, [out] UINT *slideshowTick );
Parameters
- options [out]
-
Type: DESKTOP_SLIDESHOW_OPTIONS*
A pointer to a value that, when this method returns successfully, receives either 0 to indicate that shuffle is disabled or the following value.
- slideshowTick [out]
-
Type: UINT*
A pointer to a value that, when this method returns successfully, receives the interval between image transitions, in milliseconds.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code, including the following.
| Return code | Description |
|---|---|
|
A NULL pointer was provided in one of the parameters. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
Show: