IltmmTVTuner::get_AudioSubChannel Example for C++

void GetCaptureTVTunerAudioSubChannel(IltmmCapture *pCapture)
{
   IltmmTVTuner* pTuner;
   // try to get the capture tv tuner interface
   HRESULT hr = pCapture->get_TVTuner(&pTuner);

   if (SUCCEEDED(hr) && pTuner != NULL)
   {
      long lAudioSubChangle;
      pTuner->get_AudioSubChannel(&lAudioSubChangle);

      // release the tuner object
      pTuner->Release();
   }
}