如何通过 VB6.0 从 EDID 文件中获取附加显示器的 NATIVE 分辨率? [英] How to fetch the NATIVE resolution of attached monitor from EDID file through VB6.0?

查看:42
本文介绍了如何通过 VB6.0 从 EDID 文件中获取附加显示器的 NATIVE 分辨率?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个 VB 应用程序,我需要知道显示器的原始分辨率而不是用户设置的分辨率(当前分辨率).所以我需要直接从显示器读取 EDID(扩展显示识别数据).

I am developing a VB application in which i need to know the native resolution of the monitor and not the one set by the user(current resolution). So i need to read the EDID (extended display identification data) directly from the monitor.

我确实尝试通过一些程序找到显示器的分辨率...但它返回的只是当前分辨率.任何直接从显示器的 EDID 读取信息的帮助都是可取的.

I did try to find the resolution of monitor through some programs...but all it returns is the current resolution. Any help to read the info directly from EDID of monitor is appriciable.

提前致谢

推荐答案

有关阅读 EDID 块的某些源代码(尽管是 C/C++),请参阅 此链接.通过 Windows Setup API<检索此信息的唯一官方方法.

For some source code (although C/C++) to read the EDID block see Point 5 at this link. The only official means to retrieve this information through Windows Setup API.

有关 EDID 格式说明的示例,请参见此处.

For an EDID format description see for example here.

这篇关于如何通过 VB6.0 从 EDID 文件中获取附加显示器的 NATIVE 分辨率?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆