Original Post
Ok. I''m trying to write functions to get lists of available
screen sizes and viable refresh rates. I have decided for now that I will stick to _A8R8B8G8 format since the app will definitely be making use of alpha blending.
First I am Enumerating my devices (only one device in my case).
Then I make a call to GetAdapterModeCount to get a list of all
possible modes. I am assuming that this list contains every combination of size x refresh rate allowed be the card?
Now the confusing part. I know how many modes there are so I call EnumAdapterModes. I pass it in my adapter number (0 here),
the format I am interested in (D3DFMT_A8R8G8B8),a number for the adapter mode generated by
for(int i=0; i