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

Developer

API Reference

ISOURCEUTIL_GETLINEFROMSOURCE()

Brew Release
Brew MP 1.0.2
See Also
ISourceUtil ISOURCEUTIL_PeekFromMemory()
Description
This function makes a new IGetLine Interface object that gets data from an ISource Interface object.
Params
pISourceUtil
[in]:
pointer to the ISourceUtil interface object.
pirs
[in]:
the data source.
nBufSize
[in]:
the amount of memory to try to allocate for buffering, should have some relevance to the data being read.
ppigl
[out]:
a pointer to the interface pointer to be filled with resulting IGetLine interface object.
Interface
  • ISOURCEUTIL
Prototype
  •    int32 ISOURCEUTIL_GetLineFromSource(ISourceUtil *  pISourceUtil,
                                           ISource *      pirs,
                                           int32          nBufSize,
                                           IGetLine **    ppigl);
    
Return
  • AEE_SUCCESS : if successful.
    AEE_ENOMEMORY : if the function can't make a new IGetLine interface object.
Side Effect
  • None
Comments
None