IltmmCapture::get_DVDecoderResolution Example for C++

// This function will change the small resolution
// into the second highest resolution
void SetupDV(IltmmCapture *pCapture)
{
   ltmmDVResolution res;

   pCapture->get_DVDecoderResolution (&res);

   if(res == ltmmDVResolution_DC)
      pCapture->put_DVDecoderResolution (ltmmDVResolution_Quarter); 
   if(res == ltmmDVResolution_Quarter) 
      pCapture->put_DVDecoderResolution (ltmmDVResolution_Half); 
   if(res == ltmmDVResolution_Half) 
      pCapture->put_DVDecoderResolution (ltmmDVResolution_Full); 
}