MSVidWebDVD.DVDTextNumberOfStrings Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.DVDTextNumberOfStrings Property

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

The DVDTextNumberOfStrings property retrieves the number of text strings available for the specified language.

Syntax

  VidWebDVD
  .DVDTextNumberOfStrings(
  lLangIndex As Long
) As Long

Parameters

lLangIndex

Long containing the language index. The value must range from zero through one less than the value returned by DVDTextNumberOfLanguages.

Return Values

When getting the value, this property returns a Long.

Value Description
E_POINTER Invalid argument.
E_UNEXPECTED An unexpected internal error occurred.

Remarks

This property is read-only.

Example

' Returning the property.
lNumStrings = VidWebDVD.DVDTextNumberOfStrings(lLangIndex)

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