Exposes methods for creating and managing libraries.
The IShellLibrary interface inherits from the IUnknown interface. IShellLibrary also has these types of members:
The IShellLibrary interface has these methods.
Adds a folder to the library.
Commits library updates to an existing Library Description file.
Retrieves the default target folder that the library uses for save operations.
Gets the set of child folders that are contained in the library.
Gets the library's folder type.
Gets the default icon for the library.
Gets the library's options.
Loads the library from a specified library definition file.
Loads the library that is referenced by a KNOWNFOLDERID.
Removes a folder from the library.
Resolves the target location of a library folder, even if the folder has been moved or renamed.
Saves the library to a new Library Description (*.library-ms) file.
Saves the library to a new file in a specified known folder.
Sets the default target folder that the library will use for save operations.
Sets the library's folder type.
Sets the default icon for the library.
Sets the library options.
Custom implementations of IShellLibrary are not supported; client applications use the implementation provided by Shell32.dll.
Use IShellLibrary to create a new library, query or update the attributes of an existing library.
The following library helper functions are provided by Shobjidl.h.
|SHAddFolderPathToLibrary||Adds a folder to a library.|
|SHCreateLibrary||Creates an IShellLibrary object.|
|SHLoadLibraryFromItem||Creates and loads an IShellLibrary object from a specified library definition file.|
|SHLoadLibraryFromKnownFolder||Creates and loads an IShellLibrary object for a specified KNOWNFOLDERID.|
|SHLoadLibraryFromParsingName||Creates and loads an IShellLibrary object for a specified path.|
|SHRemoveFolderPathFromLibrary||Removes a folder from a library.|
|SHResolveFolderPathInLibrary||Attempts to resolve the target location of a library folder that has been moved or renamed.|
|SHResolveLibrary||Attempts to find the location of a library.|
|SHSaveLibraryInFolderPath||Saves an IShellLibrary object to disk.|
|SHShowManageLibraryUI||Shows the library management dialog, which enables users to manage the library folders and default save location.|
The following enumerations support libraries.
|DEFAULTSAVEFOLDERTYPE||Specifies whether the default save location is public or private.|
|LIBRARYOPTIONFLAGS||Specifies the library options.|
|LIBRARYSAVEFLAGS||Defines options for handling a name collision when saving a library.|
Minimum supported client
|Windows 7 [desktop apps only]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps only]|
Build date: 11/16/2013