Compartilhar via


IAMTuner::get_Channel

 
Microsoft DirectShow 9.0

IAMTuner::get_Channel

The get_Channel method retrieves the channel to which the tuner is set.

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 either the video subchannel, or one of the following flags:

Value Description
AMTUNER_SUBCHAN_DEFAULT Default subchannel
AMTUNER_SUBCHAN_NO_TUNE No subchannel tuning

plAudioSubChannel

[out] Pointer to a variable that receives either the audio subchannel, or one of the following flags:

Value Description
AMTUNER_SUBCHAN_DEFAULT Default subchannel
AMTUNER_SUBCHAN_NO_TUNE No subchannel tuning

Return Values

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

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also