# DirectX9 Enumeration

## Recommended Posts

mengha    130
When I use to use DirectX7 from Visual Basic I used to be able to check for features using the enumeration (caps?). I know you can do this from DirectX9 But I haven't found a very good tutorial on it and can't find one in the articles section. Anyone have a good link? Thanks alot.

##### Share on other sites
Syranide    375
Try MSDN, can't remember the function right now, but there is the same here, a single function call gives you what you need.

##### Share on other sites
Illco    928
The following functions will prove useful to you:
IDirect3D9::EnumAdapterModesIDirect3D9::CheckDeviceTypeIDirect3D9::GetDeviceCapsIDirect3D9::CheckDeviceFormat

Greetz,

Illco

##### Share on other sites
Samurai Jack    455
You do not have to enumarate neccesary!

You can take the DEFAULT/PRIMARY directx adapter. Even if a system has two or more graphic cards, one is allways SYSTEM DEFAULT.

This kind of graphic enumeriation comes handy when someone want's to select a non-default graphic card or monitor (which is not very often).