Bagikan melalui


MSVidWebDVD.DVDTextNumberOfLanguages Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.DVDTextNumberOfLanguages Property

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

The DVDTextNumberOfLanguages property retrieves the number of text languages available on the list.

Syntax

  VidWebDVD
  .DVDTextNumberOfLanguages As Long

Parameters

This property takes no parameters.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
VFW_E_DVD_INVALIDDOMAIN You attempted to take the value in a domain that does not support this property.

Return Values

Returns a Long value indicating the number of text languages on the disc.

Remarks

This property is read-only.

Example

' Returning the property.
lNumLangs = VidWebDVD.DVDTextNumberOfLanguages

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