SHRemoveFolderPathFromLibrary function
Removes a folder from a library.
Syntax
HRESULT SHRemoveFolderPathFromLibrary( _In_ IShellLibrary *plib, _In_ PCWSTR pszFolderPath );
Parameters
- plib [in]
-
Type: IShellLibrary*
The IShellLibrary object from which to remove the folder.
- pszFolderPath [in]
-
Type: PCWSTR
The path of the folder to remove.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This is an inline helper function that wraps the IShellLibrary::RemoveFolder method.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
See also
- IShellLibrary
- SHAddFolderPathToLibrary
- IShellLibrary::AddFolder
- IShellLibrary::RemoveFolder
- SHLoadLibraryFromItem
- SHLoadLibraryFromKnownFolder
- SHLoadLibraryFromParsingName
- IShellLibrary::LoadLibraryFromItem
- IShellLibrary::LoadLibraryFromKnownFolder
Show: