Developer

API Reference

IVFSCONTAINER_SetMaxItems()

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
See Also
IVFSNODE_GetProperty() IVFSCONTAINER_GetMaxItems()
Description
Sets the number of child nodes that may be held by this container.
Parameters
  • 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
Comment
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.
  • Follow