Having an IltmfProcessor interface, pProc:
void GetProcessorType(IltmfProcessor *pProc)
{
long lType;
// try to get the type
HRESULT hr = pProc ->get_Type(&lType);
// if not video
if (SUCCEEDED(hr) && lType != ltmfProcessorType_LEAD_Video)
{
// do something
}
}
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