IltmmPlay::put_SourceStream Example for C++

void SetSourceToMemoryObject(IltmmPlay *pPlay, IltmmMemory *pMem)
{
   // reset the source first
   pPlay->ResetSource();

   // set the source stream
   pPlay->put_SourceStream(pMem);
}