Bugfix EnumDisplayDevicesA when it convert the struct DISPLAY_DEVICE to
unicode it use ansi side of it. and that why it did fail.
Modified: trunk/reactos/lib/user32/misc/display.c
_____
Modified: trunk/reactos/lib/user32/misc/display.c
--- trunk/reactos/lib/user32/misc/display.c 2005-12-06 20:18:59 UTC
(rev 19940)
+++ trunk/reactos/lib/user32/misc/display.c 2005-12-06 22:53:48 UTC
(rev 19941)
@@ -61,7 +61,7 @@
return FALSE;
}
- DisplayDeviceW.cb = lpDisplayDevice->cb;
+ DisplayDeviceW.cb = sizeof(DISPLAY_DEVICEW);
rc = NtUserEnumDisplayDevices (
&Device,
iDevNum,
Show replies by date