   Enumeration
  I'm working on enumerating the d3d device and I want to get a list of the available backbuffer formats given a mode, adapter, device type, and display format. I tried figuring out where this information is stored by looking through the caps viewer. The information I'm interested in is under 'DirectX Graphics Adapters->NVIDIA GeForce 4... (adapter name)->D3D Device Type->HAL->Adapter Formats-> D3DFMT_X8... (some format)->Back Buffer Formats'. I just can't seem to find where this information is stored and I have to prepare for a meeting now. Any help is appreciated.   
  I think I found a way to do it. If I just loop through all the possible backbuffer formats and call CheckDeviceFormat on them I should be able to tell if the format can be used.   ;  I implemented it and it works. However, I cannot distinguish between fullscreen and windowed.   