Is there an easy way, or does anyone have code for retrieving all the OpenGL info to a StringList, Inifile etc. ?

Like php_info() in php