次の方法で共有


IAnalogTVTuningSpace::get_MaxChannel method (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_MaxChannel method gets the highest channel number for this tuning space.

Syntax

HRESULT get_MaxChannel(
  [out] long *MaxChannelVal
);

Parameters

[out] MaxChannelVal

Receives the highest channel.

Return value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

For example, an NTSC tuning space connected to an antenna would return 69.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

IAnalogTVTuningSpace Interface