BPCVid.MinMaxChannel

[This is preliminary documentation and subject to change.]

The MinMaxChannel method returns the lowest and highest channel numbers supported by the device corresponding to the specified tuning space.

Syntax

object.MinMaxChannel( lTuningSpace, lChannelMin, lChannelMax )
 

Parameters

object
Object expression that resolves to a BPCVid object.
lTuningSpace
Long that specifies the tuning space identifier of the device. If this parameter is not a registered tuning space, the method causes an incorrect parameter error.
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 and specified another type of tuning space, 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 correspond to the values returned by the IAMTVTuner::ChannelsMinMax method of DirectShow. To locate more information about this method, see Further Information on Streaming Video Services for the Client.

This method is implemented in the BPCVid object as a wrapper for the equivalent restricted method in the BPCDevices object. Applications should access this method through BPCVid.

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

BPCDeviceBase.MinMaxChannel

Examples

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

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