// This function will change the small resolution// into the next highest resolutionHRESULT GetPlayDVDDecoderResolution(IltmmPlay *pPlay){ltmmDVResolution DVRes;CString strDV;// call the Play object to retrieve the DVD Decoder resolutionHRESULT hr = pPlay->get_DVDecoderResolution(&DVRes);if (SUCCEEDED(hr)){// increase the resolutionif(DVRes == ltmmDVResolution_DC)pPlay->put_DVDecoderResolution(ltmmDVResolution_Quarter);if(DVRes == ltmmDVResolution_Quarter)pPlay->put_DVDecoderResolution(ltmmDVResolution_Half);if(DVRes == ltmmDVResolution_Half)pPlay->put_DVDecoderResolution(ltmmDVResolution_Full);// display the current resolutionstrDV.Format(TEXT("DV Decoder resolution = %d"), (int)DVRes);MessageBox(NULL, strDV, TEXT("DVD Decoder Resolution"), MB_OK);}return hr;}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
