Commit ebb6dd9c authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

shell32/tests: Skip some tests on Win95 because of W-functions.

parent b24e378f
......@@ -853,7 +853,7 @@ static void test_SHGetPathFromIDList(void)
if(!pSHGetPathFromIDListW || !pSHGetSpecialFolderPathW)
{
skip("SHGetPathFromIDListW() or SHGetSpecialFolderPathW() is missing\n");
win_skip("SHGetPathFromIDListW() or SHGetSpecialFolderPathW() is missing\n");
return;
}
......@@ -868,7 +868,16 @@ static void test_SHGetPathFromIDList(void)
result = pSHGetSpecialFolderPathW(NULL, wszDesktop, CSIDL_DESKTOP, FALSE);
ok(result, "SHGetSpecialFolderPathW(CSIDL_DESKTOP) failed! Last error: %u\n", GetLastError());
if (!result) return;
/* Check if we are on Win9x */
SetLastError(0xdeadbeef);
lstrcmpiW(wszDesktop, wszDesktop);
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("Most W-calls are not implemented\n");
return;
}
result = pSHGetPathFromIDListW(pidlEmpty, wszPath);
ok(result, "SHGetPathFromIDListW failed! Last error: %u\n", GetLastError());
if (!result) return;
......
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