IltmmPlay::get_UsingDVDecoder Example for C

VARIANT_BOOL bUsingDV;

IltmmPlay__get_UsingDVDecoder (ltmmPlayCtrl1, &bUsingDV);
if(bUsingDV)
{
   // you are using DV decoder. Tell the DV decoder to decode
   // to the biggest resolution
   IltmmPlay__put_DVDecoderResolution(ltmmPlayCtrl1, ltmmDVResolution_Full);
}

L_MULTIMEDIATEX_API void IltmmPlay_get_UsingDVDecoder_Example (IltmmPlay* pPlay)
{
   VARIANT_BOOL bUsingDV;

   IltmmPlay_get_UsingDVDecoder (pPlay, &bUsingDV);

   if(bUsingDV)
   {
      // you are using DV decoder. Tell the DV decoder to decode
      // to the biggest resolution
      IltmmPlay_put_DVDecoderResolution(pPlay, ltmmDVResolution_Full);
   }
}