kernel32: Add tests for lstrcmpW
Paul Vriens
paul.vriens.wine at gmail.com
Fri Apr 9 06:36:11 CDT 2010
On 04/09/2010 01:12 PM, André Hentschel wrote:
> +#define TESTMARKER(w) \
> + markerW[2] = w; \
> + ok(!lstrcmpW(markerW,nomarkerW), "expected the character 0x%x to be ignored within the string\n", w);
Hi André,
lstrcmpW is not implemented on Win95/98/Me so these tests will always
succeed.
You should probably add a lstrcmpW call at the beginning and skip when
not implemented, something like:
SetLastError(0xdeadbeef);
lstrcmpW(markerW, nomarkerW);
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("lstrcmpW is not implemented\n");
return;
}
--
Cheers,
Paul.
More information about the wine-devel
mailing list