
####################
A3DTreeNodeGetParent
####################

.. c:function:: A3DStatus A3DTreeNodeGetParent(const A3DTree *pTree, const A3DTreeNode *pNode, A3DTreeNode **ppParentNode)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DTreeNodeGetParent(*const* :c:type:`~A3DTree`\ \* **pTree**\ , *const* :c:type:`~A3DTreeNode`\ \* **pNode**\ , :c:type:`~A3DTreeNode`\ \*\* **ppParentNode**\ )
   
   Desc.
   
   Get parent node of a node or NULL if the node is the root of the model
   
   **Parameters**
   
   
      **pTree**\ : The model tree containing the node.
   
      **pNode**\ : The tree node, or 0 to clean the structure memory.
   
      **ppParentNode**\ : parent node.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




