IltmfPlay::get_SourceStream Example for C++

void SetSourceStream(IStream *pSourceStream, IltmfPlay *pPlay) 
{ 
 
   HRESULT hr = pPlay->put_SourceStream(pSourceStream); 
 
   if (FAILED(hr)) 
 
      return; 
 
#ifdef _DEBUG 
 
   IStream *pStream = NULL; 
 
   // try to get the play source stream object 
 
   hr = pPlay->get_SourceStream((IUnknown**)&pStream); 
 
   ASSERT(pStream); 
 
#endif 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.