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

Developer

API Reference

ISHELL_GETRESSIZE()

Brew Release
Brew MP 1.0.2
See Also
Description
This function is a wrapper for ISHELL_LoadResDataEx(). It evaluates to the size of the found resource, or to 0 (zero) if the resource is not found.
Params
pIShell
[]:
Pointer to the IShell object.
pszResFile
[]:
Resource file containing the data.
nResID
[]:
ID of the data in the resource file.
nType
[]:
The type of resource
  • RESTYPE_STRING
  • RESTYPE_IMAGE
  • RESTYPE_DIALOG
  • RESTYPE_CONTROL
  • RESTYPE_LISTITEM (currently not supported)
  • RESTYPE_BINARY

pnBufSize
[]:
May not be NULL.
Interface
  • ISHELL
Prototype
  •     uint32 ISHELL_GetResSize
        (
        IShell * pIShell,
        const char * pszResFile,
        uint16 nResID,
        ResType nType,
        uint32 *pnBufSize
        );
    
Return
  • 0 (zero) : if the function failed.
    The size of the resource : if successful.
Side Effect
  • None
Comments
None