Share via


IDigitalCableTuneRequest::get_MajorChannel 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_MajorChannel method retrieves the major channel number.

Syntax

HRESULT get_MajorChannel(
  [out] long *pMajorChannel
);

Parameters

[out] pMajorChannel

Receives the major channel number. If the value received is BDA_UNDEFINED_CHANNEL, the major channel number is not used.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

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

See also

IDigitalCableTuneRequest Interface