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

Developer

API Reference

IWIDGET_SETIMAGESTATICINFO()

Brew Release
Brew MP 1.0.2
Description
This function stores a pointer to an ImageStaticInfo data structure in the value model associated with an image static widget.
Params
pif
[]:
[in] Pointer to the image static widget object.
pInfo
[]:
[in] Pointer to the ImageStaticInfo data structure that contains pointers to the image and text that is to be displayed by the widget. This pointer will be stored in the widget's attached value model.
pfnFree
[]:
[in] Pointer to the callback function that BREW will call to free existing data stored in the value model. If no special function is required to free the model data, pass NULL.
Interface
Prototype
  •    int IWidget_SetImageStaticInfo(IWidget *pif, ImageStaticInfo *pInfo, PFNVALUEFREE pfnFree)
    
Return
  •    AEE_SUCCESS - If BREW was able to successfully retrieve the value model and store the pointer
                     to the ImageStaticInfo data structure that houses the image and text pointers
                     widgets as desired.
       AEE_EFAILED - If the value model could not be retrieved or BREW could otherwise not honor
                     the request.
    
Side Effect
  • None
Comments
None