[APITESTS] Improve and fix tests

This commit is contained in:
Timo Kreuzer 2019-12-09 17:16:02 +01:00
parent cd5cc017cb
commit 465745b683
45 changed files with 832 additions and 566 deletions

View file

@ -52,9 +52,9 @@ START_TEST(LoadImage)
hCopy = CopyImage(arg, IMAGE_CURSOR, 0, 0, LR_SHARED);
ok(hCopy != NULL, "\n");
ok(DestroyIcon(hCopy), "\n");
ok(DestroyIcon(hCopy), "DestroyIcon should succeed.\n");
/* This one is shared */
ok(DestroyIcon(hCopy), "\n");
ok(DestroyIcon(hCopy) == 0, "DestroyIcon should fail.\n");
/* Try various usual functions */
hdcScreen = CreateDCW(L"DISPLAY", NULL, NULL, NULL);