[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtGenTreeFreeItems()

Free the items in a subtree

Synopsis:

int PtGenTreeFreeItems( PtGenTreeItem_t *item );

Description:

This function frees the subtree item, together with its siblings and their children. The items must not belong to any tree. (Use PtGenTreeRemoveItem(), PtGenTreeRemoveList(), or PtGenTreeRemoveChildren() to remove the subtree before freeing it.)

Returns:

0
Success.
-1
The item is still in a widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree, PtGenTreeItem_t


[Previous] [Contents] [Index] [Next]