mapi32/tests: Don't run tests if ScInitMapiUtil() fails.
This commit is contained in:
parent
1e0b1e5487
commit
9a9c2ea268
|
@ -106,6 +106,12 @@ START_TEST(imalloc)
|
|||
FreeLibrary(hMapi32);
|
||||
return;
|
||||
}
|
||||
else if ((ret == E_FAIL) && (GetLastError() == ERROR_INVALID_HANDLE))
|
||||
{
|
||||
win_skip("ScInitMapiUtil doesn't work on some Win98 and WinME systems\n");
|
||||
FreeLibrary(hMapi32);
|
||||
return;
|
||||
}
|
||||
|
||||
test_IMalloc();
|
||||
|
||||
|
|
Loading…
Reference in New Issue