Developer

API Reference

IListContainerModelFactory_CreateClassIdITypedListModelBased()

Brew Release
Brew MP 1.0.2
Description
This method creates an IListContainerModel that is best suited for simple homogenous lists. This ListContainerModel that will use the clsidWidget to CI the widgets and the piItemData to supply the data for each widget. The clsidWidget value will be used for the type of each list item.
Parameters
  • pif
    []:
    Pointer to the IListContainerModelFactory interface object.
  • clsidWidet
    []:
    Class id which will be used to create widget that will be used by ListContainer and items.
  • piItemData
    []:
    provides the data for each item in the list.
  • ppiListContainerModel
    []:
    On success, the newly created IListContainerModel.
Prototype
   int IListContainerModelFactory_CreateClassIdITypedListModelBased(IListContainerModelFactory *pif, 
            AEECLSID clsidWidget, 
            ITypedListModel *piItemData, 
            IListContainerModel **ppiListContainerModel);
Return
   AEE_SUCCESS             : On success.
   Error code              : Otherwise.
Side Effect
None
Comment
None
  • Follow