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().
Parameters
  • 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
Comment
This function is a shortcut function for the helper function function IWidget_SetPropertiesV() which expects a va_list-style parameter.
  • Follow