IltmmTVTuner::get_SignalPresent Example for C

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); 
   }
}