Microsoft DirectX 9.0

MSVidWebDVD.AudioLanguage Property

This topic applies to Windows XP Service Pack 1 only.

The AudioLanguage property retrieves a string indicating the language of the specified audio stream.


  lStream As Long,
  fFormat As Boolean
)as String 



Long indicating the stream, from 0 through 7.


Flag, True indicating sound format details included in return value. Currently not implemented.

Return Values

Returns a human-readable string identifying the language of the audio stream in the current title.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
E_NO_IDVD2_PRESENT Unspecified internal error.
E_NO_DVD_VOLUME No DVD available.
E_REGION_CHANGE_FAIL The DVD has the wrong region code for this machine.


This property is read-only. This method is zero-based, unlike AudioStreamsAvailable, so be careful to subtract one from the return value of AudioStreamsAvailable when iterating through all streams.


' Returning the property.
bstrAudioLang = VidWebDVD.AudioLanguage(lStream, fFormat)

See Also