Share via


IAMTuner::get_Channel (Compact 2013)

3/26/2014

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 Value

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

Requirements

Header

dshow.h,
strmif.h

Library

Strmiids.lib

See Also

Reference

IAMTuner Interface