ListBox: Call SetLastError on Errors

Robert Shearman rob at codeweavers.com
Mon Jul 11 18:00:04 CDT 2005


Hi,

Windows has an undocumented feature where the user32 controls call 
SetLastError on errors, which allows developers to better discover the 
source of the error. This patch adds the errors for all of the cases 
where we currently do the correct thing on invalid data. I don't know of 
any program that depends on this.

Changelog:
Call SetLastError on errors.

-- 
Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: listbox_error.diff
Type: text/x-patch
Size: 3813 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050711/c09e9745/listbox_error.bin


More information about the wine-patches mailing list