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);
}