IKnownFolderManager interface

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

Members

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

Methods

The IKnownFolderManager interface has these methods.

MethodDescription
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.

FindFolderFromPath

Gets an object that represents a known folder based on a file system path. 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.

FolderIdFromCsidl

Gets the KNOWNFOLDERID that is the equivalent of a legacy CSIDL value.

FolderIdToCsidl

Gets the legacy CSIDL value that is the equivalent of a given KNOWNFOLDERID.

GetFolder

Gets an object that represents a known folder identified by its KNOWNFOLDERID. 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.

GetFolderByName

Gets an object that represents a known folder identified by its canonical name. 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.

GetFolderIds

Gets an array of all registered known folder IDs. This can be used in enumerating all known folders.

Redirect

Redirects folder requests for common and per-user folders.

RegisterFolder

Adds a new known folder to the registry. Used particularly by ISVs that are adding one of their own folders to the known folder system.

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]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll

See also

Known Folders Sample

 

 

Community Additions

ADD
Show:
© 2014 Microsoft