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 ::LoadLibraryFromItem
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour