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

Developer

API Reference

IVFSCONTAINER_SETMAXITEMS()

Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_GetProperty() IVFSCONTAINER_GetMaxItems()
Description
Sets the number of child nodes that may be held by this container.
Params
po
[]:
Pointer to the IVfsNode interface object
maxItems
[]:
New max item count to be set.
Interface
  • IVFSCONTAINER
Prototype
  •    boolean IVFSCONTAINER_SetMaxItems(IVfsContainer * po,uint16 maxItems)
    
Return
  •    SUCCESS, or standard error code.
    
Side Effect
  • None
Comments
Inline accessor for IVFSNODE_SetProperty(..., NODEPROPERTY_MAXITEMS) You cannot reduce the MaxItems below the count of items already present. If the container was created with a non-zero itemcount, then the use of this call will cause the original data space to be wasted. Note that releasing this node will reclaim the memory, however.