gdi32/tests: Don't test unimplemented functions.

This commit is contained in:
Paul Vriens 2008-07-31 19:13:07 +02:00 committed by Alexandre Julliard
parent 3089a9f27f
commit d1bcc32bf2
1 changed files with 6 additions and 0 deletions

View File

@ -2363,7 +2363,13 @@ static void test_GetTextFace(void)
/* 'W' case. */
memcpy(fW.lfFaceName, faceW, sizeof faceW);
SetLastError(0xdeadbeef);
f = CreateFontIndirectW(&fW);
if (!f && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("CreateFontIndirectW is not implemented\n");
return;
}
ok(f != NULL, "CreateFontIndirectW failed\n");
dc = GetDC(NULL);