[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.
object.MinMaxChannel( lTuningSpace, lChannelMin, lChannelMax )
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.
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.
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