IltmmCapture::get_UsingDVDecoder Example for C

VARIANT_BOOL bUsingDV;

IltmmCapture__get_UsingDVDecoder(ltmmCaptureCtrl1, &bUsingDV);
if(bUsingDV)
{
   // you are using DV decoder. Tell the DV decoder to decode
   // to the biggest resolution so we get the full preview
   IltmmCapture__put_DVDecoderResolution(ltmmCaptureCtrl1, ltmmDVResolution_Full);
}

L_MULTIMEDIATEX_API void IltmmCapture_get_UsingDVDecoder_Example (IltmmCapture* pCapture)
{
   VARIANT_BOOL bUsingDV;

   IltmmCapture_get_UsingDVDecoder(pCapture, &bUsingDV);

   if(bUsingDV)
   {
      // you are using DV decoder. Tell the DV decoder to decode
      // to the biggest resolution so we get the full preview
      IltmmCapture_put_DVDecoderResolution(pCapture, ltmmDVResolution_Full);
   }
}