Developer

API Reference

IVFSCACHEMODEL_DestroyChild()

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 is called to notify the model that the child is about to be released by the cache container because it is no longer to be cached.
Parameters
  • po
    []:
    Pointer to the IVfsCacheModel interface object
  • container
    []:
    Pointer to the associated cache container
  • child
    []:
    Pointer to the child to be destroyed.
Interface
IVFSCACHEMODEL
Prototype
   int IVFSCACHEMODEL_DestroyChild(IVfsCacheModel *,IVfsCacheContainer * container,IVfsNode * child)
Return
none
Comment
This function MUST be present in all cache models. The simplest implementation is to do nothing, and to allow the IVFSNODE_Release() call - which will follow this call - to remove the node.
  • Follow