i have a tv tuner card, and i want to write a program to get the
list of channels aired. how do i do that ?

is there any source code available, or can any body pls tell me how to do this.
is there any document which tells u how to get the channel information,
switch channel etc...

- dhiraj