LEADTOOLS Multimedia API Help > Programming with LEADTOOLS Multimedia > C++ Code > IltmmConvert::SaveSettingsToFile Example for C++ |
#define MAKE_MEDIA_PATH(pFileName) (TEXT("C:\\LEADTOOLS 18\\Media\\")TEXT(pFileName)) void SaveConvertSettingsToFile(IltmmConvert *pConvert) { // try to save the convert settings to a file HRESULT hr = pConvert->SaveSettingsToFile(MAKE_MEDIA_PATH("Test.lmm"), ltmmConvert_Settings_All); if (FAILED(hr)) { MessageBox(NULL, TEXT("Error saving convert settings to file"), TEXT("Save Convert Settings"), MB_OK); } }