IltmfCapture::get_TVTuner Example for C++

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(); 
   } 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.