IltmmPlay::LoadSettingsfromFile Example for C++

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help