#define MAKE_MEDIA_PATH(pFileName) (TEXT("C:\\Program Files (x86)\\LEAD Technologies\\LEADTOOLS 19\\Media\\")TEXT(pFileName))
void SavePlayerSettingsToFile(IltmmPlay *pPlay)
{
// try to save the play settings to a file
HRESULT hr = pPlay->SaveSettingsToFile(MAKE_MEDIA_PATH("Test.lmm"), ltmmPlay_Settings_All);
if (FAILED(hr))
{
MessageBox(NULL, TEXT("Error saving play settings to file"), TEXT("Save Play Settings"), MB_OK);
}
}
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