windowswinapiwmimonitoredid

Win32 code to get EDID in Windows XP/7


I found this page and was unable to get any useful information out of it (it searches the registry for something but never finds it and goes into an infinite loop).

As this question regarding getting the monitor serial UID ("EDID information") asks I would like the same information but from the point of view of Win32 C code (or C/C++ DDK code, or whatever) instead of Linux.


Solution

  • WMI didn't support monitor classes in Windows XP. The documented way of getting the EDID was - and still is - with the Setup API.

    Longer survey and a VC++ code sample are available here.