Developer

API Reference

IVFSCACHEMODEL_CreateChild()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
Description
As described above, the IVfsCacheContainer controls the lifecycle of the child nodes, and the model is called to create and destroy child nodes on the fly when required. This function should return a new child node generated according to the given parameters.
Parameters
  • po
    []:
    Pointer to the IVfsCacheModel interface object
  • container
    []:
    Pointer to the associated cache container
  • name
    []:
    The name of the required child node.
  • ppC
    []:
    The address where a pointer to the new child node should be stored by this call.
Interface
IVFSCACHEMODEL
Prototype
   int IVFSCACHEMODEL_CreateChild(IVfsCacheModel *,IVfsCacheContainer * container,VfsPathElement name,IVfsNode ** ppC)
Return
   SUCCESS - the node was created and a pointer stored at ppC
   other - standard error code.
Comment
This function MUST be present in all cache models
  • Follow