int IVectorModel_Add(IVectorModel *pif, void *pvItem)
AEE_SUCCESS - The item was successfully added to the vector model. AEE_ENOMEMORY - The vector model was unable to allocate enough memory to accommodate the new item.
- Adding an item to a vector model by calling IVectorModel_Add() will cause BREW to send
an EVT_MDL_LIST_CHANGE ListModelEvent to any object that has registered as a listener with
The fields of the ListModelEvent will contain the following information:
pos: The position in the vector model where the new item has been added. When adding at the end of the vector model this value will be equal to the number of items in the model prior to calling IVectorModel_Add(). oldSize: The number of items in the vector model before calling IVectorModel_Add(). newSize: The number of items in the vector model after calling IVectorModel_Add().