kernel32: Trace the last error on failure.
This commit is contained in:
parent
806edcc496
commit
7d7d799284
|
@ -185,10 +185,10 @@ static void update_resources_version(void)
|
||||||
MAKEINTRESOURCE(0x4567),
|
MAKEINTRESOURCE(0x4567),
|
||||||
0xabcd,
|
0xabcd,
|
||||||
foo, sizeof foo );
|
foo, sizeof foo );
|
||||||
ok( r == TRUE, "UpdateResource failed\n");
|
ok( r == TRUE, "UpdateResource failed: %d\n", GetLastError());
|
||||||
|
|
||||||
r = EndUpdateResource( res, FALSE );
|
r = EndUpdateResource( res, FALSE );
|
||||||
ok( r, "EndUpdateResource failed\n");
|
ok( r, "EndUpdateResource failed: %d\n", GetLastError());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue