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
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET