Commit 67c26f4e authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

kernel32/tests: GetLongPathNameW is not implemented on win98.

parent c1f65018
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment