[USER32_APITEST]

- More thorough test for what really happens after the "destruction" of a shared cursor.

svn path=/trunk/; revision=57648
This commit is contained in:
Jérôme Gardou 2012-10-29 16:14:54 +00:00
parent a74a3edcc7
commit f40fbb64a6

View file

@ -41,7 +41,11 @@ START_TEST(DestroyCursorIcon)
ok(DestroyCursor(hcursor), "\n");
/* In fact, it's still there */
ZeroMemory(&iconinfo, sizeof(iconinfo));
ok(GetIconInfo(hcursor, &iconinfo), "\n");
ok(iconinfo.hbmMask != NULL, "\n");
ok(iconinfo.hbmColor != NULL, "\n");
ok(!iconinfo.fIcon, "\n");
/* clean up */
DeleteObject(iconinfo.hbmMask);