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 codeDescription
S_OK

Success.

E_INVALIDARG

Invalid argument.

E_POINTER

The pLanguage parameter is NULL.

E_UNEXPECTED

The DVD Navigator is not initialized.

VFW_E_DVD_INVALIDDOMAIN

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

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

DVD Applications
Error and Success Codes
IDvdInfo2 Interface

 

 

Show: