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

Developer

API Reference

ITYPEDLISTMODEL_GETAT()

Brew Release
Brew MP 1.0.2
See Also
- ITypedListModel Interface - ITypedValueModel Interface - IInterfaceModel Interface
Description
This function retrieves a specified item from of a given list model.
Params
pif
[]:
Pointer to the ITypedListModel interface object.
nIndex
[]:
Indicates the zero-based index of the list item. The first item in the list is indexed by 0, the second is indexed by 1, and so on...
pType
[]:
Returns the type of the data
ppValue
[]:
Returns a pointer to the data
pnLen
[]:
Returns the length of the data.
Interface
Prototype
  •    AEEResult ITypedListModel_GetAt(ITypedListModel *pif, int nIndex, AEEUID *pType, void **ppValue, int *pnLen);
    
Return
  •    AEE_SUCCESS   - The model was able to successfully return a pointer to the requested item.
       AEE_EBADPARM  - The requested index is not within the range of items stored in the model.
    
Side Effect
  • None
Comments
None