IDesktopWallpaper::AdvanceSlideshow method
Switches the wallpaper on a specified monitor to the next image in the slideshow.
Syntax
HRESULT AdvanceSlideshow( [in] LPCWSTR monitorID, [in] DESKTOP_SLIDESHOW_DIRECTION direction );
Parameters
- monitorID [in]
-
The ID of the monitor on which to change the wallpaper image. This ID can be obtained through the GetMonitorDevicePathAt method. If this parameter is set to NULL, the monitor scheduled to change next is used.
- direction [in]
-
The direction that the slideshow should advance. One of the following DESKTOP_SLIDESHOW_DIRECTION values:
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 |
|
|
IDL |
|
See also
Show: