LEADTOOLS Multimedia API Help > Programming with LEADTOOLS Multimedia > C++ Code > IltmmConvert::get_DVDecoderResolution Example for C++ |
HRESULT GetConvertDVDDecoderResolution(IltmmConvert *pConvert) { ltmmDVResolution DVRes; CString strDV; // call the Convert object to retrieve the DVD Decoder resolution HRESULT hr = pConvert->get_DVDecoderResolution(&DVRes); if (SUCCEEDED(hr)) { // display the current resolution strDV.Format(TEXT("DV Decoder resolution = %d"), (int)DVRes); MessageBox(NULL, strDV, TEXT("DVD Decoder Resolution"), MB_OK); } return hr; }