kernel32/tests: GetLongPathNameW is not implemented on win98.

This commit is contained in:
Paul Vriens 2007-04-25 13:21:19 +02:00 committed by Alexandre Julliard
parent c1f6501808
commit 67c26f4ec3
1 changed files with 5 additions and 0 deletions

View File

@ -941,6 +941,11 @@ static void test_GetLongPathNameW(void)
{
SetLastError(0xdeadbeef);
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(GetLastError()==ERROR_INVALID_PARAMETER,"GetLastError returned %d but expected ERROR_INVALID_PARAMETER\n",GetLastError());