// 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;}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
