ltmmPlayCtrl.SourceHGlobal Property

Visual Basic example

Syntax

object.SourceHGlobal As Long

Remarks

Gets or sets the handle to the global memory media source.

This property allows the user to store a complete media file in global memory and use it as the source for the playback. The user is responsible for allocating, initializing, and freeing the global memory. However, the user should not free the global memory handle while the play control holds a reference to it. The ResetSource method should be called to stop the play control from accessing the global memory. The SourceType will be set to ltmmPlay_Source_HGlobal. 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