ltmmPlayCtrl.SourceArray Property

Visual Basic example

Syntax

object.SourceArray As Variant

Remarks

Gets or sets the reference to the media source array.

This property allows the user to store a complete media file in an array and use it as the source for the playback. The array should have one dimension and should contain byte elements. The user is responsible for allocating, initializing, and freeing the array. However, the user should not free the array while the play control holds a reference to it. The ResetSource method should be called to stop the play control from accessing the array. The SourceType will be set to ltmmPlay_Source_Array. For more information about the ltmmPlay_Source constants, refer to ltmmPlay_Source Constants.

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

Platforms

Win32, x64, Mobile

See Also

Elements:

ltmmPlayCtrl.SourceType Property, ltmmPlayCtrl.ResetSource Method

Topics:

ltmmPlayCtrl Object