MSVidWebDVD.DefaultAudioLanguage Property
Note This topic applies to Windows XP Service Pack 1 or later.
The DefaultAudioLanguage property retrieves the default audio language.
VidWebDVD.DefaultAudioLanguage As Long
Parameters
This property takes no parameters.
Return Value
Returns a Long LCID value containing the primary language ID for the default audio language. 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
This property is read-only. To set this property, use the VidWebDVDAdm object's DefaultAudioLCID property. The default value is -1.
Examples
' Returning the property.
lLanguage = VidWebDVD.DefaultAudioLanguage
Requirements
Type Library | Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library. |
DLL | Requires Quartz.dll. |
See Also
Audio Streams: Controlling Spoken Language
DefaultAudioLanguageExt
MSVidWebDVD Object
Send comments about this topic to Microsoft
Build date: 12/4/2008