Share via


Fonction SHRemoveFolderPathFromLibrary (shobjidl_core.h)

Supprime un dossier d’une bibliothèque.

Syntaxe

HRESULT SHRemoveFolderPathFromLibrary(
  [in] IShellLibrary *plib,
  [in] PCWSTR        pszFolderPath
);

Paramètres

[in] plib

Type : IShellLibrary*

Objet IShellLibrary à partir duquel supprimer le dossier.

[in] pszFolderPath

Type : PCWSTR

Chemin d’accès du dossier à supprimer.

Valeur retournée

Type : HRESULT

Si cette fonction réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Remarques

Il s’agit d’une fonction d’assistance inline qui encapsule la méthode IShellLibrary ::RemoveFolder .

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 7 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 R2 [applications de bureau uniquement]
Plateforme cible Windows
En-tête shobjidl_core.h (incluez Shobjidl.h)

Voir aussi

IShellLibrary

IShellLibrary ::AddFolder

IShellLibrary ::LoadLibraryFromItem

IShellLibrary ::LoadLibraryFromKnownFolder

IShellLibrary ::RemoveFolder

SHAddFolderPathToLibrary

SHLoadLibraryFromItem

SHLoadLibraryFromKnownFolder

SHLoadLibraryFromParsingName