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

Developer

API Reference

IACTORLOADER_CREATENODE()

Brew Release
Brew MP 1.0.2
Description
This function is used to create a single IVfsNode (which may be a container holding an arbitrarily complex tree structure of nodes), which can be 'mounted' into the Vfs tree.
Interface
  • IACTORLOADER
Prototype
  •    int IACTORLOADER_CreateNode( IActorLoader * po, IVfsContainer * parent, VfsPathElement name, IVfsNode ** ppNode, IActorContext * context )
    
    Parameters
    
       po :        poiner to the IActorLoader interface object
       parent :    the IVfsContainer which is to contain the newly created node
       name :      the name to be given to the new node
       ppNode :    The address of a pointer which will be set by this function to point to the
                   newly created node.
       context :   The utility interface for the use of the created nodes.
    
Return
  •    SUCCESS - *ppNode points to the new node
       Any other value is an error code, eg ENOMEMORY
    

    Comments :
    Side Effects :