SEC_TREECLASS::GetParentItem

HTREEITEMSEC_TREECLASS::GetParentItem(HTREEITEMhti)

Retrieves the parent of the item specified.

Defined in: trcore.inl

Return Value

The handle of the parent item; otherwise NULL.

Parameters

hti

Handle of a tree item.

Comments

Call this function to retrieve the parent of hItem. If the parent is TVI_ROOT, a NULL will be returned.