mshtml/tests: Don't fail on unimplemented function.

This commit is contained in:
Paul Vriens 2008-07-31 19:18:35 +02:00 committed by Alexandre Julliard
parent d1bcc32bf2
commit 5e0384ab6a
1 changed files with 5 additions and 1 deletions

View File

@ -266,9 +266,13 @@ static void res_sec_url_cmp(LPCWSTR url, DWORD size, LPCWSTR file)
return; return;
} }
SetLastError(0xdeadbeef);
len = SearchPathW(NULL, file, NULL, sizeof(buf)/sizeof(WCHAR), buf, NULL); len = SearchPathW(NULL, file, NULL, sizeof(buf)/sizeof(WCHAR), buf, NULL);
if(!len) { if(!len) {
ok(0, "SearchPath failed: %u\n", GetLastError()); if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
win_skip("SearchPathW is not implemented\n");
else
ok(0, "SearchPath failed: %u\n", GetLastError());
return; return;
} }