IDvdInfo2::GetDefaultAudioLanguage method
The GetDefaultAudioLanguage method retrieves the default audio language.
Syntax
HRESULT GetDefaultAudioLanguage( [out] LCID *pLanguage, DVD_AUDIO_LANG_EXT *pAudioExtension );
Parameters
- pLanguage [out]
-
Receives the default language information.
- pAudioExtension
-
Pointer to a variable of type DVD_AUDIO_LANG_EXT that receives a value indicating the default DVD audio language extension.
Return value
Returns one of the following HRESULT values.
| Return code | Description |
|---|---|
|
Success. |
|
Invalid argument. |
|
The pLanguage parameter is NULL. |
|
The DVD Navigator is not initialized. |
|
DVD Navigator is not in a valid domain. |
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
See also