LEADTOOLS Media Foundation Help > Programming with LEADTOOLS Media Foundation > C++ Code > 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(); } }