IltmmCapture::get_TVTuner Example for C

IltmmTVTuner* pTVTuner; 
HRESULT hr = IltmmCapture__get_TVTuner (g_capture, &pTVTuner); 
if (SUCCEEDED(hr) && pTVTuner) 
  IltmmTVTuner_Release(pTVTuner);

L_MULTIMEDIATEX_API void IltmmCapture_get_TVTuner_Example (IltmmCapture* pCapture)
{
   IltmmTVTuner* pTVTuner; 


   HRESULT hr = IltmmCapture_get_TVTuner (pCapture, &pTVTuner); 

   if (SUCCEEDED(hr) && pTVTuner) 
   {
      IltmmTVTuner_Release(pTVTuner);
   }
}