次の方法で共有


IChannelTuneRequest::put_Channel 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 put_Channel method sets the channel to be tuned.

Syntax

HRESULT put_Channel(
  [in] long Channel
);

Parameters

[in] Channel

Variable of type long that specifies the channel.

Return value

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

Remarks

If the value specified for Channel is less than the minimum channel set for the tuning space, it will "wrap around" to the maximum channel value. Likewise, if the value specified for Channel is greater than the maximum channel set for the tuning space, it will "wrap around" to the minimum channel value.

Requirements

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

See also

IChannelTuneRequest Interface