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

Developer

API Reference

ISHELL_LOADRESSTRING()

Brew Release
Brew MP 1.0.2
See Also
AEE_RES_LANGSUF AEE_RES_LANGDIR IShell ISHELL_LoadImage ISHELL_LoadResData ISHELL_LoadResImage ISHELL_LoadResObject ISHELL_LoadResSound ISHELL_LoadSound
Description
This function allows the caller to retrieve UNICODE (UCS2 encoding) or ISOLATIN strings stored in the specified resource file. The returned string is placed in the buffer provided.
Params
pIShell
[in]:
Pointer to the IShell interface object.
pszResFile
[in]:
Resource file containing the string.
nResID
[in]:
ID of the string in the resource file.
pBuff
[out]:
Buffer to fill with the string.
nSize
[in]:
Size in bytes of the input buffer.
Interface
  • ISHELL
Prototype
  •     int ISHELL_LoadResString
        (
        IShell * pIShell,
        const char * pszResFile,
        int16 nResID,
        AECHAR * pBuff,
        int nSize
        );
    
Return
  • The number of characters filled : if successful.
    0 (zero) : otherwise.
Side Effect
  • None
Comments
For KSC5601, S_JIS and EUC_CN encoding, LoadResString() will fail to correctly load the string unless the encoding is also the handset's native encoding.