Hardware Antialiasing

Hi everyone,
Probably a stupid question, but here goes nothing.

Is there to control the level of Hardware Anitaliasing thorugh an OpenGL, or wgl command?

Most graphics cards have an anitaliasing setting on them, that users can set (0x, 2x, 4x, etc). But there’s usually an option to “Allow the application to choose”.
As an application programmer, how do I define what my App’s preference is?

Thanks in advance!

take a look at Multisample extension

look at http://oss.sgi.com/projects/ogl-sample/registry/ARB/multisample.txt and for other extension at http://oss.sgi.com/projects/ogl-sample/registry/