Austin English austinenglish@gmail.com wrote:
@@ -3096,6 +3096,7 @@ static void test_CreateFontIndirect(void) hfont = CreateFontIndirectA(&lf); ok(hfont != 0, "CreateFontIndirectA failed\n"); ret = GetObject(hfont, sizeof(getobj_lf), &getobj_lf);
ok(ret, "GetObject failed: %08x\n", GetLastError());
Printing last error without prior setting it to 0xdeadfeef won't really help. Also errors returned by GetLastError() are defined in decimal in winerror.h.