Share via


MSVidWebDVD.IsSubpictureStreamEnabled Method

Note  This topic applies to Windows XP Service Pack 1 or later.

The IsSubpictureStreamEnabled method returns a value indicating whether the specified subpicture stream is enabled in the current title.

VidWebDVD.IsSubpictureStreamEnabled(
   lStream As Long
) As Boolean

Parameters

  • lStream
    Specifies the subpicture stream as a Long. Values include the following.

    Value Description
    0 to 31 Subpicture stream
    63 Muted low bit-rate stream

     

Return Value

Returns a Boolean value indicating whether the specified subpicture stream is available in the current title. True means it is available.

Error Codes

If the property fails, Err.Number may be set to one of the following values.

Value Description
E_UNEXPECTED Unspecified error.
E_INVALIDARG lStream is outside the allowed values.

 

Remarks

Although a disc can contain up to 32 subpicture streams, each stream is not necessarily available for each title. Always verify that a stream is available for a title before setting the CurrentSubpictureStream property.

Examples

Boolean = VidWebDVD.IsSubpictureStreamEnabled(lStream)

Requirements

Type Library

MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library

DLL

Quartz.dll

See Also

MSVidWebDVD Object

Subpicture Streams: Controlling Subtitles

 

 

Send comments about this topic to Microsoft

Build date: 7/6/2010