IltmmPlay::CanSaveObjectSettings Example for C

// Having an IltmmPlay Interface, pPlay:

L_MULTIMEDIATEX_API void IltmmPlay_CanSaveObjectSettings_Example (IltmmPlay* pPlay)
{
   VARIANT_BOOL bSave;

   // check if we can save the processors settings 
   IltmmPlay_CanSaveObjectSettings(pPlay, ltmmPlay_Settings_Processors, &bSave);

   if( bSave == VARIANT_TRUE )
   {
      /* call ltmmPlay_SaveSettingsToStream or ltmmPlay_SaveSettingsToFile */
   }
}