ltmmCaptureCtrl.CopyTarget Method

Visual Basic Example

Syntax

object.CopyTarget(FileName As String, AllowEscAbort As Boolean)

Remarks

Copies the valid media data from the target to the specified file.

The new file will contain only valid data and therefore can be much shorter than the target. Typically, you will always capture to the same huge preallocated target and use this method to copy the data you want to save from each capture to a new file.

If the method fails, an error is raised. For more information, refer to the Error Codes.

Platforms

Win32, x64

See Also

Elements:

ltmmCaptureCtrl.AllocTarget Method

Topics:

Multimedia Properties, Methods and Events