Share via


IDvbFrequencyListDescriptor::GetRecordCentreFrequency 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.]

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The GetRecordCentreFrequency method returns the frequency at a specified index in the frequency list.

Syntax

HRESULT GetRecordCentreFrequency(
  [in]  BYTE  bRecordIndex,
  [out] DWORD *pdwVal
);

Parameters

[in] bRecordIndex

Zero-based index of the frequency to return. To get the number of frequencies in the descriptor, call IDvbFrequencyListDescriptor::GetCountOfRecords.

[out] pdwVal

Receives the centre_frequency field.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Target Platform Windows
Header dvbsiparser.h

See also

IDvbFrequencyListDescriptor Interface