Microsoft DirectX 9.0

MSVidWebDVDAdm.DefaultAudioLCID Property

This topic applies to Windows XP Service Pack 1 only.

The DefaultAudioLCID property sets or retrieves the registry setting for the user-specified default LCID for the audio stream.


VidWebDVDAdm.DefaultAudioLCID As Long


This property takes no parameters.

Return Values

Returns a Long value representing the user-specified default audio LCID as stored in the registry settings for the DVD application. This value is not necessarily the same as the default audio stream as authored on the DVD. For the range of valid LCIDs, see the Microsoft® 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.


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


' Setting the property.
oVidWebDVDAdm.DefaultAudioLCID = lDefAudioLCID
' Returning the property.
lDefAudioLCID = oVidWebDVDAdm.DefaultAudioLCID

See Also