Méthode INameSpaceTreeControl ::GetRootItems (shobjidl_core.h)

Obtient un tableau des éléments racine.

Syntaxe

HRESULT GetRootItems(
  [out] IShellItemArray **ppsiaRootItems
);

Paramètres

[out] ppsiaRootItems

Type : IShellItemArray**

Pointeur vers un tableau d’éléments racines.

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 (inclure Shobjidl.h)