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

Developer

API Reference

ISOURCEUTIL_ASTREAMFROMSOURCE()

Brew Release
Brew MP 1.0.2
See Also
Error Codes ISourceUtil ISOURCEUTIL_SourceFromAStream()
Description
This function makes a new IAStream Interface object that gets data from an ISource Interface object.
Params
pISourceUtil
[in]:
Pointer to the ISourceUtil Interface object.
pis
[in]:
Data source to read from.
ppias
[out]:
Pointer to the interface pointer to be filled with resulting IAStream interface object.
Interface
  • ISOURCEUTIL
Prototype
  •    int32 ISOURCEUTIL_AStreamFromSource(ISourceUtil *  pISourceUtil,
                                           ISource *      pis,
                                           IAStream **    ppias);
    
Return
  • AEE_SUCCESS : if successful.
    AEE_ENOMEMORY : if the function can't make a new IAStream interface object.
Side Effect
  • None
Comments
None