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

Developer

API Reference

IVFSCONTAINER_GETITEMSINUSE()

Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_GetProperty() IVFSCONTAINER_GetMaxItems()
Description
Returns the number of child nodes held by this container.
Params
po
[]:
Pointer to the IVfsNode interface object
pIiu
[]:
[out] Address at which to store the Items in use count.
Interface
  • IVFSCONTAINER
Prototype
  •    int IVFSCONTAINER_ItemsInUse(IVfsContainer * po,uint16 * pIiu)
    
Return
  •    SUCCESS, or standard error code.
    
Side Effect
  • None
Comments
Inline accessor for IVFSNODE_SetProperty(..., NODEPROPERTY_USEDITEMS) For an IVfsStructContainer, this is the count of children added to the container. For an IVfsCacheContainer, this is the current count of cached child nodes held by the container. This count includes both active (refcount > 1) and inactive (refcount == 1) child nodes.