[This is preliminary documentation and subject to change.]
The VBITune method tunes the television tuner to the channel and tuning space which is broadcasting the VBI data.
object.VBITune(lPriority, lTuningSpace, lChannel, lVideoSubchannel, lAudioSubchannel)
If you do not know the subchannel value, set this parameter to AMTUNER_SUBCHAN_DEFAULT. This flag is declared in the file Axextend.idl. To locate more information on Axextend.idl, see Further Information on Streaming Video Services for the Client.
If you do not know the subchannel value, set this parameter to AMTUNER_SUBCHAN_DEFAULT.
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.
BPCVBIControl.VBIStatus, Tuning to Receive VBI Data
The following example causes the television tuner to receive VBI data over broadcast channel 27. When the data transmission is complete, the BPCVBIControl object is set to Nothing. This causes the tuner to receive VBI data using the default VBI channel, if any, defined in the registry.
Dim vbictrl As BPCVBIControl
Set vbictrl = New BPCVBIControl
'Set the tuner to receive VBI data on channel 27
vbictrl.VBITune 0, 2, 27, AMTUNER_SUBCHAN_DEFAULT, _
AMTUNER_SUBCHAN_DEFAULT
'... Code to receive and process the VBI data
'Release the tuner to receive VBI data using the default channel
'specified in the system registry.
Set vbictrl = Nothing