IltmmConvert::CanSaveObjectSettings Example for C

// Having an IltmmConvert Interface, pConv:

L_MULTIMEDIATEX_API void IltmmConvert_CanSaveObjectSettings_Example (IltmmConvert* pConvert)
{
   VARIANT_BOOL bSave;

   // check if we can save the processors settings 
   IltmmConvert_CanSaveObjectSettings(pConvert, ltmmConvert_Settings_Processors, &bSave);

   if( bSave == VARIANT_TRUE )
   {
	   /* call ltmmConvert_SaveSettingsToStream or ltmmConvert_SaveSettingsToFile */
   }
}