Developer

API Reference

PFNACTORFRAME_CREATENODE

Brew Release
Brew MP 1.0.2
See Also
None
Parameters
  • name
    [in]:
    Name of the node to create.
Return
int: BREW result code. This callback function must use IVFSCONTAINER_AddChild() to add a node called "name" to the pParent container before returning. If this does not occur, a SUCCESS return code is ignored.
Side Effect
None
Definition
   typedef int (*PFNACTORFRAME_CREATENODE)(
      ActorBase *pMe,
      IVfsContainer *pParent,
      VfsPathElement name
   );

Comment
The pParent interface pointer should not be stored locally in the actor, or used in comparisons intended to determine node lineage.
In particular, when this callback function is invoked to create a child node of an IVfsCacheContainer, the pParent interface pointer is not guaranteed to be the actual cache container interface.
However the name of the pParent (as returned by IVFSNODE_Name) and its parent (as returned by IVFSNODE_Parent) can be relied upon to be accurate.
  • Follow