IltmmCapture::get_UsingDVDecoder Example for C++

void CaptureUsingDVDecoder(IltmmCapture *pCapture)
{
   VARIANT_BOOL bUsingDV;

   // try to get the capture control DV Decoder state
   pCapture->get_UsingDVDecoder(&bUsingDV);

   // if using DV Decoder
   if(bUsingDV)
   {
      // Set the DV decoder resolution to the largest resolution possible
      pCapture->put_DVDecoderResolution(ltmmDVResolution_Full);
   }
}