Microsoft DirectX 9.0 |
The put_Channel method sets the TV channel.
Syntax
HRESULT put_Channel(
long lChannel,
long lVideoSubChannel,
long lAudioSubChannel
);
Parameters
lChannel
[in] TV channel number.
lVideoSubChannel
Predefined video subchannel value. Specify AMTUNER_SUBCHAN_NO_TUNE for no tuning or AMTUNER_SUBCHAN_DEFAULT for default subchannel. Meaningful only for satellite broadcasts.
lAudioSubChannel
Predefined audio subchannel value. Specify AMTUNER_SUBCHAN_NO_TUNE for no tuning or AMTUNER_SUBCHAN_DEFAULT for default subchannel. Meaningful only for satellite broadcasts.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
Remarks
This method handles the channel-to-frequency function call that converts the TV channel to a TV frequency. For a list of frequencies for channels, see International Analog TV Tuning.
See Also