IltmmPlay::LoadSettingsfromFile Example for C++

#define MAKE_MEDIA_PATH(pFileName) (TEXT("C:\\Program Files (x86)\\LEAD Technologies\\LEADTOOLS 19\\Media\\")TEXT(pFileName)) 
void LoadPlayerSettingsfromFile(IltmmPlay *pPlay) 
{ 
   // try to load the player settings from a file 
   HRESULT hr = pPlay->LoadSettingsFromFile(MAKE_MEDIA_PATH("Settings.lmm"), ltmmPlay_Settings_All); 
   if (FAILED(hr)) 
   { 
      MessageBox(NULL, TEXT("Error loading player settings from file"), TEXT("Load Play Settings"), MB_OK); 
   } 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Multimedia C API Help