Author: jgardou
Date: Mon Oct 29 16:14:54 2012
New Revision: 57648
URL:
http://svn.reactos.org/svn/reactos?rev=57648&view=rev
Log:
[USER32_APITEST]
- More thorough test for what really happens after the "destruction" of a shared
cursor.
Modified:
trunk/rostests/apitests/user32/DestroyCursorIcon.c
Modified: trunk/rostests/apitests/user32/DestroyCursorIcon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/DestroyCu…
==============================================================================
--- trunk/rostests/apitests/user32/DestroyCursorIcon.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/DestroyCursorIcon.c [iso-8859-1] Mon Oct 29 16:14:54
2012
@@ -41,7 +41,11 @@
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);