Hi Everyone

I want to write a program that allows the user to change the video resolution, but only giving them the resolution options that the graphics card supports.

I have a program that can change the resolution but do not know how to find out the graphics card capabilities.

Thanks