BOOL CanSavePlaySettings(IltmmPlay *pPlay) { VARIANT_BOOL bSave; // check if we can save the processors settings pPlay->CanSaveObjectSettings(ltmmPlay_Settings_Processors, &bSave); if (bSave == VARIANT_TRUE) { // call SaveSettingsToStream or SaveSettingsToFile } return (bSave == VARIANT_TRUE); }