BPCDeviceBase.MinMaxChannel

[This is preliminary documentation and subject to change.]

The MinMaxChannel method returns the lowest and highest channel numbers supported by the device.

Syntax

object.MinMaxChannel( lChannelMin, lChannelMax )
 

Parameters

object
Object expression that resolves to a BPCDeviceBase object.
lChannelMin
Long that receives the lowest channel number the device supports.
lChannelMax
Long that receives the highest channel number the device supports.

Remarks

For version 1.0 of Broadcast Architecture, this method only supports television tuners. If you call MinMaxChannel on another type of device, such as a satellite tuner card, the version 1.0 implementation of this method causes an error.

The minimum and maximum channels returned by this method are the same as the values returned by the IAMTVTuner::ChannelsMinMax method of DirectShow. For more information about this method, see Further Information on Streaming Video Services for the Client.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.
  Unicode: Yes.

See Also

BPCVid.MinMaxChannel, BPCDeviceBase.ChannelAvailable

Examples

The following example retrieves the minimum and maximum channel supported by the device identified by the tuning space identifier 3. These values are stored in the variables min and max.

Dim min As Long
Dim max As Long
vid.MinMaxChannel 3, min, max