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