Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.27
LEADTOOLS Media Foundation Help

IltmfCapture::get_TVTuner Example for C++

Show in webframe
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();
   }
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.