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