Share via


IChannelTuneRequest::put_Channel Method

The put_Channel method sets the channel to be tuned.

Syntax

HRESULT put_Channel(
  [in]  long Channel
);

Parameters

  • Channel [in]
    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

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IChannelTuneRequest Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008