[1/3] user32/tests: Add GetUserObjectInformation tests
Owen Rudge
orudge at codeweavers.com
Mon May 14 04:47:36 CDT 2012
There appears to be a bug in the GetUserObjectInformationA function on
Windows that results in an incorrect buffer length being returned when
the buffer size provided by the caller is insufficient. The 'A' function
returns the Unicode length instead of the ANSI length. These patches
modify Wine's behaviour to provide that incorrect behaviour. They also
fix an issue whereby the wrong error code is set when the buffer is too
short.
---
dlls/user32/tests/winstation.c | 105
++++++++++++++++++++++++++++++++++++++++
1 file changed, 105 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-tests-Add-GetUserObjectInformation-tests.patch
Type: text/x-patch
Size: 5009 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120514/6083f2a4/attachment.bin>
More information about the wine-patches
mailing list