- pif:Pointer to the IVectorModel interface object.
- pvItem:Pointer to the contents of the item being added to the vector model.
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.
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().