Platform SDK: Broadcast Architecture |
The Tune method tunes the current input device for the Video control to the specified channel. Visual Basic syntax is shown.
object.Tune(lTuningSpace, lChannel, lVideoSubchannel, lAudioSubchannel)
HKLM\Software\Microsoft\TV Services\Tuning Spaces\
For example, the identifier 2 might represent the "Analog Broadcast TV from Antenna" tuning space.
You can use either BPCVid.Tune method or the BPCVid.Input.Channel property to set the channel displayed by the Video control. If your application is simply trying to tune the Video control to a particular channel and it does not matter which device provides the channel, your application can use Tune. Tune automatically sets the BPCVid.Input property to the appropriate device, as identified by the lTuningSpace parameter. However, if it is important that your application set Input to a particular device, you can use the BPCVid.Input.Channel syntax.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in vidsvr.odl.
Import Library: Included as a resource in vid.ocx.
BPCDeviceBase.AudioSubchannel, BPCDeviceBase.Channel, BPCDeviceBase.VideoSubchannel, BPCDevices, BPCVid, BPCVid.Input