[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 30 Oct 2010 16:34:52 +0000 (16:34 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 30 Oct 2010 16:34:52 +0000 (16:34 +0000)
commita4b48e3576981e2d7f810ebb77f284bd4ff646e5
tree1937619efef1a3b7584532ed069270a8efad331a
parent951c6f7fa315e2e3fd5c995a43258635874a11bb
[WIN32K]
Fix a bug in InitVideo: when looping through the adapters, reinitialize the cbValue before querying the registry.
Also handle failure.

svn path=/trunk/; revision=49360
reactos/subsystems/win32/win32k/ntuser/display.c