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


API Reference


Brew Release
Brew MP 1.0.2
This is a controlling interface for containers that have an unknown (at compile time) or potentially large number of children (such as an address book). To prevent the need to load ALL children when the container is created, the IVfsCacheContainer will create and destroy child nodes on-the-fly, as they are required. To do this, each IVfsCacheContainer has a number of cache slots that hold 'active' children (i.e. children that are being observed or read). Once a child becomes inactive, it may be removed from its cache slot and deleted, and the cache slot re-used.
A IVfsCacheContainer object is created by calling IVFSNODE_QueryInterface() and passing AEECLSID_VFSCACHECONTAINER as the class id. If successful, a pointer to the IVfsCacheContainer object will be returned in the 'pp' parameter of IVFSNODE_QueryInterface().
The IVfsCacheContainer object is reference counted. When you are done with your reference to the IVfsCacheContainer object, you should release it. Any specific cleanup will be handled for you when all references are released.
Default Interface Name
Other Interfaces