Developer

API Reference

IListContainerModel_GetItemType()

Brew Release
Brew MP 1.0.2
See Also
Description
This function retrieves the type for an item store in list container model at a certain index.
Parameters
  • pif
    []:
    Pointer to the IListContainerModel 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...
  • pnType
    []:
    On success, returns the type of the item at a certain index.
Prototype
   int IListContainerModel_GetItemType(IListContainerModel* pif, int nIndex, int* pnType);
Return
   AEE_SUCCESS  - The model was able to successfully return the type of item at
                  a certain index.
   Error code   - The model was not able to return the type of item.
Side Effect
None
Comment
None
  • Follow