|
老九,有个C函数,我不太会用,你这么熟悉C语言,你应该能玩懂它吧,不知道这个函数你是否了解过,下面是相关内容地址,最近出差多,时间少,一直没时间搞个VC环境,你先看看。
VideoPortDDCMonitorHelper Function
The VideoPortDDCMonitorHelper function queries a monitor for EDID information using the DDC protocol.
Syntax
BOOLEAN VideoPortDDCMonitorHelper(
__in PVOID HwDeviceExtension,
__in PVOID DDCControl,
__inout PUCHAR EdidBuffer,
__in ULONG EdidBufferSize
);
Version
Available in Windows 2000 and later versions of the Windows operating systems.
Header
Video.h (include Video.h)
Library
Contained in Videoprt.sys. Link to Videoprt.lib.
IRQL
PASSIVE_LEVEL
我看了一下,WINPE系统下也有Videoprt.sys文件,是系统内建文件,函数主要功能是获取EDID信息,关键是那2个参数
__in PVOID HwDeviceExtension,
__in PVOID DDCControl,
不知道怎么搞,不熟悉C,真麻烦
具体地址:http://msdn.microsoft.com/en-us/library/ff570290.aspx |
|