"Paul Vriens" Paul.Vriens@xs4all.nl wrote:
as discussed a few times on wine-devel, there isa need to clear the last error before calling a SPI_{GET|SET} routine.
It appears that not every call resets the last error to 0 on succession and thus errors will propagate and leave us in the dark.
You have to set last error to some bogus value (usually 0xdeadbeef) in order to test whether an API really has changed it.