Platform SDK: Broadcast Architecture

BPCVid.Devices

The Devices property returns a BPCDevices collection of the devices available for use by the Video control. This property is read-only. Visual Basic syntax is shown.

[ oDevices = ] object.Devices

Parts

object
Object expression that resolves to a BPCVid object.
oDevices
Object expression that resolves to a BPCDevices object listing the available devices.

Remarks

Your application cannot create an instance of a BPCDevices object directly. Instead, your application should obtain the BPCDevices collection by using BPCVid.Devices.

In the current version of Broadcast Architecture, analog television tuner cards are the only supported devices. Thus, only these cards are listed in the BPCDevices collection. Future versions will support output devices and other input devices, such as devices that play a stored multimedia file.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.

See Also

BPCDevices, BPCVid, BPCVid.DeviceCount

Example

The following example retrieves the collection of available devices and stores it in the object variable devices.

' Declare an object variable to receive the collection.
Dim devices As BPCDevices
 
' Obtain the collection from the Video control.
Set devices = vid.Devices