IltmmPlay::get_DVDecoderResolution Example for C++

// This function will change the small resolution 
// into the next highest resolution 
HRESULT GetPlayDVDDecoderResolution(IltmmPlay *pPlay) 
   ltmmDVResolution DVRes; 
   CString strDV; 
   // call the Play object to retrieve the DVD Decoder resolution 
   HRESULT hr = pPlay->get_DVDecoderResolution(&DVRes); 
   if (SUCCEEDED(hr)) 
      // increase the resolution 
      if(DVRes == ltmmDVResolution_DC) 
      if(DVRes == ltmmDVResolution_Quarter) 
      if(DVRes == ltmmDVResolution_Half) 
      // display the current resolution 
      strDV.Format(TEXT("DV Decoder resolution = %d"), (int)DVRes); 
      MessageBox(NULL, strDV, TEXT("DVD Decoder Resolution"), MB_OK); 
   return hr; 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Multimedia C API Help