Share via


MSVidWebDVD.SubpictureLanguage Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.SubpictureLanguage Property

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

The SubpictureLanguage property retrieves the language for the specified subpicture stream.

Syntax

  VidWebDVD
  .SubpictureLanguage(
  lStream As Long
) As Strong

Parameters

lStream

Long value specifying the stream of interest.

Return Values

Returns a human-readable string identifying the language of the subpicture stream in the current title.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error; possibly the graph not built.
E_INVALIDARG lStream is not 63 or 0 through 31.
VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not initialized or not in a valid domain.

Remarks

This property is read-only.

Example

' Returning the property.
strSubLang = VidWebDVD.SubpictureLanguage(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