The ptree_create_and_add_prop() function creates a property using the the property information specified in infop and the value buffer vbuf and adds the property to the node specified by nodeh. If proph is not NULL, the handle of the property added to the node is returned in proph.