[This is preliminary documentation and subject to change.]
The TSDeviceCount method returns the number of devices that support a specified tuning space.
[ lCount = ] object.TSDeviceCount(lTuningSpace)
For example, the identifier 2 can represent the "Analog Broadcast TV from Antenna" tuning space.
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.
In the following example, 3 is the identifier for the "Analog Cable TV" tuning space and vid
is an instance of the Video control. The call to TSDeviceCount method counts the number of devices that support the analog cable tuning space, such as an ATI All-in-Wonder tuner card. The number of devices is then stored in the variable numDevices
.
Dim numDevices As Long
numDevices = vid.TSDeviceCount(3)
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.