IltmmCapture::CanSaveObjectSettings Example for C

void IltmmCapture_CanSaveObjectSettings_Example (IltmmCapture* pCapture)
{
   VARIANT_BOOL bSave;

   // check if we can save the processor's settings
   IltmmCapture_CanSaveObjectSettings (pCapture, ltmmCapture_Settings_Processors, &bSave);
 
   if( bSave == VARIANT_TRUE )
   {
      /* call ltmmCapture_SaveSettingsToStream or ltmmCapture_SaveSettingsToFile*/
   } 
}