IKnownFolderManager interface

Exposes methods that create, enumerate or manage existing known folders.

Methods

The IKnownFolderManager interface has these methods.

Method Description
IKnownFolderManager::FindFolderFromIDList Gets an object that represents a known folder based on an IDList. The object allows you to query certain folder properties, get the current path of the folder, redirect the folder to another location, and get the path of the folder as an ITEMIDLIST.
IKnownFolderManager::FindFolderFromPath Gets an object that represents a known folder based on a file system path.
IKnownFolderManager::FolderIdFromCsidl Gets the KNOWNFOLDERID that is the equivalent of a legacy CSIDL value.
IKnownFolderManager::FolderIdToCsidl Gets the legacy CSIDL value that is the equivalent of a given KNOWNFOLDERID.
IKnownFolderManager::GetFolder Gets an object that represents a known folder identified by its KNOWNFOLDERID.
IKnownFolderManager::GetFolderByName Gets an object that represents a known folder identified by its canonical name.
IKnownFolderManager::GetFolderIds Gets an array of all registered known folder IDs. This can be used in enumerating all known folders.
IKnownFolderManager::Redirect Redirects folder requests for common and per-user folders.
IKnownFolderManager::RegisterFolder Adds a new known folder to the registry. Used particularly by independent software vendors (ISVs) that are adding one of their own folders to the known folder system.
IKnownFolderManager::UnregisterFolder Remove a known folder from the registry, which makes it unknown to the known folder system. This method does not remove the folder itself.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See Also

Known Folders Sample