From f40fbb64a63bbf7ea43a1129f02b0b3cafa5f822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Mon, 29 Oct 2012 16:14:54 +0000 Subject: [PATCH] [USER32_APITEST] - More thorough test for what really happens after the "destruction" of a shared cursor. svn path=/trunk/; revision=57648 --- rostests/apitests/user32/DestroyCursorIcon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rostests/apitests/user32/DestroyCursorIcon.c b/rostests/apitests/user32/DestroyCursorIcon.c index 3761c979000..38b2fef99e5 100644 --- a/rostests/apitests/user32/DestroyCursorIcon.c +++ b/rostests/apitests/user32/DestroyCursorIcon.c @@ -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);