The ptree_get_first_prop() function gets the handle of the first property of the node specified by nodeh and copies it into the location specified by proph.
The ptree_get_next_prop() function gets the handle of the next property after the one specified by proph from the list of properties of the node and copies it into the location specified by nextproph.