[ros-diffs] [greatlrd] 19941: Bugfix EnumDisplayDevicesA when it convert the struct DISPLAY_DEVICE to unicode it use ansi side of it. and that why it did fail.

greatlrd at svn.reactos.com greatlrd at svn.reactos.com
Tue Dec 6 23:53:52 CET 2005


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051206/9fb66dcb/attachment.html


More information about the Ros-diffs mailing list