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.
Parameters
  • 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
Comment
None
  • Follow