Microsoft produced some sample code which can help you make up for lack of documentation by showing you how to obtain some basic information for yourself.
The samples along with some sample output are at: