ltmmCaptureCtrl.CanSaveObjectSettings Method
Remarks
Determines whether the specified settings can be saved.
The capture object's settings can be saved to a stream by calling ltmmCaptureCtrl.SaveSettingsToStream. The capture object's settings can be saved to a file by calling ltmmCaptureCtrl.SaveSettingsToFile.
Settings saved to a file can be loaded using ltmmCaptureCtrl.LoadSettingsFromFile. Settings saved to a stream can be loaded using ltmmCaptureCtrl.LoadSettingsFromStream.
It may be helpful to call ltmmCaptureCtrl.CanSaveObjectSettings before calling either ltmmCaptureCtrl.SaveSettingsToFile or ltmmCaptureCtrl.SaveSettingsToStream, to make sure the settings you want to save can be saved. If either ltmmCaptureCtrl.SaveSettingsToFile or ltmmCaptureCtrl.SaveSettingsToStream is called for settings that cannot be saved, the save function will fail.
Multiple settings can be combined in the Flags parameter using the OR operator. However, please note that if settings are combined in the Flags parameter, all those settings must be capable of being saved in order for the CanSaveObjectSettings method to return TRUE. If even one of those settings cannot be saved, then CanSaveObjectSettings will return FALSE.
See Also
Elements: |
ltmmCaptureCtrl.SaveSettingsToFile method, ltmmCaptureCtrl.LoadSettingsFromFile method, ltmmCaptureCtrl.LoadSettingsFromStream method, ltmmCaptureCtrl.SaveSettingsToStream method |
Topics: |