5 Nov
2014
5 Nov
'14
8:38 a.m.
Alex Henrie <alexhenrie24(a)gmail.com> writes:
+ SetLastError(0xdeadbeef); + len = WideCharToMultiByte(CP_UTF7, 0, input, 4, output, sizeof(output) - 1, NULL, NULL); + ok(GetLastError() == 0xdeadbeef, + "i=0x%04x: expected error=0xdeadbeef, got error=0x%x\n", i, GetLastError());
Testing last error on success is not useful and should be avoided. -- Alexandre Julliard julliard(a)winehq.org