IltmfTVTuner::get_SignalPresent Example for C++

void GetCaptureTVTunerSignalPresent(IltmfCapture *pCapture) 
{ 
   IltmfTVTuner* 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.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help