Developer

API Reference

IRootForm_GetThemeFile()

Brew Release
Brew MP 1.0.2
See Also
IRootForm_SetThemeFileName() IRootForm_ApplyWProps() IResFile
Description
This function will retrieve the currently used theme file from the RootForm. The returned theme file can be used to retrieve numbered or named resources from the current themefile.
The common use of this function is in reaction to the FID_THEME property to load named resources from the theme file such as images that are needed from the theme.
Parameters
  • pif
    []:
    [in] Pointer to the IRootForm interface object.
  • ppif
    []:
    [out] Pointer to the destination for the IResFile object handle
Interface
Prototype
   int IRootForm_GetThemeFile(IRootForm *pif, IResFile **ppif); 
Return
   AEE_SUCCESS: Themefile retrieved.
   AEE_EFAILED: Themefile not set in RootForm or unable to return.
Side Effect
None
Comment
None
  • Follow