EnumDisplaySettings reports wrong values on Win7 with Nvidia cards
I've been encountering 开发者_运维百科a problem when trying to query all available resolutions on some nvidia cards under Win7.
for(int i = 0; EnumDisplaySettings( deviceName.c_str(), i, &dm) != 0; ++i)
reports resolution which aren't available like 866 x 650. Most supported resolutions on the other hand are missing. Changing driver/monitor setup didn't help. With Vista everything is fine. [cards: FX5200, GTX295] Any ideas?
Thanks in advance!
What is deviceName? You need to get the correct combination of adapter (graphics card) and monitor if you want display settings you can actually use.
精彩评论