ltmmCaptureCtrl.SaveSettingsToFile Method

Visual Basic

Syntax

object.SaveSettingsToFile(TargetFile As String, Flags As Long)

Remarks

Saves some or all of the capture object's settings to a file..

The capture object's settings can be saved to a stream by calling ltmmCaptureCtrl.SaveSettingsToStream.

Saved settings can be loaded using the ltmmCaptureCtrl.LoadSettingsFromFile method or the ltmmCaptureCtrl.LoadSettingsFromStream method.

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 method will fail.

Platforms

Win32, x64

See Also

Elements:

ltmmCaptureCtrl.LoadSettingsFromStream method, ltmmCaptureCtrl.SaveSettingsToStream method, ltmmCaptureCtrl.LoadSettingsFromFile method

Topics:

Multimedia Properties, Methods and Events