IltmmConvert::get_UsingDVDecoder Example for C++

void GetConvertUsingDVDecoder(IltmmConvert *pConvert)
{
   VARIANT_BOOL bUsingDV;
   HRESULT hr = pConvert->get_UsingDVDecoder(&bUsingDV);

   if (SUCCEEDED(hr) && bUsingDV)
   {
      // you are using DV decoder. Tell the DV decoder to decode
      // to the largest resolution possible so the converted video will have 
      // the highest resolution possible
      pConvert->put_DVDecoderResolution(ltmmDVResolution_Full);
   }
}