The TreeView_GetNodeData() function returns the long integer data item associated with the specified node.
TreeView_GetNodeData(tree_view_field, node_ID)
• tree_view_field – The tree view field containing the specified node.
• node_ID – A long integer specifying the ID of the node whose data item will be returned.
A long integer containing the data item for the specified node.