ltmmCaptureCtrl.AllocTarget Method

Visual Basic Example

Syntax

object.AllocTarget(Size As Long)

Remarks

Preallocates the target to the specified size.

This method is typically used when the target is defined as a file. For best capture results, always capture to a defragmented, preallocated capture file that is larger than the size of the capture data.

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

Platforms

Win32, x64

See Also

Elements:

ltmmCaptureCtrl.TargetFile Property

Topics:

Multimedia Properties, Methods and Events