ltmmCaptureCtrl.TargetArray Property

Visual Basic Example

Syntax

object.TargetArray As Variant

Remarks

Gets or sets the media target array.

This property allows the user to set the output of the capturing process to an array. The array must have one dimension and byte elements.

The user is responsible for allocating, initializing, and freeing the array. However, the user should not free the array while the capture control holds a reference to it. The array will be resized, as needed, by the capture control.

The ResetTarget method should be called to stop the capture control from accessing the array. The TargetType will be set to ltmmCapture_Target_Array.

Assignment could raise an error exception. For more information, refer to the Error Codes.

See Also

Elements:

ltmmCaptureCtrl.TargetType Property, ltmmCaptureCtrl.ResetTarget Method

Topics:

Multimedia Properties, Methods and Events