forked from Mirrors/wine-wine
kernel32/tests: GetLongPathNameW is not implemented on win98.
parent
c1f6501808
commit
67c26f4ec3
|
@ -941,6 +941,11 @@ static void test_GetLongPathNameW(void)
|
||||||
{
|
{
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
length = pGetLongPathNameW(NULL,NULL,0);
|
length = pGetLongPathNameW(NULL,NULL,0);
|
||||||
|
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
|
||||||
|
{
|
||||||
|
skip("GetLongPathNameW is not implemented\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
ok(0==length,"GetLongPathNameW returned %d but expected 0\n",length);
|
ok(0==length,"GetLongPathNameW returned %d but expected 0\n",length);
|
||||||
ok(GetLastError()==ERROR_INVALID_PARAMETER,"GetLastError returned %d but expected ERROR_INVALID_PARAMETER\n",GetLastError());
|
ok(GetLastError()==ERROR_INVALID_PARAMETER,"GetLastError returned %d but expected ERROR_INVALID_PARAMETER\n",GetLastError());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue