IltmmTVTuner::get_SignalPresent Example for C++

void GetCaptureTVTunerSignalPresent(IltmmCapture *pCapture) 
{ 
   IltmmTVTuner* pTuner; 
 
   // get the tuner object 
   HRESULT hr = pCapture->get_TVTuner(&pTuner); 
   if(SUCCEEDED(hr) && pTuner != NULL) 
   { 
      long lSignalPresent; 
 
      // check if signal present 
      pTuner->get_SignalPresent(&lSignalPresent); 
 
      // release the tuner object 
      pTuner->Release(); 
   } 
} 
Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help