I don't know how easy it is but it is definitely possible. Just check the glCapsViewer that is developed by PGD Member Sascha Willems
https://www.saschawillems.de/?page_id=771
As you can see on the web page this tools was first developed in Delphi but Sascha decided to move to using of C++ instead.
Any way I think he could provide you with best information on how to retrieve this information. Now since lately he isn't visiting PGD so frequently I recommend you get in contact with him though his web page instead.
Also if you haven't already I strongly recommend you check his awesome game Projekt "W"
https://www.saschawillems.de/?page_id=829
Bookmarks