IDvbSubtitlingDescriptor::GetRecordLangId method (dvbsiparser.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Gets the three-character ISO 639 language code from a Digital Video Broadcast (DVB) subtitling descriptor. This code identifies the language used for subtitles.

Syntax

HRESULT GetRecordLangId(
  [in]  BYTE  bRecordIndex,
  [out] ULONG *pulVal
);

Parameters

[in] bRecordIndex

Zero-based index of the descriptor to return. To get the number of descriptors, call IDvbSubtitlingDescriptor::GetCountOfRecords

[out] pulVal

Pointer to a buffer that receives the language code. For a list of language codes, refer to this document.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header dvbsiparser.h (include Dvbsiparser.idl)

See also

IDvbSubtitlingDescriptor

IDvbSubtitlingDescriptor::GetCountOfRecords