存取 BDA 微調器節點的頻率屬性
網路提供者會使用 設定 KSPROPSETID_BdaFrequencyFilter 屬性來控制 BDA 篩選拓撲中的 RF 微調器節點。 例如,網路提供者會使用這個屬性集來通知微調 RF 訊號的微調節點。
在下列程式碼片段中,BDA 迷你驅動程式中微調器節點的控制針腳會攔截,並提供KSPROPSETID_BdaFrequencyFilter屬性集屬性的方法。 請注意,某些KSPROPSETID_BdaFrequencyFilter屬性僅適用于特定類型的微調程式。
//
// BDA RF Tune Frequency Filter
//
// Defines the dispatch routines for the Properties
// on the RF Tuner Node
//
DEFINE_KSPROPERTY_TABLE(RFNodeFrequencyProperties)
{
DEFINE_KSPROPERTY_ITEM_BDA_RF_TUNER_FREQUENCY(
CAntennaPin::GetCenterFrequency,
CAntennaPin::PutCenterFrequency
),
DEFINE_KSPROPERTY_ITEM_BDA_RF_TUNER_FREQUENCY_MULTIPLIER(
NULL,
CAntennaPin::PutFrequencyMultiplier // If this set handler
// is not called, the minidriver must determine that the
// frequency is in kHz. That is, the default multiplier is
// 1000 (1Hz x 1000).
),
#ifdef SATELLITE_TUNER // Only applicable to satellite tuners.
DEFINE_KSPROPERTY_ITEM_BDA_RF_TUNER_POLARITY(
NULL, NULL
),
DEFINE_KSPROPERTY_ITEM_BDA_RF_TUNER_RANGE(
NULL, NULL
),
#endif // SATELLITE_TUNER
#ifdef CHANNEL_BASED_TUNER // Only applicable to channel-based tuners.
DEFINE_KSPROPERTY_ITEM_BDA_RF_TUNER_TRANSPONDER(
NULL, NULL
),
#endif // CHANNEL_BASED_TUNER
#ifdef DVBT_TUNER // Only applicable to tuners that tune Digital Video Broadcast (DVB) signals.
DEFINE_KSPROPERTY_ITEM_BDA_RF_TUNER_BANDWIDTH(
NULL, NULL
),
#endif // DVBT_TUNER
};