[This is preliminary documentation and subject to change.]
The MinMaxChannel method returns the lowest and highest channel numbers supported by the device.
object.MinMaxChannel( lChannelMin, lChannelMax )
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.
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.
BPCVid.MinMaxChannel, BPCDeviceBase.ChannelAvailable
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