- pif:Pointer to the IListContainerModel interface object.
- nType:Type of the item.
- nState:State of the item.
- ppiw:Pointer to an IWidget pointer that will be returned by the function, providing the widget that represents an item of a certain type and state.
int IListContainerModel_GetItemWidget(IListContainerModel* pif, int nType, int nState, IWidget **ppiw);
AEE_SUCCESS - The model was able to successfully return item widget of certain type and state. Error code - The model was not able to return item widget.
The pointer passed in the 'ppiw' parameter is a double-indirection -- i.e., it is a pointer to a pointer. Applications should use care in ensuring that the proper level of indirection is used in calling the function.