LEADTOOLS Multimedia API Help > Programming with LEADTOOLS Multimedia > C++ Code > IltmmTVTuner::get_VideoSubChannel Example for C++ |
void GetCaptureTVTunerVideoSubChannel(IltmmCapture *pCapture) { IltmmTVTuner* 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(); } }