kernel32: Trace the last error on failure.

This commit is contained in:
James Hawkins 2008-08-28 21:15:27 -05:00 committed by Alexandre Julliard
parent 806edcc496
commit 7d7d799284
1 changed files with 2 additions and 2 deletions

View File

@ -185,10 +185,10 @@ static void update_resources_version(void)
MAKEINTRESOURCE(0x4567),
0xabcd,
foo, sizeof foo );
ok( r == TRUE, "UpdateResource failed\n");
ok( r == TRUE, "UpdateResource failed: %d\n", GetLastError());
r = EndUpdateResource( res, FALSE );
ok( r, "EndUpdateResource failed\n");
ok( r, "EndUpdateResource failed: %d\n", GetLastError());
}