Compartilhar via


MSVidWebDVD.IsSubpictureStreamEnabled Method

 
Microsoft DirectShow 9.0

MSVidWebDVD.IsSubpictureStreamEnabled Method

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.

Syntax

  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 Values

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.

Example

  Boolean = VidWebDVD.IsSubpictureStreamEnabled(lStream)

Requirements

Reference: Add a reference to MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.

Library: Quartz.dll.

See Also