IActiveDesktop interface
Allows a client program to manage the desktop items and wallpaper on a local computer.
Members
The IActiveDesktop interface inherits from the IUnknown interface. IActiveDesktop also has these types of members:
Methods
The IActiveDesktop interface has these methods.
| Method | Description |
|---|---|
| AddDesktopItem |
Adds a desktop item. |
| AddDesktopItemWithUI |
Adds a desktop item to the Active Desktop after displaying user interfaces that confirm the addition of the desktop item, verifying security zone permissions, and asking if the user wants to create a subscription. |
| AddUrl |
Adds the desktop item associated with the specified URL. |
| ApplyChanges |
Applies changes to the Active Desktop and saves them in the registry. |
| GenerateDesktopItemHtml |
Generates a generic HTML page containing the given desktop item. |
| GetDesktopItem |
Gets the specified desktop item. |
| GetDesktopItemByID |
Gets the desktop item that matches the given identification. |
| GetDesktopItemBySource |
Gets a desktop item using its source URL. |
| GetDesktopItemCount |
Gets a count of the desktop items. |
| GetDesktopItemOptions |
Gets the options for the desktop item. |
| GetPattern |
Gets the current pattern. |
| GetWallpaper |
Gets the current wallpaper. |
| GetWallpaperOptions |
Gets the wallpaper options. |
| ModifyDesktopItem |
Modifies the desktop item. |
| RemoveDesktopItem |
Removes the specified desktop item from the desktop. |
| SetDesktopItemOptions |
Sets the item's options. |
| SetPattern |
Sets the Active Desktop pattern. |
| SetWallpaper |
Sets the wallpaper for the Active Desktop. |
| SetWallpaperOptions |
Sets the wallpaper options. |
Remarks
Your code must include Wininet.h before it includes Shlobj.h. Failure to do so will result in a compiler error.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also