Share via


MSVidWebDVDAdm.DefaultMenuLCID Property

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

The DefaultMenuLCID property sets or retrieves the registry setting for the user-specified default LCID for menus.

VidWebDVDAdm.DefaultMenuLCID As Long

Parameters

This property takes no parameters.

Return Value

Returns a Long value representing the LCID as stored in the registry settings for the DVD application. This value is not necessarily the same as the default menu language as authored on the DVD. For the range of valid LCIDs, see the Win32 documentation in the Platform SDK.

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 Invalid LCID entered.

Remarks

This property is read/write with no default value. If no default menu LCID is specified, the MSVidWebDVDAdm object will use the language that is marked as the default menu language on the disc.

Examples

' Setting the property.
oVidWebDVDAdm.DefaultMenuLCID = lDefMenu
' Returning the property.
lDefMenu = oVidWebDVDAdm.DefaultMenuLCID

Requirements

Type Library Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.
DLL Requires Quartz.dll.

See Also

MSVidWebDVDAdm Object

Send comments about this topic to Microsoft

Build date: 12/4/2008