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

Developer

API Reference

IGALLERY_MOUNTDIRS()

Brew Release
Brew MP 1.0.2
See Also
IGallery_MountDefault
Description
Mounts the directories specified to the gallery view. Mounting any sub-directories under the public and card directories will result in an error, user can only mount the top level public or card directories. If at least one of the specified directories is mounted (either as a result of this call or from a previous call), then the return value will be SUCCESS, even if all other paths failed to mount successfully.
Params
pif
[in]:
Pointer to IGallery interface
pszURLs
[in]:
Directories to be mounted, separated by ';'
Interface
Prototype
  •    int IGallery_MountDirs(IGallery *pif, const char *pszURLs);
    
Return
  • int: Error code
Comments
Pass NULL in the URL to mount the default gallery directories (or use IGallery_MountDefault).