void SetCaptureTVTunerMode(IltmfCapture *pCapture)
{
IltmfTVTuner* pTVTuner;
// try to get the tuner if available
HRESULT hr = pCapture->get_TVTuner(&pTVTuner);
if (SUCCEEDED(hr) && pTVTuner)
{
// do something with the tv tuner
pTVTuner->put_Mode(ltmfTUNER_MODE_TV);
// release the tv tuner object
pTVTuner->Release();
}
}
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