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

Developer

API Reference

ISHELL_SETAPPPREFS()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IShell ISHELL_GetAppPrefs
Description
This method provides a means for storing a structure containing applet-specific preferences. Applications can use this as a means to store/retrieve application-specific settings or preferences information persistently. The information is stored in a file. Use ISHELL_GetAppPrefs() to retrieve the preferences.
Params
pIShell
[]:
Pointer to the IShell object.
wVer
[]:
Version of the preference.
pCfg
[]:
Pointer to the preference data to be stored.
nSize
[]:
Size of memory block to store.
Interface
  • ISHELL
Prototype
  •     int ISHELL_SetPrefs
        (
        IShell * pIShell,
        uint16 wVer,
        void * pCfg,
        uint16 nSize
        );
    
Return
  • AEE_SUCCESS : if the operation succeeded.
Side Effect
  • None
Comments
None