INameSpaceTreeControl2::GetRootItems Method

Gets an array of the root items.

Syntax

HRESULT GetRootItems(      
    IShellItemArray **ppsiaRootItems
);

Parameters

  • ppsiaRootItems
    [out] A pointer to an array of root items.

Return Value

Returns S_OK if successful, or an error value otherwise.