INameSpaceTreeControl ::RemoveRoot, méthode (shobjidl_core.h)

Supprime une racine et ses enfants d’une arborescence.

Syntaxe

HRESULT RemoveRoot(
  [in] IShellItem *psiRoot
);

Paramètres

[in] psiRoot

Type : IShellItem*

Pointeur vers la racine à supprimer.

Valeur retournée

Type : HRESULT

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

Spécifications

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