Επεξεργασία

Κοινή χρήση μέσω


IKnownFolderManager interface (shobjidl_core.h)

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

Inheritance

The IKnownFolderManager interface inherits from the IUnknown interface. IKnownFolderManager also has these types of members:

Methods

The IKnownFolderManager interface has these methods.

 
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

Requirement Value
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