[user/tests/sysparams.c] Added more SetLastError(0)'s

Dmitry Timoshkov dmitry at baikal.ru
Thu Mar 3 01:24:13 CST 2005

"Paul Vriens" <Paul.Vriens at 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.


More information about the wine-devel mailing list