API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IVFSCONTAINER_ADDCHILD()

Brew Release
Brew MP 1.0.2
See Also
IVFSCONTAINER_RemoveChild()
Description
Adds a child node to a container.
Params
po
[]:
Pointer to the IVfsContainer interface object
child
[]:
The IVfsNode to add to the container.
Interface
  • IVFSCONTAINER
Prototype
  •    int IVFSCONTAINER_AddChild(IVfsContainer * po,IVfsNode * child)
    
Return
  •    SUCCESS, or standard error code.
    
Side Effect
  • None
Comments
It is intended that this call be used solely for adding children to an IVfsStructContainer at initialisation time. Note: calling this function can cause the container to expand to accomodate the new child. If child is NULL, the call will fail gracefully (returning EBADPARM).