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

Developer

API Reference

ITRIGPLAYEREX_GETVFSDATA()

Brew Release
Brew MP 1.0.2
See Also
AEEVfsNode.h
Description
This function returns the data contained by the VFS node
Params
po
[]:
A pointer to an ITrigplayerEx object.
path
[]:
The VFS path. May be relative or absolute.
type
[]:
Expected node type (see AEEVfsNode.h)
size
[]:
Size of data buffer (in bytes)
data
[]:
Data buffer (into which data is copied)

Interface
  • ITRIGPLAYEREX
Prototype
  •    int ITRIGPLAYEREX_GetVfsData (ITrigplayerEx* po, VfsPath path, uint32 type,
                                     int size, void * data);
    
Return
  •    SUCCESS - the call has been completed successfully.
       ENOSUCH - the node specified by the path cannot be found.
       ENEEDMORE - The data type or size has been corrected by the call.
       EBUFFERTOOSMALL - the buffer supplied is too small to copy out the data.
       EMEMPTR - the buffer supplied is NULL.
       EBADPARM - the buffer supplied is badly aligned for the type of data.
       EBADITEM - it is not possible to read data from this node.
    
Side Effect
  • None
Comments
None