LEADTOOLS Media Foundation Help > Programming with LEADTOOLS Media Foundation > C++ Code > IltmfTVTuner::get_VideoSubChannel Example for C++ |
void GetCaptureTVTunerVideoSubChannel(IltmfCapture *pCapture) { IltmfTVTuner* pTuner; // get the tuner object HRESULT hr = pCapture->get_TVTuner(&pTuner); if(SUCCEEDED(hr) && pTuner != NULL) { long lVideoSubChannel; // get the video subchannel pTuner->get_VideoSubChannel(&lVideoSubChannel); // release the tuner object pTuner->Release(); } }