IltmmCapture::get_TVTuner Example for C++

void SetCaptureTVTunerMode(IltmmCapture *pCapture) 
{ 
   IltmmTVTuner* 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(ltmmTUNER_MODE_TV); 
 
      // release the tv tuner object 
      pTVTuner->Release(); 
   } 
} 
Help Version 20.0.2019.8.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help