22 May
2010
22 May
'10
2:13 a.m.
Austin English <austinenglish(a)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. -- Dmitry.