IltmmTVTuner::get_SignalPresent Example for C

IltmmTVTuner* pTuner; 
HRESULT hr = IltmmCapture__get_TVTuner (m_capture, &pTuner); 
if(SUCCEEDED(hr) && pTuner != NULL) 
{
      long lSignalPresent; 
      IltmmTVTuner__get_SignalPresent(pTuner, &lSignalPresent); 
      IltmmTVTuner_Release(pTuner); 
}

L_MULTIMEDIATEX_API void IltmmTVTuner_get_SignalPresent_Example (IltmmCapture *pCapture)
{
   IltmmTVTuner* pTuner;
   HRESULT hr = IltmmCapture_get_TVTuner (pCapture, &pTuner); 

   if(SUCCEEDED(hr) && pTuner != NULL) 
   {
      long lSignalPresent; 

      IltmmTVTuner_get_SignalPresent(pTuner, &lSignalPresent); 

      IltmmTVTuner_Release(pTuner); 
   }
}