开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜