Compartir a través de


MSVidWebDVD.DefaultMenuLanguage Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.DefaultMenuLanguage Property

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

The DefaultMenuLanguage property specifies and retrieves the default menu language.

Syntax

  VidWebDVD
  .DefaultMenuLanguage As Long

Parameters

This property takes no parameters.

Return Values

Returns a Long LCID value containing the primary language ID for the default menu language. The default value is -1. See Working with LCIDs for a table of some possible values and sample code showing how to extract the primary language ID from an LCID.

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.

Remarks

DefaultMenuLanguage is read/write with no default value. To set this property, use the MSVidWebDVDAdm object's DefaultMenuLCID property.

Example

' Setting the property.
VidWebDVD.DefaultMenuLanguage = lDefMenuLang
' Returning the property
lDefMenuLang = VidWebDVD.DefaultMenuLanguage

Valid Domains

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J Command Name Valid Domains
None DVD_DOMAIN_Stop

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