ltmmPlayCtrl.SourceObject Property

Visual Basic example

Syntax

object.SourceObject As Object

Remarks

Gets or sets the reference to the media source object.

This property allows the user to assign a COM object as the media source for the playback. The object may be the ltmmSampleSource object or any other DirectShow source filter. The ResetSource method should be called to stop the play control from accessing the object. The SourceType will be set to ltmmPlay_Source_Object. For more information on 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