开发者

EnumDisplaySettings reports wrong values on Win7 with Nvidia cards

开发者 https://www.devze.com 2022-12-14 03:29 出处:网络
I\'ve been encountering 开发者_运维百科a problem when trying to query all available resolutions on some nvidia cards under

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

精彩评论

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