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

Developer

API Reference

IWIDGET_SETPROPERTIES()

Brew Release
Brew MP 1.0.2
See Also
IWidget IResFile Widget Properties IResFile_GetNamed IWidget_SetPropertiesV
Description
This routine is used to load and set widget properties from a resource file. The resource path specified in the variable arguments list should be formed as described in IResFile_GetNamed().
Params
piWidget
[]:
[in] Pointer to the IWidget interface object
piResFile
[]:
[in] Pointer to the resource file where the values of the properties can be found. ...: [in] Null-terminated string list of names forming the resource path from which to retrieve the list of properties to be set.
Interface
Prototype
  •    int IWidget_SetProperties(IWidget *piWidget, IResFile *piResFile,  ...);
    
Return
  •    AEE_SUCCESS - If the widget is able to successfully load and apply the properties from the resource file
       AEE_EFAILED - Otherwise
    
Side Effect
  • None
Comments
This function is a shortcut function for the helper function function IWidget_SetPropertiesV() which expects a va_list-style parameter.