|Microsoft Deployment Toolkit
HTREEITEM AddItem(LPCTSTR text, HTREEITEM hParent = NULL)
Add a node to the tree view. The new node will be added at the top level if hParent is NULL. Otherwise, provide the handle to the parent item where you want the new item added. This method returns the handle to the new item.