Partager via


IDvdInfo2::GetDefaultSubpictureLanguage

 
Microsoft DirectShow 9.0

IDvdInfo2::GetDefaultSubpictureLanguage

The GetDefaultSubpictureLanguage method retrieves the default subpicture language.

Syntax

  HRESULT GetDefaultSubpictureLanguage(
  LCID *pLanguage,
  DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension
);

Parameters

pLanguage

[out] Pointer to an LCID that 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 Values

Returns one of the following HRESULT values.

Return code Description
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

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also