IDvdInfo2::GetDefaultSubpictureLanguage method

The GetDefaultSubpictureLanguage method retrieves the default subpicture language.

Syntax


HRESULT GetDefaultSubpictureLanguage(
  [out] LCID                    *pLanguage,
  [out] DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension
);

Parameters

pLanguage [out]

Receives the language information.

pSubpictureExtension [out]

Pointer to a variable of type DVD_SUBPICTURE_LANG_EXT that receives one of the allowable values indicating the default 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: