IDvbFrequencyListDescriptor::GetRecordCentreFrequency

 
Microsoft DirectShow 9.0

IDvbFrequencyListDescriptor::GetRecordCentreFrequency

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(
  BYTE  bRecordIndex,
  DWORD*  pdwVal
);

Parameters

bRecordIndex

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

pdwVal

[out]  Receives the centre_frequency field.

Return Values

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

Header: Include dvbsiparser.h.

See Also