Microsoft DirectX 8.1 (C++)

IAMTuner::get_Channel

The get_Channel method retrieves the TV channel that the tuner is set to.

Syntax

HRESULT get_Channel (
  long *plChannel,
  long *plVideoSubChannel,
  long *plAudioSubChannel
);

Parameters

plChannel

[out] Pointer to a variable that receives the channel. For frequencies, see International Analog TV Tuning

plVideoSubChannel

[out] Pointer to a variable that receives a predefined video subchannel value. Specify AMTUNER_SUBCHAN_NO_TUNE for no tuning or AMTUNER_SUBCHAN_DEFAULT for default subchannel.

plAudioSubChannel

[out] Pointer to a variable that receives a predefined audio subchannel value. Specify AMTUNER_SUBCHAN_NO_TUNE for no tuning or AMTUNER_SUBCHAN_DEFAULT for default subchannel.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

See Also