kernel32/tests: Skip some tests on win95.

This commit is contained in:
Paul Vriens 2008-03-12 09:27:56 +01:00 committed by Alexandre Julliard
parent c885d05378
commit b0f7dcdf88

View file

@ -152,7 +152,13 @@ static void test_overlapped_buffers(void)
char buf[256];
int ret;
SetLastError(0xdeadbeef);
lstrcpyW((WCHAR *)(buf + 1), strW);
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
skip("lstrcypW is not implemented\n");
return;
}
ret = WideCharToMultiByte(CP_ACP, 0, (WCHAR *)(buf + 1), -1, buf, sizeof(buf), NULL, NULL);
ok(ret == sizeof(strA), "unexpected ret %d\n", ret);
ok(!memcmp(buf, strA, sizeof(strA)), "conversion failed: %s\n", buf);