IChannelTuneRequest::put_Channel

 
Microsoft DirectShow 9.0

IChannelTuneRequest::put_Channel

The put_Channel method sets the channel to be tuned.

Syntax

  HRESULT put_Channel(
  long  Channel
);

Parameters

Channel

[in] Variable of type long that specifies the channel.

Return Values

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

Header: Dshow.h.

Library: Quartz.dll.

See Also