Developer

API Reference

ISOURCEUTIL_SourceFromAStream()

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