IDesktopWallpaper interface
Members
The IDesktopWallpaper interface inherits from the IUnknown interface. IDesktopWallpaper also has these types of members:
Methods
The IDesktopWallpaper interface has these methods.
| Method | Description |
|---|---|
| AdvanceSlideshow |
Switches the wallpaper on a specified monitor to the next image in the slideshow. |
| Enable |
Enables or disables the desktop background. |
| GetBackgroundColor |
Retrieves the color that is visible on the desktop when no image is displayed or when the desktop background has been disabled. This color is also used as a border when the desktop wallpaper does not fill the entire screen. |
| GetMonitorDevicePathAt |
Retrieves the unique ID of one of the system's monitors. |
| GetMonitorDevicePathCount |
Retrieves the number of monitors that are associated with the system. |
| GetMonitorRECT |
Retrieves the display rectangle of the specified monitor. |
| GetPosition |
Retrieves the current display value for the desktop background image. |
| GetSlideshow |
Gets the images that are being displayed in the desktop wallpaper slideshow. |
| GetSlideshowOptions |
Gets the current desktop wallpaper slideshow settings for shuffle and timing. |
| GetStatus |
Gets the current status of the slideshow. |
| GetWallpaper |
Gets the current desktop wallpaper. |
| SetBackgroundColor |
Sets the color that is visible on the desktop when no image is displayed or when the desktop background has been disabled. This color is also used as a border when the desktop wallpaper does not fill the entire screen. |
| SetPosition |
Sets the display option for the desktop wallpaper image, determining whether the image should be centered, tiled, or stretched. |
| SetSlideshow |
Specifies the images to use for the desktop wallpaper slideshow. |
| SetSlideshowOptions |
Sets the desktop wallpaper slideshow settings for shuffle and timing. |
| SetWallpaper |
Sets the desktop wallpaper. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also