Platform SDK: Broadcast Architecture

BPCDeviceBase.ChannelAvailable

The ChannelAvailable method returns a value indicating whether the channel specified for a device has a valid signal. Visual Basic syntax is shown.

[ bSignalPresent = ] object.ChannelAvailable(nChannel, SignalStrength)

Parts

object
Object expression that resolves to a BPCDeviceBase object.
bSignalPresent
Boolean that receives True if the specified channel has a valid signal and False if it does not.
nChannel
Long that specifies the channel number.
SignalStrength
Long that receives the signal strength. The units of measurement for and valid value of the signal strength depend on the type of device. The values for an analog television tuner are defined in the DirectShow SDK.

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

BPCDeviceBase, BPCDeviceBase.Channel, BPCDeviceBase.MinMaxChannel