Share via


IDvbTeletextDescriptor::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) teletext descriptor.

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 IDvbTeletextDescriptor::GetCountOfRecords.

[out] pulVal

Pointer to a 24-bit 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

IDvbTeletextDescriptor

IDvbTeletextDescriptor::GetCountOfRecords