Bugfix EnumDisplayDevicesA when it convert the struct DISPLAY_DEVICE to unicode it use ansi side of it. and that why it did fail.

svn path=/trunk/; revision=19941
This commit is contained in:
Magnus Olsen 2005-12-06 22:53:48 +00:00
parent 0ab577bd85
commit 27be3504ff

View file

@ -61,7 +61,7 @@ EnumDisplayDevicesA(
return FALSE; return FALSE;
} }
DisplayDeviceW.cb = lpDisplayDevice->cb; DisplayDeviceW.cb = sizeof(DISPLAY_DEVICEW);
rc = NtUserEnumDisplayDevices ( rc = NtUserEnumDisplayDevices (
&Device, &Device,
iDevNum, iDevNum,