[VBE] Check if DDC is supported before trying to read EDID
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 29 May 2021 19:37:03 +0000 (21:37 +0200)
committerHervé Poussineau <hpoussin@reactos.org>
Sat, 5 Jun 2021 21:38:05 +0000 (23:38 +0200)
commit08e9000496e4630b8f6c848df03aebfd4d74c547
tree90703cef0e696bf4cc6b5cfb529e9f087dbb77ed
parentfa547041582fb13eed1804b2d44c49a99974e218
[VBE] Check if DDC is supported before trying to read EDID

Also set Edx to 0 when reading Edid, as per specification.

CORE-16695
win32ss/drivers/miniport/vbe/edid.c
win32ss/drivers/videoprt/videoprt.c