3 Mar
2005
3 Mar
'05
6:41 a.m.
Paul Vriens <Paul.Vriens(a)xs4all.nl> writes:
if (rc != 0 && (GetLastError()==0xdeadbeef)) { /* API did not change the last error to 0 */ what_do_we_do_here? }
if (rc != 0 && (GetLastError()==0)) { /* API changed the last error to 0 */ do_nothing! }
You should not check last error on success, it's meaningless except in a few very specific cases. -- Alexandre Julliard julliard(a)winehq.org