I'm using VFW32 for capturing video from CCTV's on my cable system. Everything works fine except I have to initially go into the Video source properties dialog box to auto tune all the channels for them to display properly in the capture window and then I have to select the channel that the camera is on.

Is there any way to programmatically auto tune all the channels and then programatically select a particular channel for viewing?

In other words, I want to totally automate the channel tuning and channel selection.