gdi32/tests: Don't crash on NT4.
This commit is contained in:
parent
97802ef16b
commit
3f4333d70c
|
@ -2076,9 +2076,11 @@ static void test_gdiis(void)
|
|||
pGdiIsMetaFileDC = (void*) GetProcAddress(hgdi32, "GdiIsMetaFileDC");
|
||||
pGdiIsPlayMetafileDC = (void*) GetProcAddress(hgdi32, "GdiIsPlayMetafileDC");
|
||||
|
||||
/* they should all exist or none should exist */
|
||||
if(!pGdiIsMetaPrintDC)
|
||||
if(!pGdiIsMetaPrintDC || !pGdiIsMetaFileDC || !pGdiIsPlayMetafileDC)
|
||||
{
|
||||
win_skip("Needed GdiIs* functions are not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* try with nothing */
|
||||
ok(!pGdiIsMetaPrintDC(NULL), "ismetaprint with NULL parameter\n");
|
||||
|
|
Loading…
Reference in New Issue